关键字: FreeBSD新手 快速 入门 Pure-FTPd 服务器
FreeBSD6.2架设之Pure-FTPd服务器
Pure-FTPd Server On FreeBSD6.2 HowTo
Index:
- 简介
- Step 1 installation Apache22.
- Step 2 installation MySQL Server.
- Step 3 installation PHP.
- Step 4 installation PureFTPd.
- Step 5 creating a MySQL database.
- Step 6 configuration of PureFTPd.
- Setp 7 User manager for PureFTPd.
- F.A.Q.
- Links to other sources
| 简介 |
| Pure-FTPd is a free (BSD), secure, production-quality and standard-conformant FTP server. It doesn't provide useless bells and whistles, but focuses on efficiency and ease of use. It provides simple answers to common needs, plus unique useful features for personal users as well as hosting providers. |
Pure-FTPd是一个自由的、安全的、高品质的FTP Server。它,高效并且易于使用。Pure-FTPd提供多语言支持,包括简体文、繁体中文,同时也支持UTF-8。本文使用FreeBSD6.2做为系统,使用Pure-FTPd程序提供FTP服务,并且结合MySQL Server做认证。支持虚拟用户、用户带宽控制、用户磁盘限额。使用User manager for PureFTPd,提供后台管理界面。
FreeBSD6.2+Apache22+PHP5+php5-extensions+ Pure-FTPd+ User manager for PureFTPd
软件版本信息:
·FreeBSD 6.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
·User manager for Pure-FTPd
| Step 1 Installation Apache22. |
Installation of the Apache server:
跟随下面步骤安装 Apache2.
使用Ports方式安装Apache22,(更易于以后的维护,比如升级、卸载),进入Apache22所在的Ports安装目录/usr/ports/www/apache22目录,执行make install clean进行安装。
Shell:
| whereis apache22 apache22: /usr/ports/www/apache22 cd /usr/ports/www/apache22 make install clean |
系统要求选择模块,取消IPV6支持,其它保持默认即可
|
Options for apache 2.2.6_2
|
|||
|
安装完成后,输入rehash命令刷新
Shell:
| To run apache www server from startup, add apache22_enable="YES" in your /etc/rc.conf. Extra options can be found in startup script. ===> Cleaning for autoconf-wrapper-20071109 ===> Cleaning for p5-gettext-1.05_1 ===> Cleaning for apache-2.2.6_2 rehash |
系统提示,需要添加apache22_enable=”YES”到/etc/rc.conf文件。
(具体信息可以查看cat /usr/local/etc/rc.d/apache22会有详细说明)
Shell:
| vi /etc/rc.conf |
添加以下内容
Editor:
| #Apache22 apache22_enable="YES" |
保存退出后,启动Apache进行测试
输入命令/usr/local/etc/rc.d/apache22 start启动Apache
Shell:
| /usr/local/etc/rc.d/apache22 start Syntax OK Starting apache22. |
使用浏览器访问FreeBSD服务器IP地址测试Apache是否工作正常
浏览器打开http://youipaddress
|
It works!
|
好了,Apache22安装成功了。



