NOTE: make sure PHP5, Mysql server are installed and also php5-mysql.
1. apt-get install pure-ftpd-mysql
2. Install User Manager: This is Optional
reference: Instructions in this link is simple and works perfectly.
http://www.howtoforge.com/virtual-hosting-with-pureftpd-mysql-on-ubuntu-8.10
e. Linux Commands reference: http://www.pixelbeat.org/cmdline.html
http://www.howtoforge.com/virtual-hosting-with-pureftpd-and-mysql-ubuntu-7.10
After installation:
1. Make sure to backup the existing mysql.conf to mysql_orig.conf.
2. pureftpd-mysql.conf -content to be copied to a file mysql.conf in /etc/pure-ftpd/db.
3. restart the pure-ftpd : /etc/init.d/pure-ftpd-mysql restart
4. check ftp port (21) is open on the server
It is OK to have FTP server on one box, My SQL on another box. In this scenario, the mysql.conf file need to be updated with IP address of the MYSQL server.
to restrict user in the home directory:
echo "yes" > /etc/pure-ftpd/conf/ChrootEveryone
1. apt-get install pure-ftpd-mysql
2. Install User Manager: This is Optional
- Download using command line in Linux: wget http://machiel.generaal.net/files/pureftpd/ftp_v2.1.tar.gz
- untar command : tar -xvf ftp_v2.1.tar.gz
- User Manager for Pure-ftpd - http://machiel.generaal.net/index.php?subject=user_manager_pureftpd
reference: Instructions in this link is simple and works perfectly.
http://www.howtoforge.com/virtual-hosting-with-pureftpd-mysql-on-ubuntu-8.10
e. Linux Commands reference: http://www.pixelbeat.org/cmdline.html
http://www.howtoforge.com/virtual-hosting-with-pureftpd-and-mysql-ubuntu-7.10
After installation:
1. Make sure to backup the existing mysql.conf to mysql_orig.conf.
2. pureftpd-mysql.conf -content to be copied to a file mysql.conf in /etc/pure-ftpd/db.
3. restart the pure-ftpd : /etc/init.d/pure-ftpd-mysql restart
4. check ftp port (21) is open on the server
It is OK to have FTP server on one box, My SQL on another box. In this scenario, the mysql.conf file need to be updated with IP address of the MYSQL server.
to restrict user in the home directory:
echo "yes" > /etc/pure-ftpd/conf/ChrootEveryone
No comments:
Post a Comment