FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


middleware:httpd: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
Next revision Both sides next revision
middleware:httpd:index.html [2017/12/30 02:09]
kurihara [Configuration]
middleware:httpd:index.html [2018/03/10 01:06]
kurihara [Apache httpd Configuration Examples]
Line 3: Line 3:
 ====== Apache httpd (httpd.py) ====== ====== Apache httpd (httpd.py) ======
  
-\\+$FHHOME/fabfile/httpd.py 
 {{INLINETOC}} {{INLINETOC}}
 \\ \\
  
  
-===== Operation =====+===== Apache httpd Operation =====
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
 $ fab -l |grep httpd $ fab -l |grep httpd
 +</sxh>
  
 +<sxh bash toolbar:false gutter:false>
 $ fab  -H $H auth.pro  httpd.install_yum $ fab  -H $H auth.pro  httpd.install_yum
 </sxh> </sxh>
 +
 +\\
 +==== Fabric Temporary Run Call Examples ====
 +<sxh bash toolbar:false gutter:false>
 +$ H=test-server-1,test-server-2
 +
 +$ fab  -H $H auth.pro  -- "ps aux |grep apahce"
 +
 +$ fab  -H $H auth.pro  -- tree -Dpuga  /etc/httpd
 +$ fab  -H $H auth.pro  -- tree -Dpuga  /etc/apache2
 +</sxh>
 +
 +
  
  
Line 78: Line 94:
 #---------------------------------------------------------------------- #----------------------------------------------------------------------
 @task @task
-def check_server-satus():+def check_server_satus():
     '''curl http://localhost/server-status?auto'''     '''curl http://localhost/server-status?auto'''
     run("curl  http://localhost/server-status?auto")     run("curl  http://localhost/server-status?auto")
Line 96: Line 112:
  
 \\ \\
-===== Configuration =====+===== Apache httpd Configuration Examples===== 
 +  *[[middleware:httpd:conf001.html]] 
 +  *[[middleware:httpd:conf002.html]] 
   *[[middleware:httpd:centos_httpd2.4.html]]   *[[middleware:httpd:centos_httpd2.4.html]]
   *[[middleware:httpd:ubuntu_httpd2.4.html]]   *[[middleware:httpd:ubuntu_httpd2.4.html]]
Line 103: Line 122:
 \\ \\
 <WRAP box 90%> <WRAP box 90%>
-<catlist ..: -noAddPageButton -smallHead -sortAscending>+<catlist .: -noAddPageButton -smallHead -sortAscending>
 </WRAP> </WRAP>
 \\ \\
 [[:index.html#Middleware Management|Top#Middleware Management]] [[:index.html#Middleware Management|Top#Middleware Management]]


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