FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
middleware:httpd:index.html [2017/12/30 00:08] kurihara |
middleware:httpd:index.html [2019/02/11 00:45] (current) kurihara |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ====== Apache httpd (httpd.py) ====== | ====== Apache httpd (httpd.py) ====== | ||
| - | \\ | + | $FHHOME/ |
| {{INLINETOC}} | {{INLINETOC}} | ||
| \\ | \\ | ||
| - | ===== Operation ===== | + | ===== Apache httpd Operation ===== |
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| $ fab -l |grep httpd | $ fab -l |grep httpd | ||
| + | </ | ||
| - | $ fab -H $H auth.pro | + | <sxh bash toolbar: |
| + | $ fab -H $H | ||
| </ | </ | ||
| + | |||
| + | \\ | ||
| + | ==== Fabric Temporary Run Call Examples ==== | ||
| + | <sxh bash toolbar: | ||
| + | $ H=test-server-1, | ||
| + | |||
| + | $ fab -H $H -- "ps aux |grep apahce" | ||
| + | |||
| + | $ fab -H $H -- tree -Dpuga | ||
| + | $ fab -H $H -- tree -Dpuga | ||
| + | </ | ||
| + | |||
| + | |||
| Line 29: | Line 45: | ||
| # Installing Apache httpd | # Installing Apache httpd | ||
| # | # | ||
| - | #yum | + | # httpd.install_yum |
| @task | @task | ||
| def install_yum(): | def install_yum(): | ||
| sudo(" | sudo(" | ||
| + | |||
| + | # httpd.install_apt | ||
| + | @task | ||
| + | def install_apt(): | ||
| + | sudo(" | ||
| + | |||
| Line 51: | Line 73: | ||
| ''' | ''' | ||
| run(" | run(" | ||
| + | |||
| + | # | ||
| + | # Check Configuration | ||
| + | # | ||
| + | # | ||
| + | @task | ||
| + | def check_configuration_pkg(): | ||
| + | ''' | ||
| + | run(" | ||
| Line 72: | Line 103: | ||
| # | # | ||
| @task | @task | ||
| - | def check_server-satus(): | + | def check_server_satus(): |
| ''' | ''' | ||
| run(" | run(" | ||
| Line 90: | Line 121: | ||
| \\ | \\ | ||
| - | ===== Configuration ===== | + | ===== Apache httpd Configuration |
| + | *[[middleware: | ||
| + | *[[middleware: | ||
| *[[middleware: | *[[middleware: | ||
| + | *[[middleware: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| <WRAP box 90%> | <WRAP box 90%> | ||
| - | < | + | <catlist .: -noAddPageButton -smallHead -sortAscending> |
| </ | </ | ||
| \\ | \\ | ||
| [[: | [[: | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.