Created
April 11, 2017 06:56
-
-
Save AlamShariful/47b7daaa37641a8fd936beab825aff6e to your computer and use it in GitHub Desktop.
Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Step 1: Install Apache | |
| sudo apt-get update | |
| sudo apt-get install apache2 | |
| Step 2: Install MySQL | |
| sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql | |
| During the installation, MySQL will ask you to set a root password. If you miss the chance to set the password while the program is installing, it is very easy to set the password later from within the MySQL shell. | |
| Step 3: Install PHP | |
| sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt | |
| Step 4: Restart | |
| sudo service apache2 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment