cd /usr/ports/ftp/pure-ftp
vim Makefile
把 off 改成 on,保存退出
OPTIONS= MYSQL "Support for users in MySQL database" off \
安装完毕后的相关信息
Now you need to examine /usr/local/share/examples/pure-ftpd/pam/pure-ftpd
and add the relevant PAM configuration lines to your
/etc/pam.conf file.If you defined call upload script in pure-ftpd config
define corresponding vars in rc.conf
Without it pure-ftpd will not listen tcp socket - see
FAQ: http://pureftpd.org/FAQ
===> Installing rc.d startup script(s)
===> Compressing manual pages for pure-ftpd-1.0.21_2
===> Registering installation for pure-ftpd-1.0.21_2
===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/sbin/pure-authd
/usr/local/sbin/pure-ftpdThis port has installed the following startup scripts which may cause
these network services to be started at boot time.
/usr/local/etc/rc.d/pure-ftpdIf there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type ‘make deinstall’
to deinstall the port if this is a concern.For more information, and contact details about the security
status of this software, see the following webpage:
http://www.pureftpd.org/
cd /usr/local/etc/
cp pureftpd-mysql.conf.sample pureftpd-mysql.conf
cp pure-ftpd.conf.sample pure-ftpd.conf
PureFTPd User Manager http://www.solariz.de
chmod –R 755 pureftpd_php_manager
cp pureftpd_php_manager/pureftpd-mysql.conf.sample /usr/local/etc/pureftpd-mysql.conf
生成 pureftpd_php_manager 相关表的脚本我就不重复了,在压缩包中reader中写着呢
剩下的回来补充
好久没弄blog了,主要没啥心情弄。趁着失业期间去了趟上海,义乌,南京一趟,见了一些朋友,谢谢这些朋友的照顾。上海的漂亮妹妹,义乌的小商品,南京的古文化,都让我收益匪浅呀 :D 这样也挺好的,工作几年然后给自己放个大假好好休息,到处转转,人生苦短就要及时行乐 :P
BTW:谢谢某人送我的 Logitech MX Revolution,在Mac OS X下表现很棒。
我还没有买Macbook Pro呢,我只是在 DELL OptiPlex 755 E6550/4G/250G+640G/GeForce 7600 GT 这个配置下安装 osx86,完美运行 osx ,嘿嘿






















