tonywhitmore.co.uk  

      blog : gallery : wiki : articles : projects : shell scripts : wallpaper : cv : links :
 Project Homepage

FTP Server (bftpd)

Preparation

  1. Download the bftpd source code from bftpd.sourceforge.net.
  2. Burn the file bftpd-1.0.22.tar.gz to a CD. This page assumes that the subdirectory /apps is used for the .tar.gz file. The CD-ROM can be a multi-session disk.

Give me more details on this

Booting

  1. Boot your Core Linux PC.
  2. Login as root. You will need to enter the password at the prompt.

Give me more details on this

Extract the source

  1. Place the CD-R in the CD-ROM drive. Mount the CD-ROM drive under /mnt/cdrom.
  2. Change to the /apps directory on the CD-R.
  3. Copy the bftpd-1.0.22.tar.gz file to the directory /usr/src.
  4. Change to the /usr/src directory and extract the source from the .tar.gz file.

Give me more details on this

Configure and compile

  1. Change to the /usr/src/bftpd-1.0.22 directory.
  2. Run the ./configure script.
  3. Run the make program.
  4. Run the make program with the argument install.

Give me more details on this

Setting up bftpd

  1. Create the file/var/run/bftpd/bftpdutmp.
  2. Configure a user for FTP access. By default, the user ftp is allowed anonymous logon. No password needs to be set. This prevents the user from logging on at the terminal. Other users require a valid username and password combination for access to the system.
  3. Create the home directory for the FTP user.

Give me more details on this

Starting bftpd

  1. Start the bftpd server using bftpd -d.
  2. Using your other computer, see if you can access the FTP server.

Give me more details on this

Stopping bftpd

  1. Stop the bftpd server using kill.

Give me more details on this

Automating bftpd

  1. Append the following line to the /etc/rc.d/rc.mu script:
    bftpd -d
    You can also add comments and echoes for your own information.
  2. Reboot the system and check that bftpd is running.

Give me more details on this

Creative Commons License
The text of this page is licensed under a Creative Commons License.


Valid CSS!     Valid HTML 4.0!     Valid RSS
Original design © For oswd.org by SquireCD