Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 2安装Web服务器在FreeBSD的6.0与2.2的Apache , MySQL 5.0的和PHP 5中-第2部分
Installing Apache 2.2, MySQL 5 and PHP 5 in FreeBSD 6.0 for a Reliable Web Server 安装的Apache 2.2 , MySQL的5和PHP 5在FreeBSD的6.0为一个可靠的Web服务器
Part 2 - Post-Installation Configuration Tasks of FreeBSD 6.0第2部分-安装后的配置任务的F reeBSD6 .0
- Select [Yes] and press Enter when prompted the following message to configure Ethernet or PPP/SLIP network devices:选择[是] ,并按下ENTER时,提示以下信息来配置以太网或PPP /支路网络设备:
User Confirmation Requested Would you like to configure any Ethernet or SLIP/PPP network devices?用户请确认您想配置的任何以太网或支路/ PPP的网络设备呢? [ Yes ] No [是]没有
- Select your Ethernet network card to configure.选择您的乙太网路卡的配置。

- IPv4 network protocol is sufficient, as IPv6 is not yet common, so select [No] and press Enter when prompted whether to enable IPv6 interface. IPv4的网络协议是不够的,作为IPv6是尚未普遍,因此,选择[否] ,并按下ENTER时,提示是否启用IPv6接口。
User Confirmation Requested Do you want to try IPv6 configuration of the interface?用户请确认你是否想尝试IPv6的配置界面? Yes [ No ]是[否]
- Try to automatically retrieve network configuration from DHCP server (normally the Internet router is a DHCP server to lease IP address).尝试自动检索网络配置从DHCP服务器(通常是互联网路由器是一个DHCP伺服器租用IP地址) 。 Select [Yes] and press Enter at the following message:选择[是] ,并按下ENTER在下列讯息:
User Confirmation Requested Do you want to try DHCP configuration of the interface?用户请确认你是否想尝试DHCP配置的界面? Yes [ No ]是[否]
- Network configuration screen will be shown next.网络配置屏幕将显示未来。 Use Tab to move between various fields to enter the required information.使用Tab动议之间的各个领域,以输入所需信息。 If you have DHCP server, most of the fields, including IPv4 Address, Netmask, Name Server and IPv4 Gateway, should be filled up, you only need to enter the Host and Domain (if need to change).如果您有DHCP伺服器,大部分的领域,包括IPv4地址,网络掩码,名称伺服器与IPv4网关,应该是填补了,您只需要输入主机和域(如果需要改变) 。 Host is the fully-qualified hostname, such as k6-2.example.com in the illustration below, and Domain is the name of the domain that the server is in, such as example.com.主机是完全合格的主机名,如k6 - 2.example.com ,在下面的说明,以及网域是域的名称服务器是在,如example.com 。

