1. Install Apache2

sudo apt-get install apache2
Install Apache Modules

sudo apt-get install libapache2-mod-auth-mysql
Apache 2 configuration of clean URLs on Debian
a2enmod rewrite

2. Install Php5
sudo apt-get install php5-common php5 libapache2-mod-php5
sudo apt-get install php5-cgi
sudo apt-get install php5-mysql
Install GD surport php5-gd

sudo apt-get install php5-gd

Restart Apache
sudo /etc/init.d/apache2 restart
3. Install MySQL
sudo apt-get install mysql-server mysql-client

Restart MySQL

sudo /etc/init.d/mysql restart
Configuration MySQL

You can edit the /etc/mysql/my.cnf file to configure the basic settings — log file, port number, etc. Refer to /etc/mysql/my.cnf file for more details.
To create a symbolic link

ln -s /path/to/real/file /path/to/non-existant/file
Install SSH Server

sudo apt-get install ssh

출처:http://www.thanhsiang.org/faqing/node/51

'OldStory > 리눅스' 카테고리의 다른 글

Hot to Install LAMP on Ubuntu  (0) 2009.02.19
Chnage maximum file size in PHP  (0) 2009.02.18
runlevel  (0) 2009.02.13
홈페이지 등록  (0) 2009.02.10
Ubuntu linux server 설치 방법  (0) 2009.02.09
다이나믹 DNS란?  (0) 2009.02.06
by Alnilam 2009.02.19 10:26
| 1 |

티스토리 툴바