计算机网络 - 练习(一百五十八)

本文介绍了在Linux系统中使用Apache发布Web服务的基本知识,详细解释了默认Web站点目录的位置,并探讨了网络协议中度量标准的概念,如RIP和OSPF等。

计算机网络

练习(一百五十八)
  1. 在 Linux 中,使用 Apache 发布 Web 服务时默认 Web 站点的目录为 ( )。
    A. /etc/httpd
    B. /var/log/httpd
    C. /var/www/html/
    D. /home/httpd
    ----------------------------------------
    答案
    C
    解析
    Apache 的主配置文件是:/etc/http/conf/http.conf
    默认站点目录:/var/www/html

  2. The metric assigned to each network depends on the type of protocol.Some simple protocol, like RIP, treats each network as equals.The  (1)  of passing through each network is the same;it is one  (2)  count.So if a packet passes through 10 network to reach the destination, the total cost is 10 hop counts.Other protocols, such as OSPF, allow the administrator to assign a cost for passing through a network based on the type of service required.A  (3)  through a network can have different costs(metrics).For example, if maximum  (4)  is the desired type of service, a satellite link has a lower metric than a fiber-optic line.On the other hand, if minimum  (5)  is the desired type of service, a fiber-optic line has a lower metric than a satellite line.OSPF allow each router to have several routing table based on the required type of service.
    问题1:
    A. number
    B. connection
    C. diagram
    D. cost
    问题2:
    A. process
    B. hop
    C. route
    D. flow
    问题3:
    A. flow
    B. window
    C. route
    D. cost
    问题4:
    A. packet
    B. throughput
    C. error
    D. number
    问题5:
    A. delay
    B. stream
    C. packet
    D. cost
    ----------------------------------------
    答案
    D
    B
    C
    B
    A
    解析
    分配给每个网络的度量标准取决于协议的类型。某些简单的协议(例如RIP)将每个网络视为平等。通过每个网络的成本相同;这是一个跳数。因此,如果一个数据包通过10个 网络到达目的地的总成本为10 跳。其他协议(例如OSPF)允许管理员根据所需的服务类型分配通过网络的成本。通过网络的路由可能会有不同的成本 (度量)。例如,如果最大吞吐量是期望的服务类型,则卫星链路的度量要比光纤线路低。另一方面,如果最小延迟是期望的服务类型,则光纤线路的指标比卫星线路的指标低。 OSPF允许每个路由器根据所需的服务类型具有多个路由表。

相关内容转载自希赛网 app

点我回顶部

 
 
 
 
 
 
 
Fin.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值