Page 232 - DCAP602_NETWORK_OPERATING_SYSTEMS_I
P. 232

Network Operating Systems-I




                    notes          To compile, decompress the tarballs (tar.gz).

                                   [root@deep ]/# cp apache_version.tar.gz /var/tmp
                                   [root@deep ]/# cp mod_ssl-version-version.tar.gz /var/tmp
                                   [root@deep ]/# cp mod_perl-version.tar.gz /var/tmp
                                   [root@deep ]/# cp php-version.tar.gz /var/tmp
                                   [root@deep ]/# cd /var/tmp/
                                   [root@deep ]/tmp# tar xzpf apache_version.tar.gz
                                   [root@deep ]/tmp# tar xzpf mod_ssl-version-version.tar.gz
                                   [root@deep ]/tmp# tar xzpf mod_perl-version.tar.gz
                                   [root@deep ]/tmp# tar xzpf\ php-version.tar.gz

                                   apache command Line

                                   You may require to run Apache from the command line infrequently. You can obtain a complete
                                   listing of the Apache command line choices by using the “-help” argument. For instance, you
                                   would need to open a command window and cd to the Apache directory. On UNIX, cd into the
                                   bin directory under Apache. Now run the command:
                                   apache -help
                                   Or on UNIX:
                                   apache-lyris -help

                                   With respect to the command line tools mentioned herein, it is implied that you are running in
                                   a command window (MS-DOS prompt on Windows or xterm/cmdtool or equivalent on UNIX/
                                   Linux) and are at present in the Apache directory.

                                   UNIX Specific Tools

                                   If you are running on Solaris or Linux, there are suitable scripts available to you to start, stop, and
                                   restart Apache. These are kept in the Apache/bin directory, directly below the Lyris directory.
                                   For example, from that directory, you would run:

                                   ./stop
                                   or
                                   ./start
                                   or
                                   ./restart

                                   Depending on what you require to do.

                                   Windows Specific Tools
                                   If you are running on Windows, you may have need for numerous different command line tools.
                                   For example, on Windows you can start Apache in the foreground very easily by issuing the
                                   following command from the Apache directory:
                                   apache






          226                              LoveLy professionaL university
   227   228   229   230   231   232   233   234   235   236   237