- Joined
- Jul 8, 2016
- Messages
- 48
- Points
- 8
To be able to use the common FTP programs on a CentOS server, you need to install additional programs vsftp. Vs here means "very secure"
Install vsfptd
Run the following command
Also we need to install the FTP client
Once downloaded and installed, you can use it immediately. However, it should be configured to add a little more security for VPS.
Configuring vsftpd
Open the configuration file:
Transfer from Yes to No Anonymous_enable
Skip local_enable line comment, go to Yes and allow write
Skip chroot_local_user comment line and converted into Yes to user can not access other server folders
Save and exit.
Restart vsftpd
To ensure system VSFTPD startup, run the following command
Connect FTP Server
You can connect to the server using vsftpd path ftp://yorudomain.com or your FTP client.
If you have any other faster ways to use vsftpd on CentOS, please share below!
Install vsfptd
Run the following command
Code:
sudo yum install vsftpd
Code:
sudo yum install ftp
Configuring vsftpd
Open the configuration file:
Code:
sudo nano /etc/vsftpd/vsftpd.conf
Code:
anonymous_enable = NO
Code:
local_enable = YES
Code:
chroot_local_user = YES
Restart vsftpd
Code:
sudo service vsftpd restart
Code:
chkconfig vsftpd on
You can connect to the server using vsftpd path ftp://yorudomain.com or your FTP client.
If you have any other faster ways to use vsftpd on CentOS, please share below!