主观

阅读以下说明,回答问题1~5,将答案填入对应的解答栏内。

 配置WWW服务器是Linux操作平台的重要工作之一,而Apach是目前应用最为广泛的Web服务器产品之一。在Linux下安装Apache Web服务,Apache服务程序http启动时需要读取配置文件httpd.conf,以下是一个httpd.conf配置文件的片断:

 ##httpd.conf--Apache HTTP server configuration file

 ###Section 1:Global Environment

 ServerType standalone

 ServerRoot "/etc/httpd"

 Timeout 300

 KeepAlive On

 MaxKeepAliveRequests 100

 KeepAliveTimeout 15

 MaxClients 150

 ###Section 2:'Main'server configuration

 Port 80

 User apache

 Group apache

 ServerAdmin webmaster@abc.com.cn

 ServerName www.abc.com.cn

 DocumentRoot"/var/www/html"

 UserDir public_html

 DirectoryIndex index.html

 Alias/Jianji"/home/zhang/jianji"

 ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

 ErrorDocument 404/missing.html

 ###Section 3:Virtual Hosts

 NameVirtualHost 192.168.10.101

 <VirtualHost 192.168.10.101>

   ServerAdmin webmaster@abc.com.cn

   DocumentRoot /www/htdocs/abc

   ServerName markert.abc.com.cn

   ErrwrLog logs/host.some_domain.com-error_log

   CustomLog log/host.some_domain.com-access_log common

 </VirtuaHost>

Apache web服务器有(1)和(2)两种运行方式,该服务器运行在(3)方式下。

参考答案
您可能感兴趣的试题

阅读以下说明,回答问题1和问题2,将解答填入对应的解答栏内。

 某单位新购近一台Cisco两层交换机2950,其配置过程:

 第一步,准备安装与调试所需的设备,主要包括Cisco 2950交换机、RJ45直通线,RJ45转9针串口转 换器、计算机。

 第二步,硬件连接,RJ45直通线一头插入Cisc02950的console口,另一头接RJ45转9针串口转换器,再将转换器接到计算机的串口。

 第三步,交换机加电,在计算机上调用WINDOWS XP下的超级终端程序,配置设备连接参数,如图5-1,以便进入Cisco设备的虚拟操作台。

 

 第四步,输入Cisco 2950的IOS配置命令。配置过程如下:

 Switch>

 Switch>enable

 Switch#config terminal

 Switch(config)#enable secret cisco2006   (1) 

 Switch(config)#hostname Switch1

 Switch1(config)#ip default-gateway 192.168.1.1   (2) 

 Switch1(config)#interface vlan 1

 Switch1(config-if)#ip address 192.168.1.23 255.255.255.0

 Switch1(config-if)#management   (3) 

 Switch1(config-if)#end

 Switch1(config)#vlan database

 Switch1(config-vlan)#vtp mode server   (4) 

 Switch1(config-vlan)#vtp domain ABC   (5) 

 Switch1(config-vlan)#vtp pruning   (6) 

 Switch1(config-vlan)#end

 Switch1#show vtp status   (7) 

 Switch1#config terminal

 Switch1(config)#interface gb0/1

 Switch1(config-if)#switchport mode trunk   (8) 

 Switch1(config-if)#switchport trunk encap dotlq   (9) 

 Switch1(conflg-if)#end

 Switch1#copy run start   (10) 

 第五步,将调试完毕的设备连入网络,通过PC机验证配置是否正确。

第三步中,在图5-1中配置超级终端程序时连接参数应如何设置:

 (1)每秒位数(B): (11) 

 (2)数据位(D): (12) 

 (3)奇偶校验(P): (13) 

 (4)停止位(S): (14) 

 (5)数据流控制(F): (15)

¥

订单号:

遇到问题请联系在线客服

订单号:

遇到问题请联系在线客服