Using vsftpd ...
Turning on manually / for current boot
1. Log is as root
2. cd /etc/init.d
3. ./vsftpd start
[trainee@melksham ~]$ su -
Password:
[root@melksham ~]# cd /etc/init.d
[root@melksham init.d]# ./vsftpd start
Starting vsftpd for vsftpd: [ OK ]
[root@melksham init.d]#
4. Test from remote machine
earth-wind-and-fire:~ grahamellis$ ftp melksham
Connected to melksham.
220 (vsFTPd 2.0.4)
Name (melksham:grahamellis): trainee
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
restarting automatically on reboot
1. Log is as root
2. chkconfig vsftpd on
(you may wish to check with chkcofing --list as in this example:
[root@melksham ~]# chkconfig --list vsftpd
vsftpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[root@melksham ~]# chkconfig vsftpd on
[root@melksham ~]# chkconfig --list vsftpd
vsftpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@melksham ~]#
3. Reboot to test
If you are installing vsftpd yourself
1. Download (.tar.gz)
2. unpack
3. make
4. as root - make install
5. You will probably wish to configure vsftpd to loosen up some of the permissions; the Fedora Core version says in the config file "The default compiled in settings are fairly paranoid. This sample file loosens things up a bit, to make the ftp daemon more usable. Please see vsftpd.conf.5 for all compiled in defaults." ... and they have the following active lines in /etc/vsftpd/vsftpd.conf
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
pam_service_name=vsftpd
userlist_enable=YES
listen=YES
tcp_wrappers=YES
(written 2008-07-06)
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
A165 - Web Application Deployment - Installing Software [809] What to do during a Linux build - (2006-07-20)
[2139] OS Commerce install made simple - (2009-04-24)
[2201] Running straight from the jar, but not from a tar - (2009-05-26)
[3053] Make - automating the commands for building and installing - (2010-11-16)
[4259] Upgrading our training systems to all the current stable versions - (2014-04-07)
A164 - Web Application Deployment - Services and Regular Jobs [544] Repeating tasks with crontab - (2005-12-27)
[907] Browser -> httpd -> Tomcat -> MySQL. Restarting. - (2006-10-28)
[1028] Linux / Unix - process priority and nice - (2007-01-10)
[1288] Linux run states, shell special commands, and directory structures - (2007-08-03)
[1553] Automatic startup and shutdown of Tomcat - (2008-02-24)
[1633] Changing a screen saver from a web page (PHP, Perl, OSX) - (2008-05-06)
[1731] Apache httpd, MySQL, PHP - installation procedure - (2008-08-01)
[1733] memcached - overview, installation, example of use in PHP - (2008-08-02)
[1765] Dialects of English and Unix - (2008-08-21)
[1903] daemons - what is running on my Linux server? - (2008-11-23)
[2145] Using the internet to remotely check for power failure at home (PHP) - (2009-04-29)
[2182] What Linux run level am I in? - (2009-05-15)
[3011] What are .pid files? - (2010-10-23)
[3143] On time - (2011-01-23)
[3791] The Kernel, Shells and Daemons. Greek Gods in computing - (2012-07-01)
[3792] Managing daemons from a terminal session - (2012-07-01)
[4487] Starting MySQL. ERROR! The server quit without updating PID file - how we fixed it. - (2015-05-06)
Some other Articles
Finding operating system settings in PerlPerl ... adding to a list - end, middle, startRunning operating system commands in PerlTraining Course and Business Conference TechnologyFTP server on Fedora LinuxIf you are learning Lua, here are some more examplesDealing with The PressSorting in lua - specifying your own sort routineSaying NOT in Perl, PHP, Python, Lua ...Lua Course - here is the index