FreeBSD62架设之Pure-FTPd服务器.pdf
上传人:sy****28 上传时间:2024-09-14 格式:PDF 页数:15 大小:193KB 金币:16 举报 版权申诉
预览加载中,请您耐心等待几秒...

FreeBSD62架设之Pure-FTPd服务器.pdf

FreeBSD62架设之Pure-FTPd服务器.pdf

预览

免费试读已结束,剩余 5 页请下载文档后查看

16 金币

下载此文档

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

FreeBSD6.2架设之Pure-FTPd服务器Pure-FTPdServerOnFreeBSD6.2HowToMongoliaIndex:•简介•Step1installationApache22.•Step2installationMySQLServer.•Step3installationPHP.•Step4installationPureFTPd.•Step5creatingaMySQLdatabase.•Step6configurationofPureFTPd.•Setp7UsermanagerforPureFTPd.•F.A.Q.•Linkstoothersources简介Pure-FTPdisafree(BSD),secure,production-qualityandstandard-conformantFTPserver.Itdoesn'tprovideuselessbellsandwhistles,butfocusesonefficiencyandeaseofuse.Itprovidessimpleanswerstocommonneeds,plusuniqueusefulfeaturesforpersonalusersaswellashostingproviders.Pure-FTPd是一个自由的、安全的、高品质的FTPServer。它,高效并且易于使用。Pure-FTPd提供多语言支持,包括简体文、繁体中文,同时也支持UTF-8。本文使用FreeBSD6.2做为系统,使用Pure-FTPd程序提供FTP服务,并且结合MySQLServer做认证。支持虚拟用户、用户带宽控制、用户磁盘限额。使用UsermanagerforPureFTPd,提供后台管理界面。FreeBSD6.2+Apache22+PHP5+php5-extensions+Pure-FTPd+UsermanagerforPureFTPd软件版本信息:•FreeBSD6.2-RELEASE•Apache-2.2.3•Mysql-server-5.0.27•Php5-5.1.6_3•Php5-extensions-1.0•Pure-FTPd-1.0.21_1•UsermanagerforPure-FTPdStep1InstallationApache22.InstallationoftheApacheserver:跟随下面步骤安装Apache2.使用Ports方式安装Apache22,(更易于以后的维护,比如升级、卸载),进入Apache22所在的Ports安装目录/usr/ports/www/apache22目录,执行makeinstallclean进行安装。Shell:whereisapache22apache22:/usr/ports/www/apache22cd/usr/ports/www/apache22makeinstallclean系统要求选择模块,取消IPV6支持,其它保持默认即可Optionsforapache2.2.6_2[]IPV6EnableIPv6support安装完成后,输入rehash命令刷新Shell:Torunapachewwwserverfromstartup,addapache22_enable="YES"inyour/etc/rc.conf.Extraoptionscanbefoundinstartupscript.===>Cleaningforautoconf-wrapper-20071109===>Cleaningforp5-gettext-1.05_1===>Cleaningforapache-2.2.6_2rehash系统提示,需要添加apache22_enable=”YES”到/etc/rc.conf文件。(具体信息可以查看cat/usr/local/etc/rc.d/apache22会有详细说明)Shell:vi/etc/rc.conf添加以下内容Editor:#Apache22apache22_enable="YES"保存退出后,启动Apache进行测试输入命令/usr/local/etc/rc.d/apache22start启动ApacheShell:/usr/local/etc/rc.d/apache22startSyntaxOKStartingapache22.使用浏览器访问FreeBSD服务器IP地址测试Apache是否工作正常浏览器打开http://youipaddressItworks!好了,