[en] [fr]

[HowTo] 1.6 | Install an FTP server

By Shinji

We'll install proFTP.

#apt-get install proftpd

Then the installer may demand you if you want the inetd or standalone mod. It depends of your use. Personally I choose the inetd mod, cause the ftp won't be often used (just to upload my sites) but if, for example, you want to host a ftp-based download site, you should choose the standalone mod.

Your ftp server is running properly now. But we can have a look to the conf files.

/etc/ftpusers contains a list of the users disallowed ftp access. Add our user “roots”, cause his only role is to switch as root.

Then I recommend to add the DefaultRoot ~ directory to the /etc/proftpd/proftpd.conf file. Now users are in jail in their home directory.

 

We are done. Now let's go to chapter 7: install a mysql database.

Comments

There are currently 0 comments
Post a comment
No comments