Once all of them are installed, you can proceed to install MySQL server.
Install and Configure MySQL
LiteCart store it's data in MySQL. So you will need to install MySQL on your server. You can install it by running the following command:
sudo apt-get install mysql-server mysql-client -y
Once MySQL is installed, start mysql service and enable it to start on boot time with the following command:
sudo systemctl start mysqlsudo systemctl enable mysql
By default, MySQL installation is not secured, so you will need to secure it first. Next, you will also need to secure your MySQL installation. You can do this by running mysql_secure_installation script:
Answer all the questions as shown below:
Set root password? [Y/n] n
Remove anonymous users? [Y/n] y
Disallow root login remotely? [Y/n] y
Remove test database and access to it? [Y/n] y
Reload privilege tables now? [Y/n] y
Once MySQL is secured, log in to the MySQL shell and create a database for LiteCart:
mysql -u root -p
Enter your root password when prompt, then create a database for LiteCart. It is recommended to set secure password:
Here, provide all the information like, database name, database username, password, store name, admin username and password, then click on the Next button, you should see the following installation completed message:
If you find your cPanel disk space filling up, or an email address has hit its disk space quota, cPanel has a helpful built in Email Disk Usage tool. This will provide you with a simple to understand breakdown of how much disk space each folder for a particular email...
Although WHM will normally automatically keep itself up to date, you may want to manually check for server updates / push through an update that is pending, or it may be that you have automatic updates switched off on your cPanel server. In this guide we will show you how...
You may sometimes need to manually adjust the PHP settings on your cPanel server – for example if a site is hitting the PHP memory, or file size upload limit. WHM allows you to quickly change the settings of any PHP version installed on the server when needed, using the...