Professional Documents
Culture Documents
# ln –s /u01/drmoorejr/GGapache-2.0.55 /opt/GGapache-2.0.55
I do this for temporary use that way the program is compiled with the home dir of
apache 2.0.55 in /opt/apache2…. But I want to do the “work” in my home
directory… so I can compile/install into a sub dir … for preparation for building the
Solaris package.
The source files were named: httpd-2.0.55.tar.gz, next I unzip and untar the file…
in my home directory.
Now, cd into the directory that’s created from un-tar-ing the above file.
You now must get your program to compile and run. Go to the directory containing
the source and read the instructions. Most programs have detailed installation
instructions either in a README, INSTALL, or similar file. Once you have the program
compiled you will need to run something like "make install". This will put the files in
wherever you specify using the “--prefix=”. Here is an example of my Apache2
config.nice file:
#! /bin/sh
#
# Created by configure
"./configure" \
"--prefix=/opt/GGapache-2.0.55" \
"--enable-cgi" \
"--enable-access" \
"--enable-s0" \
"--enable-auth" \
"--enable-userdir" \
"--enable-rewrite" \
"--enable-mods-shared=all" \
"$@"
Now take your editor and edit out the line that has the prototype file name in it.
Then add a line like
i pkginfo=./pkginfo
Finally, convert all the user and group ownerships from whatever they are to bin
and bin
Postinstall scripts
….I haven;’t added any here…. But a link in /etc/init.d called GGapache-2.0.55
pointing to /opt/GGapache-2.0.55/bin/apachectl would be appropriate I believe.