单项选择题
要开启apache的基于域名的虚拟主机功能,要用到的配置项为()
A.NameVirtualHost*:80
B.ServerTokens OS
C.PidFile run/httpd.pid
D.ServerRoot“/etc/httpd”
点击查看答案&解析
相关考题
-
单项选择题
要直接修改一个配置文件的配置项,我们可使用()
A.awk-F
B.cat
C.sed-i
D.sed-n -
单项选择题
使用sed将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 -
判断题
“scp?file.txt root@192.168.24.1:/root”表示将本地的file.txt文件传输到远程主机192.168.24.1的/root目录下。
