Question : centOS VPS setup - FTP access?

I have recently obtained an unmanaged VPS service running Linux CentOS 5. I have much to learn and much to do, and I'm hoping you'll be able to point me in the right direction. I currently have successfully: 1. Pointed a domain name to my server, 2. Installed and started Apache, PHP and MySQL.

Now, I would like to upload my scripts to the server. I am currently unable to connect by ftp and I assume this means that I need to start and install an FTP service. Can you suggest an appropriate service to install and give some brief instructions as to setting up directory and user access and/or point me to appropriate documentation?

I am comfortable with the command line, but far from an expert.

Answer : centOS VPS setup - FTP access?

I recommend to use Proftpd. The procedure is well explained here:
http://www.debian-administration.org/article/Setting_up_an_FTP_server_on_Debian

For cross-reference, use these two sites:
http://www.debianadmin.com/proftpd-server-installation-and-configuration.html
http://www.debianhelp.co.uk/proftp.htm

(If you cannot find the configuration file in /etc/proftpd.conf, it will be in /etc/proftpd/proftpd.conf)
Please make sure it contains the following lines:

.....
DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."
.....

This will jail users to their /home/username directory, as it is usually done when giving users shell access on a *NIX system. If you wish to restrict this to their /www directory, try this line:

DefaultRoot ~/www

By default, anonymous access is switched off.
Random Solutions  
 
programming4us programming4us