PHP:
1. 下载:
http://www.php.net/get/php-4.3.1.tar.gz/from/this/mirror
2. 解包:
tar xvfz php-4.3.1.tar.gz
3. 安装:
cd php-4.3.1
./configure --with-mysql --with-apxs2=/usr/local/apache/bin/apxs --enable-track-vars --with-gd --with-zlib --with-xml
make
make install
cp php.ini-dist /usr/local/lib/php.ini
vi /usr/local/lib/php.ini 修改 mysql.default_socket =/tmp/mysql.sock
ProFTPD:
1. 下载:
ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.8.tar.gz
2. 解包:
tar xvfz proftpd-1.2.8.tar.gz
3. 安装:
cd proftpd-1.2.8
./configure
make
make install
vi /usr/local/etc/proftpd.conf 将 Group 后改为nobody
4. 运行:
/usr/local/sbin/proftpd
5. 启动时运行:
vi /etc/rc.d/rc.local 加一行 /usr/local/sbin/proftpd