Using Pureftpd+mysql+pureftpd_php_manager to set up FTP SERVER

Source: Internet
Author: User
Tags ftp mysql mysql in mysql database root directory

I wanted to write some days ago, but I was so busy installing new server, that I could write it down when I was done. Now the new server also shelves, have time to slowly write several articles out of the,* ^_^ *

This is a fool-like tutorial, the purpose is to let the novice FreeBSD friend can do it step by step, the establishment of their own FTP server. The process may have some wordy, a level of friends can jump to see can, thank you! If you are using PUREFTPD for the first time, you can do it step-by-step, to clarify the whole installation process and ideas helpful, all. About PUREFTPD's introduction, suggested that everybody go to its official station to look, I thought it is better than proftpd and vsftpd ...

A ﹑ installation pureftpd+mysql:

Of course to install FreeBSD, it is best to update ports, if you do not know how to update, please refer to my previous write and FreeBSD upgrade optimization encyclopedia.

First, please make sure that you installed the MySQL database server software, otherwise the system will be installed, error, if you do not install, please perform the following installation steps, install the MySQL database.

Cd/usr/ports/databases/mysql40-server

Make Skip_dns_check=yes build_optimized=yes build_static=yes install

which

Skip_dns_check=yes says you don't have to do reverse parsing when you add a native name

Build_optimized=yes represents optimized processing at compile time

Build_static=yes the mysqld into a static execution version

We're all set. mysql installed, it will automatically install in the/usr/local directory, the database directory located in/var/db/mysql and then install PUREFTPD this FTP server software please enter: cd /usr/ports/ftp/pure-ftpd PURE-FTPD support Ldap,pgsql,mysql and many other authentication methods, and my favorite is with MySQL integration, use MySQL to do user authentication,ftp root directory, upload download rate and other important issues. Therefore, we need to compile the MySQL option, please perform the following install PURE-FTPD + mysql commandmake WITH_MYSQL=1 install

This,pure-ftpd will automatically include MySQL in the installation, eliminating the hassle of our integration.

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.