When done, use Tab key to select [OK] and press Enter.完成时,使用Tab键以选择[确定] ,并按下ENTER 。 - Select [Yes] and press Enter if prompted to enable the network interface.选择[是] ,并按下ENTER如果出现提示,使网络接口。
User Confirmation Requested Would you like to Bring Up the ed0 interface right now?用户请确认你是否想带出ed0接口的权利,现在呢? [ Yes ] No [是]没有
- Select [No] when prompted whether want the server to function as network gateway.选择[否]当提示是否要服务器的功能,网路闸道。
User Confirmation Requested Do you want this machine to function as a network gateway?用户请确认你是否想这台机器的功能作为一个网络门户? [ Yes ] No [是]没有
- Select [No] when prompted whether want to enable inetd and network services.选择[否]当提示是否要启用inetd会和网络服务。 No will disable ftp and telnet service, as SSH is a more secure method to access the server remotely.没有将禁用FTP和Telnet服务,作为SSH的是一个更安全的方法来存取伺服器远端。
User Confirmation Requested Do you want to configure inetd and the network services that it provides?用户请确认你要配置的inetd会和网络服务,它提供了呢? Yes [ No ]是[否]
- Select [Yes] and press Enter when prompted to enable SSH access to securely access the server remotely.选择[是] ,并按下ENTER提示时,使SSH访问,安全地访问远程服务器。
- Disable anonymous FTP access by select [No] when prompted.禁用匿名FTP存取选择[否]提示时。
User Confirmation Requested Do you want to have anonymous FTP access to this machine?用户请确认你是否想有匿名FTP访问这台机器上? Yes [ No ]是[否]
- Select [No] as it’s not a NFS (Network File System) server.选择[否] ,因为它不是一个的NFS (网络文件系统)服务器。
User Confirmation Requested Do you want to configure this machine as an NFS server?用户请确认你要配置的这台机器作为NFS服务器? Yes [ No ]是[否]
- Select [No] for NFS client.选择[否]对于NFS客户端。
User Confirmation Requested Do you want to configure this machine as an NFS client?用户请确认你要配置的这台机器作为NFS的客户端? Yes [ No ]是[否]
- There is no need to customize any system console settings such as font, keymap or screen saver, so select [No] when prompted.有没有必要自定义任何系统控制台设置,如字体, keymap或萤幕保护程式,所以选择[否]提示时。
User Confirmation Requested Would you like to customize your system console settings?用户请确认你是否想以自订您的系统控制台设置? [ Yes ] No [是]没有
- Set the time zone by selecting [Yes].设置时区选择[是] 。
User Confirmation Requested Would you like to set this machine's time zone now?用户请确认您想设置这台机器的时区,现在呢? [ Yes ] No [是]没有
- Most computers are set to local time, and not UTC, so select No to continue.大部分的电脑都设置为本地时间,而不是国际标准,所以选择没有继续下去。
User Confirmation Requested Is this machine's CMOS clock set to UTC?用户确认的要求是这台机器的CMOS时钟设置为标准? If it is set to local time or you don't know, please choose NO here!如果是设置为本地时间或你不知道,请选择并没有在这里! Yes [ No ]是[否]
- Use arrow keys to scroll and select your region, or continent.使用箭头键来滚动和选择您所在的地区,或大陆。
- Use arrow keys to scroll and select your country.使用箭头键来滚动和选择您的国家。
- If you’re in a country that span across several time zone, then select the time zone of your location when prompted.如果您在一个国家认为,横跨数个时区,然后选择时区,您的位置提示时。
- Select [Yes] and press Enter when asked if the name of time zone looks reasonable.选择[是] ,并按下ENTER当被问及如果名称时区看起来是合理的。
- Enable Linux binary compatibility by selecting Yes.使Linux的二进制兼容性选择是的。
User Confirmation Requested Would you like to enable Linux binary compatibility?用户请确认你是否想使Linux的二进制兼容性? [ Yes ] No [是]没有
- Select [No] when asked if the system has mouse, as there is no X-Windows installed.选择[否]当被问及是否该系统具有鼠标,由于没有的X Windows安装。
- Select [No] when asked to browse the FreeBSD packages collection to skip it.选择[否]当被问及浏览FreeBSD的软件包收集跳过它。
User Confirmation Requested The FreeBSD package collection is a collection of hundreds of ready-to-run applications, from text editors to games to WEB servers and more.用户确认要求FreeBSD的包收集是一家集数百名准备到运行的应用,从文本编辑器,以游戏,网络服务器和更多。 Would you like to browse the collection now?你想浏览的收集,现在呢? [ Yes ] No [是]没有
- Select [Yes] when prompted to add user to the system.选择[是]当提示添加用户到系统中。 It’s advisable to set up at least another user for regular use instead of using the powerful root to work on the system.它的可取的成立至少有另一个用户经常使用而不是利用强大的根系的工作系统。
User Confirmation Requested Would you like to add any initial user accounts to the system?用户请确认您想添加任何初始用户帐户制度? Adding at least one account for yourself at this stage is suggested since working as the "root" user is dangerous (it is easy to do things which adversely affect the entire system).加入至少一个帐户,为自己在这个阶段是建议工作以来,作为“根”用户是危险的(这是很容易做到的事,造成负面影响整个系统) 。 [ Yes ] No [是]没有
- Select User to add user at the screen.选择用户添加用户在屏幕上。

