下面的文档是从sun的网站上当下来的。只要做很少的改动就可以配置成功。
System Requirements for Solaris NCA
To support Solaris NCA, the system must meet these requirements:
• 256-Mbytes RAM
• Solaris 8 OE, update 7/01 or later
Installation and Configuration
Libraries
If a Web server does not use a native Solaris NCA sockets interface (that is, a socket of type
AF_NCA/PF_NCA,ncad_addr.so), it can be preloaded. Add a line such as LD_PRELOAD=/
usr/lib/ncad_addr.so/usr/sbin/httpd (这个地方要改成你装的apache的目录的bin下的httpd例如/usr/local/apache/bin/httpd) in the Web server startup script.
How to Configure Web Servers to Use Solaris NCA
1) Register the interfaces
Enter the names of each of the physical interfaces in the /etc/nca/nca.if file
(See the nca.if(4) man page for more information).
# cat /etc/nca/nca.if
hme0
hme1
P6 Installation and Configuration ©2002 Sun Microsystems, Inc.
For each interface, there must be an accompanying hostname.interface-name file and an
entry in /etc/hosts file for the contents of hostname.interface-name. To bring up the Solaris
NCA feature on all interfaces, place an asterisk (*) in the nca.if file.
2) Enable the ncakmod kernel module
Change the status entry in /etc/nca/ncakmod.conf to enabled.
# cat /etc/nca/ncakmod.conf
#
# NCA Kernel Module Configuration File
#
status=enabled
httpd_door_path=/var/run/nca_httpd_1.door
ncad_status=disabled
nca_active=disabled
See the ncakmod.conf(4) man page for more information.
3) Enable NCA logging
Change the status entry in /etc/nca/ncalogd.conf to enabled.
# cat /etc/nca/ncalogd.conf
#
# NCA Logging Configuration File
#
status=enabled
logd_path_name="/var/nca/log"
logd_file_size=1000000
The location of the log file can be changed by changing the path indicted by the
logd_path_name entry. See the ncalogd.conf(4) man page for more information.
How to Disable Caching of Web Pages
| 论坛热门帖子: | [lch203] 写得蛮好的linux学习笔记(10-21) [黑马制造] 学习java的30个目标(10-19) [笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19) [udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18) [沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18) |
| TAG标签: | 文档 配置 WhentoChange: disabled Inc. manpage 回复 |
注册
个人空间
