Open it with the following command: $ vi /etc/httpd/conf/httpd.conf.
使用下面的命令打开它:$vi /etc/httpd/conf/httpd.conf。
As an example, you can turn Apache (httpd) on by adding the line httpd=YES to /etc/rc.conf.
例如,要开启Apache (httpd),您可以在 /etc/rc.conf中添加 httpd=YES行 。
You should modify the value of server1's installation path to be the one used by your local httpd installation.
您应该将 server1的安装路径值修改为您的本地httpd 安装使用的安装路径值。
It is important to stay current on operating system, httpd, php, and DB2 maintenance, particularly as related to security issues.
时时关注操作系统、httpd、php和DB2维护,尤其是事关安全的方面,这一点很重要。
This line tells the Zero runtime that it should allow for the /httpd/{id}/process URI pattern that we documented in our REST tables.
此行告诉Zero运行时应该允许我们在 REST 表中归档的 /httpd/{id}/processURI模式。
Mini-httpd handles multiple concurrent requests in a single system thread, while demanding little from its host in the way of memory or CPU.
mini - httpd可以在一个系统线程中处理多个并发请求,但是在主机上占用的内存或CPU很少。
Anti-Web HTTPD (also "Anti-Web", "awhttpd", and "aw") is a single-process, non-threaded, CGI-capable server that emphasizes security and simplicity.
Anti - Webhttpd(也称“Anti - Web”、“awhttpd”和“aw”)是一款单进程、无线程、支持CGI的服务器,它强调安全性和简单性。
Mod_Cluster support is included out-of-the-box, which allows JBoss as 6 servers to dynamically discover and register to front-end apache httpd servers.
Mod_Cluster支持是开箱即用的,这样JBossAS6服务器就可以动态探测并注册到前端的apache httpd服务器了。
To set up a named virtual host for the application, open the Apache configuration file (httpd.conf or httpd-vhosts.conf) and add the following lines to it
要为应用程序设置一个已命名的虚拟主机,请打开Apache配置文件(httpd.confor httpd-vhosts.conf)并添加以下行
After you've completed the JSON-RPC service, you can install it to be served by Apache HTTPD by adding the code shown in Listing 18 to the httpd.conf file.
完成JSON - RPC服务之后,可以在httpd. conf文件中添加清单18所示的代码,让Apache httpd提供它以供使用。
The extension-type mappings are stored in the mime.types file in the httpd/conf directory (usually somewhere like the /usr/httpd/conf or /etc/httpd/conf directory).
扩展名类型映射存储于httpd/conf目录(通常是类似 /usr/httpd/conf或 /etc/httpd/conf 的目录)下的 mime.types文件中。
This entry will override Zero's default port of 8080 with the value 9080; httpd also has a default port of 8080, and we don't want any conflicts between our Zero application and httpd processes.
此条目将使用值 9080覆盖Zero的默认端口 8080;httpd也具有默认端口 8080,而我们不希望在 Zero应用程序和 httpd 进程之间发生任何冲突 。
With HTTPD installed and ready, we need to create a Zero project to hold our code.
安装并准备好httpd之后,需要创建一个Zero项目来存放代码。
Restarting the HTTPD daemon and rerunning the tests gave the results shown in Listing 5.
重新启动httpd守护进程并再次运行这些测试,其结果如清单5所示。
If there are no HTTPD processes in the process list, the results of the test are discounted.
如果进程表中没有httpd进程,则测试结果将不予考虑。
You'll see that services, such as HTTPD and NFS, are turned off by default — even PF is off.
您将看到在缺省情况下关闭了一些服务,如httpd和nfs,甚至关闭了PF。
With our HTTPD installation resources defined, we can move on to the HTTPD process resources.
定义httpd安装资源之后,继续查看httpd进程资源。
A more secure configuration would use the Apache HTTPD to process requests and hand them to Tomcat.
更安全的配置可以使用Apache的httpd处理请求并把它们交给Tomcat。
Click Send, and you should see a response that includes a JSON representation of your HTTPD installation.
单击Send,应该会看到一个响应,其中包括httpd安装的JSON表示。
In fact, you'll be able to verify the operations your code is having on HTTPD without leaving your browser!
实际上,无需离开浏览器,您就能够验证代码对httpd执行的操作!
Having HTTPD installed as a service will allow us to start and stop the server asynchronously from our code.
安装httpd作为服务将允许我们从代码中异步启动和停止服务器。
You then upload the HTML to a Web server, like Apache HTTPD, and make it public on the Internet or an Intranet.
然后您将HTML上载到Web服务器,例如ApacheHTTPD,并将其公开在Internet或intranet上。
At this point, we have a complete implementation of a RESTful API for HTTPD, but we don't have an easy way to test it.
此时,我们完全实现了httpd的RESTfulAPI,但是我们没有简单的方法来测试它。
The server listens for HTTPD requests to the sca REST services and invokes the Tuscany runtime if such a request is received.
服务器侦听对scaREST服务的HTTPD请求,并在接收到此类请求时调用Tuscany运行时。
Listing 5 shows that we pick out the HTTPD configuration properties that we want to expose as we create the JSON response data.
清单5显示我们挑选的httpd配置属性,这些属性是在创建JSON响应数据时要公开的属性。
You should see an index page that lists all of the RESTful resources types in your application, with HTTPD and process among them.
应该能看到一个索引页面,此页面列出了应用程序中的所有RESTful资源类型,其中包括httpd和process。
The ps and grep commands search through all processes for the HTTPD (and skip the grep process that's looking for the HTTPD processes).
ps和grep命令用来在所有的进程中搜索httpd(并且忽略用来搜索httpd进程的grep进程)。
To avoid any possible data consistency issues during the upgrade, I shut down the HTTPD daemon and stopped the lpar2rrd script from running.
为了避免在升级过程中出现任何数据一致性问题,我关闭了httpd后台程序并停止运行lpar2rrd脚本。
Groovy; it's very simple because this resource type is only used to start the server, stop the server, and check for the existence of an HTTPD process.
它非常简单,因为此资源类型仅用于启动服务器、停止服务器并检查httpd进程的存在。
If you need to simulate a load on an Apache server (or any Web server), you can use Apache Bench, which is included in the standard Apache HTTPd distribution.
如果需要在Apache服务器(或其他Web服务器)上模拟一个加载,可以使用ApacheBench(包含在ApacheHTTPd标准发行版里)。
应用推荐