Created
March 4, 2019 19:00
-
-
Save tbotalla/3b2eff33014e730a652f2261fe687624 to your computer and use it in GitHub Desktop.
Revisions
-
tbotalla created this gist
Mar 4, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ yum install vsftpd ftp -y vi /etc/vsftpd/vsftpd.conf [...] ## Disable anonymous login ## anonymous_enable=NO ## Uncomment ## ascii_upload_enable=YES ascii_download_enable=YES ## Uncomment - Enter your Welcome message - This is optional ## ftpd_banner=Welcome to MISERVIDOR FTP service. ## Add at the end of this file ## use_localtime=YES [...] systemctl enable vsftpd # O bien service vsftpd start systemctl start vsftpd # Si falla verificar si hay otro servidor ftp corriendo: chkconfig --list | grep ftp # Si hay otro, como por ejemplo proftpd pararlo con service proftpd stop y volver a iniciar el vsftpd # Por default no deja conectarse por ftp con usuario root, crear un usuario especifico para esto useradd ftp_user passwd ftp_user