Next, you will be asked to change the root password, but since we already created it during the MySQL installation, we can skip this step by pressing Enter.Īfter this, you will get asked a couple of more questions and it is recommended that you answer ‘yes’ to all of them: Remove anonymous users? (Press y|Y for Yes, any other key for No) :ĭisallow root login remotely? (Press y|Y for Yes, any other key for No) : Please enter 0 = LOW, 1 = MEDIUM and 2 = STRONG: STRONG Length >= 8, numeric, mixed case, special characters and dictionary file MEDIUM Length >= 8, numeric, mixed case, and special characters If you choose ‘yes’, you will be asked to choose the level of the password validation policy: There are three levels of password validation policy: Whether to enable this or not is entirely up to you, but it’s always recommended to use strong passwords. This plugin checks the strength of a password and allows the users to set only passwords which are secure enough. Would you like to setup VALIDATE PASSWORD plugin?(Press y|Y for Yes, any other key for No) : Secure MySQL InstallationĪfter the installation is complete, in order to improve the security of your MySQL server, we recommend to do the MySQL secure installation by typing the following command: mysql_secure_installationįirst, you will be asked about setting up the validate password plugin. To install MySQL on your system, type the following command and enter Y to continue: apt-get install mysql-serverĭuring the installation, you will be asked to enter a password for the MySQL root user. MySQL is one of the most popular database management systems. Next, we will install MySQL on your server. ![]() If Apache is successfully installed you should see a message saying “It works!”. To verify that Apache is running, open your web browser and enter your server IP address, (e.g. You can do that with the following command: systemctl enable apache2 ![]() To install Apache on your |Ubuntu 16.04 server, run the following command: apt-get install apache2Īfter the installation is complete, you should enable Apache to start automatically upon system boot. It is fast, secure, reliable and can be easily customized depending on your needs. Apache is considered as the most widely used web server software. We will start with installing the Apache web server. Update your systemīefore we start, let’s make sure your system is up-to-date by running the following command: apt-get update & apt-get upgradeĪlways keep your system updated.
0 Comments
Leave a Reply. |