![]() ![]() To run a security script that removes some dangerous default settings and restricts access to the database system, type the following command:Īfter you type the command, the following message is displayed:Įnter the root password for the MySQL database that you have set. To exit MySQL, enter the following command: Mysql> ALTER USER IDENTIFIED WITH mysql_native_password by 'MY_NEW_PASSWORD' To do this, type the following command:Įnter the following command and replace the placeholder MY_NEW_PASSWORD with the password you want. To install MySQL, enter the following command:Īfter entering the command, the following message is displayed: Need to get 28.6 MB of archives.Īfter this operation, 240 MB of additional disk space will be used. If you are presented with a test page, the installation of Apache was successful. ![]() ![]() To verify that Apache was successfully installed and started, type the public IP address of your server in the following format in your web browser: Libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.3-0 mailcap mime-supportĠ upgraded, 13 newly installed, 0 to remove and 0 not upgraded.Īfter this operation, 8,486 kB of additional disk space will be used. The following message will be displayed during the installation: The following NEW packages will be installed:Īpache2 apache2-bin apache2-data apache2-utils bzip2 libapr1 libaprutil1 To install Apache, enter the following apt install apache2 To check if an update is available, enter the following apt apt upgrade
0 Comments
Leave a Reply. |