FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


middleware:vsftpd:index.html



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
middleware:vsftpd:index.html [2018/02/05 23:36]
kurihara created
middleware:vsftpd:index.html [2019/02/11 00:47] (current)
kurihara
Line 1: Line 1:
 [[:index.html#Middleware Management|Top#Middleware Management]] [[:index.html#Middleware Management|Top#Middleware Management]]
-====== VSFTPD (vsftpd.py) ======+====== vsftpd (vsftpd.py) ======
  
 $FHHOME/fabfile/vsftpd.py $FHHOME/fabfile/vsftpd.py
Line 7: Line 7:
 \\ \\
  
-===== TFTP Operation =====+===== vsftpd Operation =====
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
 $ fab -l |grep -F vsftpd. $ fab -l |grep -F vsftpd.
Line 13: Line 13:
  
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
-$ fab  -H x.x.x.x auth.pro  vsftpd.xxxxx+$ fab  -H x.x.x.x   vsftpd.xxxxx
 </sxh> </sxh>
  
- +\\ 
-==== Ref. Remote Shell Commands ====+==== 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/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf.20171205 
-$ fab -H $H auth.pro -- sudo mv /etc/squid/squid.conf.20171205 /etc/squid/squid.conf+$ fab -H $H  -- sudo mv /etc/vsftpd/vsftpd.conf.20171205 /etc/vsftpd/vsftpd.conf
  
-$ fab -H $H auth.pro -- "ps aux |grep suqid+$ fab -H $H  -- "ps aux |grep vsftpd
-$ fab -H $H auth.pro -- sudo systemctl status squid +$ fab -H $H  -- "lsof -i |grep ftp" 
-$ fab -H $H auth.pro -- sudo systemctl restart squid+$ fab -H $H  -- sudo systemctl status vsftpd 
 +$ fab -H $H  -- sudo systemctl restart vsftpd
 </sxh> </sxh>
  
  
 \\ \\
-===== tftp.py ===== +===== vsftp.py ===== 
-$FHHOME/fabfile/tftp.py+$FHHOME/fabfile/vsftp.py
  
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
Line 42: Line 43:
  
 #---------------------------------------------------------------------- #----------------------------------------------------------------------
-# Installing TFTP+# Installing vsftpd
 #---------------------------------------------------------------------- #----------------------------------------------------------------------
-squid.install_tftp+vsftpd.install_rpm
 @task @task
 def install_rpm(): def install_rpm():
     '''yum install vsftpd '''     '''yum install vsftpd '''
 +    sudo("rpm -q ftp            > /dev/null 2>&1 || yum -y install ftp")
     sudo("rpm -q vsftpd         > /dev/null 2>&1 || yum -y install vsftpd")     sudo("rpm -q vsftpd         > /dev/null 2>&1 || yum -y install vsftpd")
  
Line 69: Line 71:
  
 \\ \\
-===== Configuration ===== +===== vsftpd Configuration Examples===== 
-  *[[middleware:squid:squid.conf_default.html]] +  *[[middleware:vsftpd:conf001.html]] 
-  *[[middleware:squid:squid.conf.html]]+  *[[middleware:vsftpd:conf101.html]] 
  
  


middleware/vsftpd/index.html.1517841361.txt.gz · Last modified: 2018/02/05 23:36 by kurihara