Environment:
RedHat Rhel3u6
Description
If not explained, the General installation command uses root permissions, with the # expression, and the General command in $.
Special Note: none
The following article describes the installation and application of PUREFTPD in Liunx environment
First, the preface
PUREFTPD is a variety of Unix on the use of the GPL and comply with the original code open software, as the name suggests, it is a pure FTP program, The current version is 1.0.21, the document version number has been developed to 1.0.22, which proves that the author is trying to develop a new version, we look forward to it together.
Second, PUERFTPD installation steps
1. Get and install PUREFTPD version
You can go to the http://download.pureftpd.org/pub/pure-ftpd/releases/download pureftpd the original code, download after installation, as follows:
# cd /home/xuchen
# wget http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.21.tar.gz .
# tar xzvf pure-ftpd-1.0.21.tar.gz
# cd pure-ftpd-1.0.21
# ./configure --prefix=/usr/local/pureftpd --with-everything --with-rfc2640\
--with-mysql=/usr/local/mysql --with-language=simplified-chinese;make;make check;make install
--prefix is the target directory of the installation
--with-eyerything is to install all features because it is a test.
--with-rfc2640, the language set conversion of this parameter utf-8,gb2312 and other heterogeneous systems
Note: If you are installing MySQL in the TAR pack, you may encounter
Configure:error:Your MySQL Client libraries aren ' t properly installed
Problem, the solution is
Copy all the files under/usr/local/mysql/lib/mysql/to/usr/lib.
# mkdir /usr/local/pureftpd/etc 安装系统时没建立这个文件夹??
# cd configuration-file
# chmod u+x pure-config.pl
# cp pure-config.pl /usr/local/pureftpd/bin
# cp pure-ftpd.conf /usr/local/pureftpd/etc
# cd ..
# cp pureftpd* /usr/local/pureftpd/etc/
Here, all the installation has been completed, the test function, we use the method of modifying the configuration file to complete the functional testing.