编辑/etc/httpd/conf/httpd.conf配置端口,把80修改为8080
举一反三
- 将apache配置文件中的端口号直接修改为8080,可用() A: grep’s/listen.*/listen8080/’/etc/httpd/conf/httpd.conf B: sed-i’s/listen.*/listen8080/’/etc/httpd/conf/httpd.conf C: sed’/listen.*/d’/etc/httpd/conf/httpd.conf D: sed-n’/listen.*/p’/etc/httpd/conf/httpd.conf
- Apache的主配置文件是( )。 A: /etc/httpd/conf B: /etc/httpd/httpd.conf C: /etc/httpd/conf/httpd.conf D: /etc/httpd.conf
- Apache 主要的配置文件是 A: /etc/httpd/conf/con.conf B: /etc/httpd/conf/apdd.conf C: /etc/httpd/conf/httpd.dns D: /etc/httpd/conf/httpd.conf
- Linux操作系统中,网络管理员可以通过修改______文件对Web服务器的端口进行配置。 A: /etc/inetd.conf B: /etc/lilo.conf C: /etc/httpd/conf/httpd.conf D: /etc/httpd/conf/access.conf
- Apache服务器的主配置文件httpd.conf位于()目录下。 A: /etc/httpd B: /etc/conf C: /etc/httpd/conf D: /etc/conf/httpd