网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

如果在Apache服务器中需要使用/usr/local/lib/icons/下的gif文件,那么最简单的方法()。

  • A、在httpD.conf文件中使用符号链接
  • B、在httpD.conf文件中添加Alias/image/usr/local/lib/icons
  • C、在httpD.conf文件中使用重定向
  • D、在$DOCUMENT_ROOT下创建一个image目录,然后将文件复制到此目录下

参考答案

更多 “如果在Apache服务器中需要使用/usr/local/lib/icons/下的gif文件,那么最简单的方法()。A、在httpD.conf文件中使用符号链接B、在httpD.conf文件中添加Alias/image/usr/local/lib/iconsC、在httpD.conf文件中使用重定向D、在$DOCUMENT_ROOT下创建一个image目录,然后将文件复制到此目录下” 相关考题
考题 ●试题二[说明]阅读以下资料后,回答问题。Apache服务器的设置文件位于/usr/local/apache/conf/目录下,传统上使用3个配置文件httpD.conf,access.conf和srm.conf来配置Apache服务器的行为。httpD.conf提供了最基本的服务器配置,是对守护程序httpd如何运行的技术描述;srm.conf是服务器的资源映射文件,告诉服务器各种文件的MIME类型,以及如何支持这些文件;access.conf用于配置服务器的访问权限,控制不同用户和计算机的访问限制;这3个配置文件控制着服务器的各个方面的特性,因此为了正常运行服务器便需要设置好这3个文件。[问题1]如何设置httpD.conf,使得Apache服务器监听在特定的端口?[问题2]如何在Apache服务器中设置每个连接的最大请求数?[问题3]如何使得Apache服务器只监听特定的IP?[问题4]如何修改Apache服务器的文档根目录?[问题5]如何屏蔽来自某个Internet地址的用户访问Apache服务器?

考题 Apache Web 服务器的配置文件一般位于/usr/local/apache/conf目录,其中用来控制用户访问Apache 目录的配置文件是:()A.httpd.confB.srm.confC.inetd.confD.access.conf

考题 Whichofthesecommandsallowsyoutousesharedlibrariesthatarein/usr/local/lib?() A.exportLD_PRELOAD=/usr/local/libB.exportLD_LIBRARY_PATH=/usr/local/libC.Idconfig/usr/local/libD.Idd/usr/local/lib

考题 Whenrunonamachinecalledclient,whichofthefollowingcommandswillmountthe/usr/local/bindirectoryfromthehostoverthe/home/bindirectoryonclient?() A.mounthost:/home/bin/usr/local/binB.mountclient:/home/bin/usr/local/binC.mount-nhost/usr/local/bin/home/binD.mount-ohost:/usr/local/bin/home/bin

考题 Whichcronentrywillrun/usr/local/bin/myscriptat0500everySaturdayofthefollowing?() A.05**6/usr/local/bin/myscriptB.056**/usr/local/bin/myscriptC.6**50/usr/local/bin/myscriptD.50Sat**/usr/local/bin/myscript

考题 Asystemadministratorwantstorunascriptcalledmyscript,butdoesnotwanttoseetheerrorsthatmightbegeneratedbythescript.Howwouldthisbeaccomplished?() A./usr/local/bin/myscript/dev/nullB./usr/local/bin/myscript/dev/nullC./usr/local/bin/myscript2/dev/nullD./usr/local/bin/myscript1/dev/null

考题 WhichofthefollowingisTRUEabouterrorprocessing?() A.Theerrordaemonrunsintheforegroundandreadsthe/etc/errptfile.B.Theerrordaemonisinvokedbytheuserwhenrequiredanditreadsthe/usr/lib/errpt.C.Theerrordaemonisinvokedwhenevertheerroroccursanditreadsthe/usr/lib/errpt.D.Theerrordaemon/usr/lib/errdemonrunsinthebackgroundonmostmachinesandreadsthe/dev/errorspecialfile.

考题 在计算机A上,通过NFS把计算机B上的/usr/lib挂接到A的/usr/lib需要执行()。 A.connect B:/usr/lib/usr/libB.ln B:/usr/lib/usr/libC.mount B:/usr/lib/usr/libD.mount A:/usr/lib B:/usr/lib

考题 可加载模块一般位于系统的()目录下 A./lib/modulesB./lib/modules/x.y.z(x.y.z是内核的版本号)C./usr/libD./usr/local/lib

考题 ApacheWeb服务器的配置文件一般位于/usr/local/apache/conf目录,其中用来控制用户访问Apache目录的配置文件是()A、ttpd.confB、srm.onfC、access.confD、inetd.conf

考题 Apache服务器的配置文件httpd.conf中有很多内容,请解释如下配置项: (1)MaxKeepAliveRequests200 (2)UserDirpublic_html (3)DefaultTypetext/plain (4)AddLanguareen.en (5)DocumentRoot“/usr/local/httpd/htdocs” (6)AddTypeapplication/x-httpd-php.php.php.php4

