FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


middleware:nginx:index.html



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
middleware:nginx:index.html [2018/03/14 00:33]
kurihara
middleware:nginx:index.html [2019/02/11 00:45] (current)
kurihara
Line 16: Line 16:
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
 $ H=test-server-1,test-server-2 $ H=test-server-1,test-server-2
-$ fab  -H $H auth.pro  nginx.install_yum+$ fab  -H $H   nginx.install_yum
 </sxh> </sxh>
  
Line 24: Line 24:
 $ H=test-server-1,test-server-2 $ H=test-server-1,test-server-2
  
-$ fab  -H $H auth.pro  -- sudo systemctl status nginx +$ fab  -H $H   -- sudo systemctl status nginx 
-$ fab  -H $H auth.pro  -- sudo systemctl restart nginx+$ fab  -H $H   -- sudo systemctl restart nginx
  
-$ fab  -H $H auth.pro  -- "nginx -t" +$ fab  -H $H   -- "nginx -t" 
-$ fab  -H $H auth.pro  -- "nginx -t -c /etc/nginx/nginx.conf"+$ fab  -H $H   -- "nginx -t -c /etc/nginx/nginx.conf"
  
-$ fab  -H $H auth.pro  -- "ps aux |grep nginx" +$ fab  -H $H   -- "ps aux |grep nginx" 
-$ fab  -H $H auth.pro  -- "netstat -an |grep 80"+$ fab  -H $H   -- "netstat -an |grep 80"
 </sxh> </sxh>
  


middleware/nginx/index.html.txt · Last modified: 2019/02/11 00:45 by kurihara