|
|
Installing Apache/JServ on Irix 6.5.4 |
| This is how I installed Apache 1.3.6 with JServ-1.0 on an SGI O2 with Irix 6.5.4. Please note that I do not claim to be an expert in anything. I used directions from web sites and the apache users' group, and clues from searching the mailing list archives. Since I did need to pull the info together in a way that worked for my operating system, I am posting what I learned in case it may of use to someone else. There were 2 stages: A. Set-up B. Install and Automate A.Set-up 1a.Download the apache and jserv tar.gz files from web, and decompress to .tar files. 1b.I used this directory structure, and my scripts reflect it: /usr3/downloads - .tar files for apache and jserv (decompressed from tar.gz to .tar) /usr3/install - apache and jserv installation files (my scripts and directions) /usr3 - place where apache and jserv source files are unpacked /usr/local/apache - place where apache is installed; this is the default2.In order to get jserv compiled into apache, I needed to add 2 unix tools and use them to install both apache and jserv. The tools are gmake, which is used instead of make, and a current version of gcc, namely gcc-2.95. This was the complicated part. 2a: I first installed the developer libraries from 2 CD's that came with SGI's 6.5 release, then downloaded gmake and gcc from the Freeware section of SGI's website and installed them using SGI's software installer. Since step 2b builds a more recent gcc, I think you could skip the freeware gcc. I did need gmake. I don't know whether or not the material in the CD libraries is needed for gmake or for building the newer gcc. 2b: I downloaded gcc-core-2.95.tar.gz from ftp://go.cygnus.com/pub/sourceware.cygnus.com/pub/egcs/releases/gcc-2.95/ and carefully followed the directions to configure and build, using 'gmake' rather than 'make' and using default configurations only. This put the current version of gcc into /usr/local/bin and also created new versions of related files. B.Install and Automate I worked interactively in the shell, then put the commands into a script and directions files. I rebuilt from the scripts until they worked properly. Now that I have it figured out, I simply run my install script and then follow the directions in my configure-directions file. I have 4 files, which are included below. The files are "summaryInstall", "conf-options", "jserv.sh", and config-directions. It's a good idea to make and test your own versions, so you can rebuild as needed without figuring out the details all over again.
-----summaryInstall - a file with directions for doing the install % cd /usr3/install % su(if needed) % chmod u+x jserv.sh(then do this) 1% setenv CC /usr/local/bin/gcc 2% ./jserv.sh 3% follow directions in config-direction
-----conf-options - a configure command for jserv - be sure to change the java paths to the ones that you are using on your system! (adjust apache config file) vi /usr/local/apache/conf/httpd.conf (comment out) #Port 80
(add) Port 81
(note: with port 88, apache worked but jserv did not;
with port 8080, apache did not work)
(I think the port oddity is because Netscape FastTrack Server is already installed with the operating system.)
(adjust jserv config files) vi /usr3/ApacheJServ-1.0/example/jserv.properties log=true;
log.file=/usr/local/apache/logs/jserv.log
vi /usr3/ApacheJServ-1.0/example/jserv.conf
(catch mod_jserv errors and redirect to apache error log)
(near line 24, change ApJServLogFile entry to this )
ApJServLogFile DISABLED
(restart apache)
/usr/local/apache/bin/apachectl restart
Joan Friedman
email: jmf@melsud.res.ray.com
August 5, 1999
| |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||||