Install Pure-FTPd in Ubuntu with Web Page Management User System

Source: Internet
Author: User
Install pure-ftpdwithMySQL $ sudoapt-getinstallpure-ftpd-mysql to switch to the webpage directory $ cd/var/www to download the PureFTPd webpage management system (the system must support PHP) $ wgethttp: // machiel.generaal.net/files/pureftpd/ftp_v2.1.tar.gz (available to http://machiel.gen

Install pure-ftpd with MySQL

$ Sudo apt-get install pure-ftpd-mysql

Switch to the webpage directory
$ Cd/var/www

Download the PureFTPd Web Page Management System (the system must support PHP)
$ Wget http://machiel.generaal.net/files/pureftpd/ftp_v2.1.tar.gz
(You can go to http://machiel.generaal.net/to query a new version of the Management System)

Decompress the downloaded package
$ Tar zxvf ftp_v2.1.tar.gz

Open the browser and enter the URL:

Http: // your ip/ftp/install. php

Then follow the prompts on the webpage to complete each step in sequence.
The system will prompt you to modify the mysql. conf file.
Switch to the directory where the file is located
$ Cd/etc/pure-ftpd/db
Back up the original profile
$ Sudo mv mysql. conf mysql. conf. bak
Copy all the content prompted for modification on Step 6 of the Management System webpage.
Create the mysql. conf file and paste the copied content
$ Sudo vi mysql. conf

Restart the Pure-FTPd server
$ Sudo pure-ftpd-control restart

Enable webpage editing for ftp users

Http: // your ip/ftp

After login, you can manage ftp users

PS1.
Error Checking if config. php is writable Failed!
Solution => change config. php In the ftp directory to writable.

PS2.
Error Checking if PHP Extension MYSQL is enabled Failed!
Solution => confirm that the php5-mysql suite is installed

PS3.
To avoid future hacker attacks, delete the install. php file under the ftp directory after setting.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.