FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


middleware:squid: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:squid:index.html [2018/02/21 23:51]
kurihara
middleware:squid:index.html [2019/02/11 00:46] (current)
kurihara
Line 13: Line 13:
  
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
-$ fab  -H x.x.x.x auth.pro  squid.yum_install+$ fab  -H x.x.x.x   squid.yum_install
 </sxh> </sxh>
  
Line 21: Line 21:
 $ H=test-serve-01,test-server-02 $ H=test-serve-01,test-server-02
  
-$ fab -H $H auth.pro -- sudo diff /etc/squid/squid.conf /etc/squid/squid.conf.20171205 +$ fab -H $H  -- sudo diff /etc/squid/squid.conf /etc/squid/squid.conf.20171205 
-$ fab -H $H auth.pro -- sudo mv /etc/squid/squid.conf.20171205 /etc/squid/squid.conf+$ fab -H $H  -- sudo mv /etc/squid/squid.conf.20171205 /etc/squid/squid.conf
  
-$ fab -H $H auth.pro -- "ps aux |grep suqid" +$ fab -H $H  -- "ps aux |grep suqid" 
-$ fab -H $H auth.pro -- sudo systemctl status squid +$ fab -H $H  -- sudo systemctl status squid 
-$ fab -H $H auth.pro -- sudo systemctl restart squid+$ fab -H $H  -- sudo systemctl restart squid
 </sxh> </sxh>
  


middleware/squid/index.html.1519224671.txt.gz · Last modified: 2018/02/21 23:51 by kurihara