コンパイルインストールapache V 2を削除する.2.31

1187 ワード

        apache  V2.2.31

1.    

# /usr/local/apache2/bin/apachectl  -v
Server version: Apache/2.2.31 (Unix)
Server built:   May 23 2016 13:06:48

2.        apache

# ps -ef | grep httpd
root     11781     1  0 18:08 ?        00:00:00 /usr/local/apache2/bin/httpd -k start
daemon   11782 11781  0 18:08 ?        00:00:00 /usr/local/apache2/bin/httpd -k start
daemon   11783 11781  0 18:08 ?        00:00:00 /usr/local/apache2/bin/httpd -k start
daemon   11784 11781  0 18:08 ?        00:00:00 /usr/local/apache2/bin/httpd -k start
daemon   11785 11781  0 18:08 ?        00:00:00 /usr/local/apache2/bin/httpd -k start
daemon   11867 11781  0 18:08 ?        00:00:00 /usr/local/apache2/bin/httpd -k start

3.  apache  

# /usr/local/apache2/bin/apachectl  stop

         

#pkill  httpd 

4.          apache    ,   httpd apache2       

# find / -name httpd
/var/log/httpd
/usr/local/apache2/bin/httpd
/usr/lib64/httpd
/etc/httpd
/etc/rc.d/init.d/httpd

#cd /var/log/
#rm -rf httpd
#cd /usr/local/
# rm -rf apache2/
# cd /etc/
# rm -rf httpd/
# cd /etc/rc.d/init.d/
# rm -rf httpd 
# cd  /usr/lib64/   
# rm -rf httpd/

    find,    httpd      

#find / -name httpd