Training, Open Source computer languages

PerlPythonMySQLTclRubyC & C++LuaJavaTomcatPHPhttpdLinux

Search our site for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
FTP server on Fedora Linux

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 15:16:46)

 
Associated topics are indexed under
A164 - Web Application Deployment - Services and Regular Jobs
A165 - Web Application Deployment - Installing Software

Back to
If you are learning Lua, here are some more examples
Previous and next
or
Horse's mouth home
Forward to
Training Course and Business Conference Technology
Some other Articles
Finding operating system settings in Perl
Perl ... adding to a list - end, middle, start
Running operating system commands in Perl
Training Course and Business Conference Technology
FTP server on Fedora Linux
If you are learning Lua, here are some more examples
Dealing with The Press
Sorting in lua - specifying your own sort routine
Saying NOT in Perl, PHP, Python, Lua ...
Lua Course - here is the index
1826 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

© WELL HOUSE CONSULTANTS LTD., 2008: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho