Created
February 28, 2013 12:16
-
-
Save theamith/5056338 to your computer and use it in GitHub Desktop.
Install LAMP in ubuntu
This file contains 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
1. sudo apt-get install tasksel | |
2. sudo tasksel | |
3. Select LAMP Server and Click OK. | |
4. Enter mysql root password (say admin) | |
5. sudo vi /var/www/info.php --> Open info.php in vi editor | |
6. Add the following content to info.php file and save and exit: | |
<?php | |
phpinfo(); | |
?> | |
7. sudo /etc/init.d/apache2 restart --> restart Apache | |
8. Open http://ip/info.php or http://localhost/info.php in browser. | |
9. sudo apt-get install phpmyadmin --> to install php myadmin. | |
10. Open http://ip/phpmyadmin or http://localhost/phpmyadmin | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment