Page 230 - DCAP602_NETWORK_OPERATING_SYSTEMS_I
P. 230
Network Operating Systems-I
notes be installed. If you’re new to the Unix/Linux/BSD world, I should warn you about something.
There are two types of installation packages - source and binary. If you’re new to the Unix world,
try to download a binary format. A binary is the fully compiled version of the application that\’s
ready to be installed on your system.
figure 12.1: apache web server
A source package is just that, it’s the source code to the application. This way you have to compile
it into an executable program all by yourself. One often messes up while compiling an application.
If you’re fortunate, you’ll find your error immediately. If you’re unlucky, it could be hours, days
or weeks before you find out, and then you have to spend time re-compiling it again to fix your
mistakes. Do yourself a favor when first learning Apache - find the binary package for your OS.
You can learn the finer points of compilation later.
Task “If you’re hosting a Web site with mostly static content, Apache is a fireball.”
Comment
12.3 starting apache
Those of you running the RedHat Linux supply may want to take advantage of RedHat\’s
RPM (\”RedHat Package Manager\”) system. Almost identical to a binary, an RPM is further
customized to play nicely with other RPMs and provide a consistent interface to installing,
updating, and removing binaries. They often entail a loss of flexibility and clarity — for instance,
it\’s not readily apparent where the contents of some packages will end up. That said, for Linux
newcomers or when installing a small standard component, RPMs are simple and reliable.
Bear in mind that an Apache RPM may previously be installed on your system depending on
how
Linux was formerly installed on your computer. To find out, at the shell prompt, type:
rpm
-qa | grep apache
224 LoveLy professionaL university