![]() |
NOTE: If you selected Web Server during the installation of your Solaris server, Apache is already installed.
To install Apache version 1.3.20 Web server software on a Solaris server platform:
To set your path in the /etc/profile for JDK 1.3:
Open a terminal window.
Change directories to /etc.
Enter the following command to edit the profile file:
vi profile
Add the following line to the file:
PATH=/user/j2se/bin:$PATH
NOTE: The exact path specified will depend on where the JDK was extracted.
To close and save the file, press Esc + Enter > type :wq > press Enter.
Copy the apache_1.3.20-sun4u-sun-solaris2.280.tar.gz file to a temporary directory on your Solaris server.
To extract the files to your server:
From the root of this distribution, enter the following command to run the install script:
install-bindist.sh
Run as root user.
Edit the ServerRoot and ServerName directives in the http.conf file to match your server configuration.
For example:
ServerName 137.65.151.164
ServerRoot etc/httpd
For Apache/Tomcat integration, add a statement to the end of the http.conf file to include the Tomcat mod_jk.conf-auto file.
For example:
include etc/jakarta-tomcat-3.2.3/conf/mod_jk.conf-auto
IMPORTANT: Use forward slashes (/) in the path.
Install the Tomcat Web application server by following the instructions in Installing Tomcat on a Solaris Server.
IMPORTANT: After installing and running Tomcat at least once, make sure the mod_jk.conf-auto file exists in the location you specified in Step 6.
Open a terminal window and enter httpd start to start Apache.
![]() |