Script for Configuring FTP server - Printable Version +- Hackonology Forums (https://hackonology.com/forum) +-- Forum: Technology & Configuration (https://hackonology.com/forum/forumdisplay.php?fid=3) +--- Forum: System Configuration (https://hackonology.com/forum/forumdisplay.php?fid=4) +--- Thread: Script for Configuring FTP server (/showthread.php?tid=86) |
Script for Configuring FTP server - SysAdmin - 09-17-2020 !#/bin/bash yum install -y vsftp mkdir /var/ftp/pub/123 firewall-cmd --permanent --add-services=ftp firewall-cmd --reload systemctl restart vsftpd systemctl enable vsftpd #vim /etc/vsftpd/vsftpd.conf yum install lftpd #Then go to your browser and type #ftp://<servername> #To access Ftp on client side in cmd #yum install ftp -y #ftp server10.example.com #username: Client's username #passwd : user passwd #cd /var/ftp/pub/abc/ #get a.txt or mget b.txt #put /home/student/bhaskar.txt /var/ftp/pub/abc |