How do I install an FTP server?

Installing an FTP server on CentOS 5.x

1) Login as the root user.
2) Install the FTP server software "yum install vsftpd"
3) Open the file /etc/vsftpd/vsftpd.conf with your prefered editor (i.e. nano -w /etc/vsftpd/vsftpd.conf).
4) Append to the end of the file on a new line "chroot_local_user=YES" (without the quotes).
5) To start the service run "service vsftpd start".
6) For the service to automaticaly start on reboot run "chkconfig vsftpd on".

To use the FTP server for existing accounts this is all that needs to be done.

Do the following to add an FTP only account (replacing <username> with your required username).

1) adduser -m -s /sbin/nologin <username>
2) passwd <username>

  • 2 Users Found This Useful
這篇文章有幫助嗎?

相關文章

How do I stop Cpanel reporting /usr/bin/crontab permissions are wrong. Please set to 4755.

If you get this message in CPanel when adding/ediiting/viewing the cron jobs ......

How do I force Statistics (Webalizer and AWstats) to run on Plesk Servers ?

Updating Webalizer and AWStats on Linux Plesk Servers from SSH The plesk control panel is...

How much is HELM ? What Helm licences do you offer ?

Web Host Automation (HELM Authors) sold the control panel rights and code some years ago to...

How much is CPanel ? What CPanel licences do you offer ?

We work with a CPANEL authorised NOC partner, able to offer you discounted CPanel licences for...

How much is Plesk ? What Plesk licences do you offer ?

We are a PLESK authorised sales partner, able to offer you discounted Plesk licences for both...

Powered by WHMCompleteSolution