리눅스 apm 설치
*설치
1) apache2 설치
$ sudo apt-get install apache2
$ sudo apt-get install libapache2-mod-auth-mysql
$ sudo apt-get install mysql-server mysql-client
3) php 설치
$ sudo apt-get install php5-common php5 libapache2-mod-php5
$ sudo apt-get install php5-mysql
4) apache 재시작
$ sudo /etc/init.d/apache2 restart
* 구동확인
$ sudo netstat -tap | grep mysql
* Apache 설정 파일 위치
/etc/apache2/apache2.conf
* Apache 구동관련 명령
$ sudo /etc/init.d/apache2 start
'프로그래밍 > 우분투' 카테고리의 다른 글
터미널에서 삭제가 안될때. (0) | 2013.10.14 |
---|---|
Could not reliably determine the server's fully qualified domain name (우분투에서 apache설치중 오류) (0) | 2013.06.08 |
dev에서 root 유저로 바꾸기 및 ssh 외부접속. (0) | 2013.06.06 |