Solaris10 Apache
http://blogimg.chinaunix.net/blog/upfile/070624094654.jpg
Solaris 10系统上已经缺省安装了两个版本的apache:
进入/etc/目录能看到两个apache目录
进入/usr/目录能看到两个apache目录
利用tab键查看
bash-3.00# cd /etc/apache
apache/apache2/
bash-3.00# cd /usr/apache
apache/apache2/
复制配置文件:
bash-3.00#cd /etc/apache
bash-3.00#cp httpd.conf-example httpd.conf
启动:
bash-3.00# /etc/init.d/apache start
httpd starting.
bash-3.00# /usr/apache/bin/apachectl start: httpd started
关闭
bash-3.00# /etc/init.d/apache stop
httpd stopping.
bash-3.00# /usr/apache/bin/apachectl stop: httpd (no pid file) not running
服务状态可用下面命令检查:
bash-3.00#svcs -a |grep apache
用浏览器访问,如图:
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/26090/showart_327348.html
页:
[1]