Apache Packed with Solaris 10
Monday, November 27, 2006
Apache packed with Solaris 10 :
This tip for the Solaris user who wants to configure Apache in Solaris Operating System.
Apache 1.3.x is in /usr/apache; Apache 2.0.x is in /usr/apache2. Configuration files are in /etc/apache
For a standard configuration all you have to do :
1- rename the apache config file "httpd.conf-example" to "httpd.conf ":
#cd /etc/apache
# mv httpd.conf-example httpd.conf
2- run apache :
# /usr/apache/bin/apachectl start
3- test apache :
open your browser
http://localhost or http://127.0.0.1
4- for other IP adress , you have to open your httpd.conf
#cd /etc/apache
#vi httpd.conf
then modify the default adress 127.0.0.1 using your x.x.x.x Ip adress or your host name ( for valid dns )in " Server Name" line:
ServerName x.x.x.x
Troubleshoot:
do a
pkginfo | grep -i apache
there should be all, or some of these packages:
SUNWaclg Apache Common Logging
SUNWapch2d Apache Web Server V2 Documentation
SUNWapch2r Apache Web Server V2 (root)
SUNWapch2u Apache Web Server V2 (usr)
SUNWapchd Apache Web Server Documentation
SUNWapchr Apache Web Server (root)
system SUNWapchu Apache Web Server (usr)
If all the packages are installed, you should find the config files under /etc/apache
Apache will start at boot, if you have /etc/apache/httpd.conf
More : Apache Solaris 10
posted by Arun @ 3:31 PM,
![]()
