Chinaunix首页 | 论坛 | 博客
  • 博客访问: 142720
  • 博文数量: 24
  • 博客积分: 2010
  • 博客等级: 大尉
  • 技术积分: 291
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-01 09:36
文章分类

全部博文(24)

文章存档

2010年(4)

2009年(13)

2008年(7)

我的朋友

分类: 系统运维

2008-12-03 15:42:46

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!"说明配置成功.
阅读(786) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~