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:vsftpd:index.html [2018/02/06 00:03] kurihara |
middleware:vsftpd:index.html [2019/02/11 00:47] (current) kurihara |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| [[: | [[: | ||
| - | ====== | + | ====== |
| $FHHOME/ | $FHHOME/ | ||
| Line 7: | Line 7: | ||
| \\ | \\ | ||
| - | ===== TFTP Operation ===== | + | ===== vsftpd |
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| $ fab -l |grep -F vsftpd. | $ fab -l |grep -F vsftpd. | ||
| Line 13: | Line 13: | ||
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| - | $ fab -H x.x.x.x | + | $ fab -H x.x.x.x |
| </ | </ | ||
| - | + | \\ | |
| - | ==== Ref. Remote Shell Commands | + | ==== Fabric Temporary Run Call Examples |
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| $ H=test-serve-01, | $ H=test-serve-01, | ||
| - | $ fab -H $H auth.pro | + | $ fab -H $H -- sudo diff / |
| - | $ fab -H $H auth.pro | + | $ fab -H $H -- sudo mv / |
| - | $ fab -H $H auth.pro | + | $ fab -H $H -- "ps aux |grep vsftpd" |
| - | $ fab -H $H auth.pro | + | $ fab -H $H -- "lsof -i |grep ftp" |
| - | $ fab -H $H auth.pro | + | $ fab -H $H -- sudo systemctl status vsftpd |
| + | $ fab -H $H -- sudo systemctl restart vsftpd | ||
| </ | </ | ||
| \\ | \\ | ||
| - | ===== tftp.py ===== | + | ===== vsftp.py ===== |
| - | $FHHOME/ | + | $FHHOME/ |
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| Line 42: | Line 43: | ||
| # | # | ||
| - | # Installing | + | # Installing |
| # | # | ||
| - | # squid.install_tftp | + | # vsftpd.install_rpm |
| @task | @task | ||
| def install_rpm(): | def install_rpm(): | ||
| ''' | ''' | ||
| + | sudo(" | ||
| sudo(" | sudo(" | ||
| Line 69: | Line 71: | ||
| \\ | \\ | ||
| - | ===== Configuration ===== | + | ===== vsftpd |
| - | *[[middleware: | + | *[[middleware: |
| + | *[[middleware: | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.