For installing Woocommerce, first we will learn how to install WordPress in cpanel accounts, then we will install Woocommerce. Follow the below steps:
Step 1 : Download the wordpress package from here.
Step 2 : Login to cpanel and go to File Manager and go to directory where you want to install wordpress and upload the setup there.
For e.g: If you want to access wordpress by http://domain_name/wp, then put the setup in wp directory and if you want to access by http://domain_name, then simply put the setup in public_html directory.
Here we will setup according to the latter example.
Step 3 : Extract the setup, and move all the files and directories from “wordpress” directory to “public_html” directory.
Step 4: Create Database and Database user in cpanel, using below step.
i) In Cpanel select option “Mysql Databases”
ii) In Section “Create New Database”, create the database.
iii) Scroll down and create DB-User in section “Add New User”, save the password somewhere as we are going to need while configuring wordpress.
iv) Give all the Privileges to the created user over the created database in section. “Add User to Database”.
Step 5 : Now open browser and access http://domain_name /wp-admin to configure wordpress. Click continue, then you will ask to enter the database credentials which you have created by following Step 4, the click on Submit.
Step 6 : Click on “Run the installation”. Here it will ask for the details. Fill it accordingly and save the details somewhere, as it will be used to access the wp-admin panel. Once the details are filled, then click on “Install WordPress”.
Once it is successfully installed you will see below page, then click on “Log In” to login to wp-admin. Enter the user and its password which you have entered above to access Admin Panel.
WordPress installation is complete, now we will see how to install “Woocommerce” in WordPress. Steps are below:
Step 1 : Login to “Wordpress Admin” of your domain using URL http://domain_name/wp-admin
Step 2 : Select “Plugin” and then click on “Add New”
Step 3 : Search for WooCommerce plugin and click on install.
Step 4 : Once installed “Activate” the Plug-in. It will redirect you to the Woocommerce set-up page. Enter the details as per your requirement and click “Let’s Go”
That’s it, installation of Woocommerce is done.