News:

MyKidsDiary.in :: Capture your kids magical moment and create your Online Private Diary for your kids

Main Menu

FTP Server : PureFtpd

Started by Sudhakar, May 16, 2009, 11:49 PM

Previous topic - Next topic

Sudhakar

Explaining the installation procedure or  pure-pw.

Ok, First you need to download the latest version of the ftpd server.

1) we could download at ftp://ftp.pureftpd.org/pub/pure-ftpd...-1.0.20.tar.gz

Now we need to ungzip it and cd to the dir.

2) tar zxvf pure-ftpd-1.0.20.tar.gz

3) cd pure-ftpd-1.0.20

Now we're going to configure it.

4) ./configure --with-puredb --with-ftpwho

Now we need to compile it.

5) make


Now we need to check, if compile was successfull.

6) make check


Now we need to install it.

7) make install


Now we need to create two database files, so just pickup some favourite editor you like and create those files:


/etc/pureftpd.pdb
/etc/pureftpd.passwd



Now, we need to create the database.

8) pure-pw mkdb

If it's a unknown command, you should try:
/usr/local/bin/pure-pw

Now you can start it.

/usr/local/sbin/pure-ftpd -A -B -j -lpuredb:/etc/pureftpd.pdb &

if you need to listen it to specified ip, then start it like this:

/usr/local/sbin/pure-ftpd -S ip,21 -A -B -j -lpuredb:/etc/pureftpd.pdb &

You can add virtual users like this:  :confused

pure-pw useradd user -u nobody -d /kataloog -m

The -u nobody part depends who is the owner of the dir.

More information on http://www.pureftpd.org/README.Virtual-Users
[/b][/color]

Quick Reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it has been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S post or ALT+P preview