- User tab to move between field, and enter your desired User ID and password for the new user.用户标签之间移动领域,并输入您想要的用户ID和密码,为新用户。 For Group, enter ‘wheel’ (without quote - to allow the new user to perform administration tasks).为组,输入'车轮' (不含报价-让新用户能够执行管理任务) 。 Other settings can be left blank for default.其他设置可以留空为默认。

When done, select OK and press Enter.完成时,选择确定并按下Enter 。 - When back at the User and Group Management screen, select Exit and press Enter.当回在用户和组管理画面中,选择退出并按下ENTER 。
- Press Enter to set the password for root system manager.按下ENTER ,以设定密码为根系统管理员。
Message Now you must set the system manager's password.现在你的讯息必须设置系统管理员的密码。 This is the password you'll use to log in as "root".这是密码,您可以使用,以登入,在“根” 。 [ OK ] [ Press enter to continue ] [确定] [按下ENTER继续]
- Key in the new password for root twice.关键在新的密码为根的两倍。
- Select [No] and press Enter when asked to review the configuration set to skip the review.选择[否] ,并按下ENTER当问及检讨配置集跳过审查。
User Confirmation Requested Visit the general configuration menu for a chance to set any last options?用户确认要求访问一般的配置菜单,为一个机会,订定任何最后选择呢? Yes [ No ]是[否]
- When back at sysinstall Main Menu, use arrow keys to select “Exit Install” and press Enter.当回到sysinstall主菜单,使用箭头键选择“退出安装” ,并按下ENTER 。
- Select Yes to reboot the FreeBSD system.选择是重新启动的FreeBSD系统。 While rebooting, remove the FreeBSD CD.而重新启动,移除FreeBSD的CD中。
User Confirmation Requested Are you sure you wish to exit?用户请确认您是否确定要退出? The system will reboot (be sure to remove any floppies from the drives).该系统将重新启动(请务必以消除任何从软盘驱动器) 。 [ Yes ] No [是]没有
- When the system boots up, it will ask for an entropy source to create the secure keys.当系统开机,它会要求一熵的来源,以创造安全的关键。 Just randomly enter some characters and numbers and press Enter to continue.刚才随机输入一些字符和数字,并按下Enter继续。
The set up, installation and configuration of a FreeBSD system completed.成立,安装和配置一个FreeBSD的系统完成。 The system can now been remotely administered by using Secure-SSH client such as Putty, by connecting to the IP address that is configured just now.该系统可现在已经远程管理的使用安全- SSH的客户端,如腻子,由连接到的IP地址是配置刚才的发言。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要说明 :这是一个机器翻译网页是“按原样”提供的担保。 Machine translation may be difficult to understand.机器翻译可能很难理解。 Please refer to请参阅 original English article英文原版的文章 whenever possible.只要有可能。
Share and contribute or get technical support and help at分享和贡献,或取得技术的支持和帮助,在 My Digital Life Forums 我的数字生活论坛 . 。
Related Articles相关文章
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 4安装Web服务器在FreeBSD的6.0与2.2的Apache , MySQL 5.0的和PHP 5 -第4部分
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 3安装Web服务器在FreeBSD的6.0与2.2的Apache , MySQL 5.0的和PHP 5 -第3部分
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 5安装Web服务器在FreeBSD的6.0与2.2的Apache , MySQL 5.0的和PHP 5 -第5部分
- Easily Set Up Web Server with XAMPP很容易成立的Web伺服器与xampp
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 1安装Web服务器在Windows XP的Apache2 , php5和mysql4 -第1部分
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 3安装Web服务器在Windows XP的Apache2 , php5和mysql4 -第3部分
- FreeBSD Apache HTTP Accept Filter Error FreeBSD上的Apache的HTTP接受过滤器的错误
- Using phpMyAdmin for Effective MySQL Management in Windows XP使用phpmyadmin有效MySQL的管理在Windows XP
- PHP 5 Unable to Open HTTP Request Stream with fopen or fsockopen Functions PHP 5中无法打开HTTP请求流与fopen或fsockopen职能
- Enable Logging of Slow Queries (Slow Query Log) in MySQL Database启用日志记录慢查询(慢速查询日志)在MySQL数据库


















