OS/LINUX

[Ubuntu]Apache2 설치하기

J모해 2012. 10. 1. 11:40
반응형

우분투에서 Apache를 설치해보자.

#sudo apt-get install apache2



환경설정파일 (httpd.conf)

#vi /etc/apache2/httpd.conf

로그 저장 경로

# cd /var/log/apache2/

아파치 시작/중지/재시작

#/etc/init.d/apache2 start

#/etc/init.d/apache2 stop

#/etc/init.d/apache2 restart

반응형