If MySql has been installed successfully, you should be prompted for a password. Type the following command : mysql -u root -p Step 5 : Checking Successful Installation of MySql The latest available version of MySql (5.7 as of Jan, 2017) will be installed. You will also be asked for a confirmation of the password. When highlighted the Ok button will turn red. Type in a strong password and press the arrow-down button to highlight the Ok button. The default password of the root account is blank, and instead of changing it later on, better do it now. You will also be asked to enter the desired password of the MySql root account. Install MySql through the following command. You should see a page like this : Step 4 : Installing MySql You can check whether Apache has been installed by typing in the IP address of your server (or if you're doing it on a local server). Step 3 : Checking Successful Installation of Apache Note that it will install the latest available version of Apache (2.4 as of Jan, 2017). Install Apache through the following command : sudo apt-get install apache2 sudo apt-get update Step 2 : Installing Apache Update the package list on your system so that you can have the latest available versions of Apache, PHP, MySql and phpMyAdmin. In fact you can have a fully functional LAMP stack by executing only 10-12 command line operations !įollow the steps given below, one by one. But installing Apache, PHP, MySql & phpMyAdmin is not difficult, as long as you stick with the process. Installing applications and working with the Linux command line are not the easiest of things. However the initial setup is quite a pain. You can enable Apache & PHP modules as per your wish, and also use many useful Linux utilities in your PHP code. Having your own VPS or a Dedicated Server offers a lot of freedom as compared to a Shared Hosting plan. Installing latest versions of Apache, MySql, PHP & phpMyAdmin on Ubuntu 16.04 (over an AWS EC2 Instance).Installing latest versions of Apache, MySql, PHP & phpMyAdmin on Ubuntu 16.04.
0 Comments
Leave a Reply. |