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
Next revision
Previous revision
middleware:squid:index.html [2018/01/10 23:59]
kurihara [squid.py]
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>
  
 +\\
 +==== Fabric Temporary Run Call Examples ====
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
 $ 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>
  
Line 74: Line 76:
  
 \\ \\
-===== Configuration =====+===== Squid Configuration Examples===== 
 +  *[[middleware:squid:squid.conf_default.html]]
   *[[middleware:squid:squid.conf.html]]   *[[middleware:squid:squid.conf.html]]
  


middleware/squid/index.html.1515596396.txt.gz · Last modified: 2018/01/10 23:59 by kurihara