考题 使用rpm方式安装完apache服务后,默认的配置文件httpd.conf位于哪个目录下?()A、/etc/httpd/conf/B、/usr/local/C、/sbin/etc/D、/var/log

考题 可加载模块一般位于系统的()目录下A、/lib/modulesB、/lib/modules/x.y.z(x.y.z是内核的版本号)C、/usr/libD、/usr/local/lib

考题 Which of these commands allows you to use shared libraries that are in /usr/local/lib?()A、 export LD_PRELOAD=/usr/local/libB、 export LD_LIBRARY_PATH=/usr/local/libC、 Idconfig /usr/local/libD、 Idd/usr/local/lib

考题 A system administrator issued the errpt command and had no results. The system administrator determined that error logging was turned off. Which of the following commands should be used to start logging system errors?()A、/usr/bin/errmsgB、/usr/lib/errdemonC、/usr/lib/errloggerD、/usr/bin/errinstall

考题 Which cron entry will run /usr/local/bin/myscript at 0500 every Saturday of the following?()A、0 5 * * 6 /usr/local/bin/myscriptB、0 5 6 * * /usr/local/bin/myscriptC、6 * * 5 0 /usr/local/bin/myscriptD、5 0 Sat * * /usr/local/bin/myscript

考题 When run on a machine called client, which of the following commands will mount the /usr/local/bin directory from the host over the /home/bin directory on client?()A、mount host:/home/bin /usr/local/binB、mount client:/home/bin /usr/local/binC、mount -n host /usr/local/bin /home/binD、mount -o host:/usr/local/bin /home/bin

考题 A backup is taken using the following command:tar -cvf abcdef.tar /usr/local/include/tcpd.h The operator is in the directory /usr/local/restores and runs the following command: tar -xvf abcdef.tar. Where will the file be restored?()A、/usr/local/include/tcpd.hB、/usr/local/restores/tcpd.hC、/usr/local/restores/include/tcpd.hD、/usr/local/restores/usr/local/include/tcpd.h

考题 Which cron entry will run /usr/local/bin/myscript at 0500 every Saturday()A、5 0 * * 6 /usr/local/bin/myscriptB、6 * * 5 0 /usr/local/bin/myscriptC、0 5 * * 6 /usr/local/bin/myscriptD、0 5 6 * * /usr/local/bin/myscript

考题 单选题A system administrator issued the errpt command and had no results. The system administrator determined that error logging was turned off. Which of the following commands should be used to start logging system errors?()A /usr/bin/errmsgB /usr/lib/errdemonC /usr/lib/errloggerD /usr/bin/errinstall

考题 单选题Which of these commands allows you to use shared libraries that are in /usr/local/lib?()A  export LD_PRELOAD=/usr/local/libB  export LD_LIBRARY_PATH=/usr/local/libC  Idconfig /usr/local/libD  Idd/usr/local/lib

考题 单选题使用rpm方式安装完apache服务后,默认的配置文件httpd.conf位于哪个目录下?()A /etc/httpd/conf/B /usr/local/C /sbin/etc/D /var/log

考题 单选题在计算机A上,通过NFS把计算机B上的/usr/lib挂接到A的/usr/lib需要执行()。A connect B:/usr/lib/usr/libB ln B:/usr/lib/usr/libC mount B:/usr/lib/usr/libD mount A:/usr/lib B:/usr/lib

考题 单选题如果在Apache服务器中需要使用/usr/local/lib/icons/下的gif文件,那么最简单的方法()。A 在httpD.conf文件中使用符号链接B 在httpD.conf文件中添加Alias/image/usr/local/lib/iconsC 在httpD.conf文件中使用重定向D 在$DOCUMENT_ROOT下创建一个image目录,然后将文件复制到此目录下

考题 问答题Apache服务器的配置文件httpd.conf中有很多内容,请解释如下配置项: (1)MaxKeepAliveRequests200 (2)UserDirpublic_html (3)DefaultTypetext/plain (4)AddLanguareen.en (5)DocumentRoot“/usr/local/httpd/htdocs” (6)AddTypeapplication/x-httpd-php.php.php.php4

考题 单选题ApacheWeb服务器的配置文件一般位于/usr/local/apache/conf目录,其中用来控制用户访问Apache目录的配置文件是()A ttpd.confB srm.onfC access.confD inetd.conf

考题 单选题Which cron entry will run /usr/local/bin/myscript at 0500 every Saturday()A 5 0 * * 6 /usr/local/bin/myscriptB 6 * * 5 0 /usr/local/bin/myscriptC 0 5 * * 6 /usr/local/bin/myscriptD 0 5 6 * * /usr/local/bin/myscript

考题 单选题可加载模块一般位于系统的()目录下A /lib/modulesB /lib/modules/x.y.z(x.y.z是内核的版本号)C /usr/libD /usr/local/lib