http://howtoubuntu.org/how-to-install-lamp-on-ubuntu
sudo apt-get install apache2
sudo apt-get install mysql-server
sudo apt-get install php5 libapache2-mod-php5
sudo /etc/init.d/apache2 restart
Open a web browser and navigate to http://localhost/. You should see a message saying It works!
php -r 'echo "\n\nYour PHP installation is working fine.\n\n\n";'
http://ubuntuserverguide.com/2014/06/how-to-install-lamp-in-ubuntu-server-14-04-lts.html
sudo apt-get update;
sudo apt-get install apache2;
sudo apt-get install libapache2-mod-auth-mysql
sudo apt-get install mysql-server mysql-client
sudo apt-get install php5-common php5 libapache2-mod-php5
sudo apt-get install php5-mysql
sudo /etc/init.d/apache2 restart
sudo /etc/init.d/mysql restart
(sudo reboot)
sudo gedit /var/www/phpinfo.php
sudo nano /var/www/phpinfo.php
<?php
phpinfo();
?>
firefox
http://localhost/phpinfo.php
확인
mysql -uroot -p
'연구하는 인생 > ♣COMPUTER' 카테고리의 다른 글
How To Manage Packages In Ubuntu and Debian With Apt-Get & Apt-Cache (0) | 2015.04.13 |
---|---|
How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 14.04 (0) | 2015.04.13 |
리눅스 명령어 (0) | 2015.04.12 |
LENOVO THINKPAD E320 (0) | 2015.03.15 |
WIFI 연결에 인증서를 요구할 경우 (0) | 2015.03.14 |