Nginx 학습 - 환경 구축

901 단어 nginx
    :              gcc、openssl-devel、pcre-devel、zlib-devel  


   :cd nginx      ”./configure“、”make“、”make install“  
   :nginx  、  、  

 、    


cd usr/local/nginx/sbin
./nginx
 、  

        nginx  

kill -HUP             
    
cd /usr/local/nginx/sbin
./nginx -s reload
               

nginx -t -c /usr/local/nginx/conf/nginx.conf
  
cd  /usr/local/nginx/sbin
./nginx -t
 、  

    nginx    

  ps -ef | grep nginx

         kill -QUIT     

         kill -TERM     

         kill -9 nginx

   nginx.conf   pid    ,    ,  logs   

  kill -     '/usr/local/nginx/logs/nginx.pid'

 、  

  1、            

  2、kill -USR2                 

        nginx               .oldbin,      nginx,          

  3、kill -WINCH        

  4、        /     

    kill -HUP  /       

         /   

    kill -QUIT  /    

         /   

    kill -TERM  /    

좋은 웹페이지 즐겨찾기