변군이글루

[Apache] apache(httpd-2.2.12) 설치 본문

및___APM

[Apache] apache(httpd-2.2.12) 설치

변군 변군이글루 2013.09.03 00:54

apache(httpd-2.2.12) 설치

 

ver : httpd-2.2.12

 

# useradd -c "Apache" -u 48 -s /sbin/nologin -m -d /home/www apache

 

# ./configure --prefix=/usr/local/apache2 --enable-so --enable-shared=max --enable-rewrite --enable-ssl --enable-proxy

 

# make

 

# make install

 

# cp -p /usr/local/apache2/bin/apachectl /etc/init.d/httpd

 

# vi /etc/init.d/httpd

-----------------------------------------------------------------------

아래 두 라인 추가

# chkconfig: 2345 80 30

# description: HTTPD

-----------------------------------------------------------------------

 

# chkconfig --add httpd

 

# chkconfig --level 345 httpd on

 

# chkconfig --list | grep httpd

 

# /usr/local/apache2/bin/apachectl start

 

# ps -ef | grep httpd

 

 

 

 

1 Comments
댓글쓰기 폼