Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
Retiring, March 2020 - sorry, you have missed our final public course.
The Coronavirus situation has lead us to suspend public training - which was on the cards anyway, with no plans to resume

Please ask about private 'maintenance' training for Python, Tcl, Perl, PHP, Lua, etc
Happily continuing private consultancy / programming work
 
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)

 
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
A164 - Web Application Deployment - Services and Regular Jobs
  [4487] Starting MySQL. ERROR! The server quit without updating PID file - how we fixed it. - (2015-05-06)
  [3792] Managing daemons from a terminal session - (2012-07-01)
  [3791] The Kernel, Shells and Daemons. Greek Gods in computing - (2012-07-01)
  [3143] On time - (2011-01-23)
  [3011] What are .pid files? - (2010-10-23)
  [2182] What Linux run level am I in? - (2009-05-15)
  [2145] Using the internet to remotely check for power failure at home (PHP) - (2009-04-29)
  [1903] daemons - what is running on my Linux server? - (2008-11-23)
  [1765] Dialects of English and Unix - (2008-08-21)
  [1733] memcached - overview, installation, example of use in PHP - (2008-08-02)
  [1731] Apache httpd, MySQL, PHP - installation procedure - (2008-08-01)
  [1633] Changing a screen saver from a web page (PHP, Perl, OSX) - (2008-05-06)
  [1553] Automatic startup and shutdown of Tomcat - (2008-02-24)
  [1288] Linux run states, shell special commands, and directory structures - (2007-08-03)
  [1028] Linux / Unix - process priority and nice - (2007-01-10)
  [907] Browser -> httpd -> Tomcat -> MySQL. Restarting. - (2006-10-28)
  [544] Repeating tasks with crontab - (2005-12-27)

A165 - Web Application Deployment - Installing Software
  [4259] Upgrading our training systems to all the current stable versions - (2014-04-07)
  [3053] Make - automating the commands for building and installing - (2010-11-16)
  [2201] Running straight from the jar, but not from a tar - (2009-05-26)
  [2139] OS Commerce install made simple - (2009-04-24)
  [809] What to do during a Linux build - (2006-07-20)


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
4759 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, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 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).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2020: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/1700_FTP ... Linux.html • PAGE BUILT: Sat May 27 16:49:10 2017 • BUILD SYSTEM: WomanWithCat