Upgrade PHP from 7.2 to 7.4 (only for Ubuntu 18.04, Ubuntu 20.04 already installs PHP 7.4 by default).Remove test database and access to it? Press Y.Press Y key for the following when prompted:.You can do this, but suggest to skip as it may cause issues with other software installs. You will be asked to setup validation password.Secure MySQL installation with the following command.Verify you can see the Apache2 Ubuntu Default Page by going to.Allow Ports for Apache2 on the Firewall with these commands.Save the file and load it in your browser by going to You should see the PHP Version at the top showing PHP Version 7.2.24.Test PHP with phpinfo() by creating an index.php file at /var/www/html.You should be logged into the MySQL command line interface. Test MySQL by typing following command.Test Apache2 by going to You should see the Apache2 Ubuntu Default Page.Once the installation is finished let’s verify the necessary software was installed.Run the following command to install all the software needed for a LAMP server (Linux, Apache2, MySQL, PHP).Run the following command to install tasksel (tool to install group software packages).Select Keep Local changes option on the screen prompt. Run following commands to update and upgrade apt-get.Open Firewall Port in the Lightsail Dashboard for HTTPS.Create a Lightsail Instance with OS Only (Ubuntu 18.04).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |