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:
Looking for the right web hosting solution for your website can be an intimidating task. Options nowadays are more diversified than ever, and each year brings new developments in the web hosting market. If you have no clue of what to look out for, you can find yourself overwhelmed with...
Content marketing continues to be one of the most valuable tools for today’s online businesses. With content, you can improve your chances of reaching your target audience, boost your search engine standing, and even unlock new opportunities for sales. The more content you produce, the more you can strengthen your...
User Experience (UX) is one of the most crucial factors to consider in web design. As the number of websites and applications in the world today continues to accelerate, businesses are under more pressure than ever to impress customers straight away. If a user visits your website and finds slow-loading...