./configure –prefix=/usr/local/pureftpd–with-mysql=/usr/local/mysql4.0.12
–with-everything --with-diraliases --with-ftpwho --with-throttling --without-inetd --without-shadow --with-quotas --with-sysquotas --with-welcomemsg --with-uploadscript --with-largefile --with-language=simplified-chinese
make install-strip
mkdir –p /usr/local/pureftpd/etc
cp configuration-file/pure-config.pl /usr/local/pureftpd/bin/
cp configuration-file/pure-ftpd.conf /usr/local/pureftpd/etc
cp pureftpdmanager/pureftpd-mysql.conf.sample /usr/local/pureftpd/etc/mysql.conf
create database pureftpd;
create table ftpd (
user varchar(16) not null default '',
status enum('0','1') not null default '0',
password varchar(64) not null default '',
uid varchar(11) not null default '-1',
gid varchar(11) not null default '-1',
dir varchar(128) not null default '',
ulbandwidth smallint(5) not null default '0',
dlbandwidth smallint(5) not null default '0',
comment tinytext not null,
ipaccess varchar(15) not null default '*',
quotasize smallint(5) not null default '0',
primary key (user),
unique key user (user)
) type=myisam;
linux編譯安裝pureFTP
編譯安裝pureftp 關閉防火牆 service iptables stop setenforce 0 ftp的預設埠是21 安裝開源協議系統 開源安全證書 wget c org source openssl 1.1 0c.tar gztar zxvf openssl 1.1 0c.tar gzc...
linux 編譯安裝pureFTP
安裝openssl支援 wget c tar zxvf openssl 1.1.0c.tar.gz cd openssl 1.1.0c connfig prefix usr local openssl make make install 安裝pureftp wget tar zxvf pureftp...
linux編譯安裝過程介紹
2.2.2 編譯安裝過程介紹 搭建lamp環境時,需要安裝的所有軟體都要按照一定的順序安裝,我們按照apache mysql php順序安裝。但在安裝php之前,應先安裝php 5需要的最新版本庫檔案,例如libxml2 libmcrypt,以及gd2庫等檔案。安裝gd2庫是為了讓php 5支援gi...