apache安装配置(on opensolaris 2008.11):
# pkg install amp
# svcadm enable network/http:apache22
# svcs -a | grep apache % should be online
配置文件在/etc/apache2/2.2/httpd.conf, 修改如下字段:
Listen 80 -> 8080 % http服务端口改为8080
user webuser -> user tfengjun % 注意这里, 不能使用root!
group webuser -> group staff
ServerAdmin you@yourhost.com -> tfengjun@gmail.com
ServerName 127.0.0.1 ->
使用浏览器访问http://:8080显示"It works!"说明配置成功.
阅读(815) | 评论(0) | 转发(0) |