Google Site SearchFN Site Search FN Blog Login FN Blog Login
Site Navigation:
 
 

Installation of LAMP using Apache Toolbox

by Krishnan Subramanian

Now we have to run make
$cd apache_1.3.29/
$sudo make
If everything goes well, you will get the following message
+---------------------------------------------------------------------+
| Before you install the package you now should prepare the SSL       |
| certificate system by running the 'make certificate' command.       |
| For different situations the following variants are provided:       |
|                                                                     |
| % make certificate TYPE=dummy    (dummy self-signed Snake Oil cert) |
| % make certificate TYPE=test     (test cert signed by Snake Oil CA) |
| % make certificate TYPE=custom   (custom cert signed by own CA)     |
| % make certificate TYPE=existing (existing cert)                    |
|        CRT=/path/to/your.crt [KEY=/path/to/your.key]                |
|                                                                     |
| Use TYPE=dummy    when you're a  vendor package maintainer,         |
| the TYPE=test     when you're an admin but want to do tests only,   |
| the TYPE=custom   when you're an admin willing to run a real server |
| and TYPE=existing when you're an admin who upgrades a server.       |
| (The default is TYPE=test)                                          |
|                                                                     |
| Additionally add ALGO=RSA (default) or ALGO=DSA to select           |
| the signature algorithm used for the generated certificate.         |
|                                                                     |
| Use 'make certificate VIEW=1' to display the generated data.        |
|                                                                     |
| Thanks for using Apache & mod_ssl.       Ralf S. Engelschall        |
|                                          rse@engelschall.com        |
|                                          www.engelschall.com        |
+---------------------------------------------------------------------+
Now it is time for make install
$sudo make install
make[1]: Entering directory `/tmp/download/Apachetoolbox-1.5.69/apache_1.3.29'
===> [mktree: Creating Apache installation tree]
./src/helpers/mkdir.sh /usr/local/apache/bin
./src/helpers/mkdir.sh /usr/local/apache/bin
./src/helpers/mkdir.sh /usr/local/apache/libexec
./src/helpers/mkdir.sh /usr/local/apache/man/man1
./src/helpers/mkdir.sh /usr/local/apache/man/man8
./src/helpers/mkdir.sh /usr/local/apache/conf
./src/helpers/mkdir.sh /usr/local/apache/htdocs
./src/helpers/mkdir.sh /usr/local/apache/htdocs/manual
./src/helpers/mkdir.sh /usr/local/apache/icons
./src/helpers/mkdir.sh /usr/local/apache/cgi-bin
./src/helpers/mkdir.sh /usr/local/apache/include
./src/helpers/mkdir.sh /usr/local/apache/include/xml
./src/helpers/mkdir.sh /usr/local/apache/logs
./src/helpers/mkdir.sh /usr/local/apache/logs
./src/helpers/mkdir.sh /usr/local/apache/proxy
chown nobody /usr/local/apache/proxy
chgrp nobody /usr/local/apache/proxy
<=== [mktree]
===> [programs: Installing Apache httpd program and shared objects]
./src/helpers/install.sh -c -m 755 ./src/httpd /usr/local/apache/bin/httpd
./src/helpers/install.sh -c -m 644 ./src/support/httpd.8 /usr/local/apache/man/man8/httpd.8
<=== [programs]
===> [support: Installing Apache support programs and scripts]
./src/helpers/install.sh -c -m 755 -s ./src/support/ab /usr/local/apache/bin/ab
./src/helpers/install.sh -c -m 644 ./src/support/ab.8 /usr/local/apache/man/man8/ab.8
./src/helpers/install.sh -c -m 755 ./src/support/apachectl[*] /usr/local/apache/bin/apachectl
./src/helpers/install.sh -c -m 644 ./src/support/apachectl.8 /usr/local/apache/man/man8/apachectl.8
./src/helpers/install.sh -c -m 755 -s ./src/support/checkgid /usr/local/apache/bin/checkgid
./src/helpers/install.sh -c -m 755 -s ./src/support/htpasswd /usr/local/apache/bin/htpasswd
./src/helpers/install.sh -c -m 644 ./src/support/htpasswd.1 /usr/local/apache/man/man1/htpasswd.1
./src/helpers/install.sh -c -m 755 -s ./src/support/htdigest /usr/local/apache/bin/htdigest
./src/helpers/install.sh -c -m 644 ./src/support/htdigest.1 /usr/local/apache/man/man1/htdigest.1
./src/helpers/install.sh -c -m 755 ./src/support/dbmmanage[*] /usr/local/apache/bin/dbmmanage
./src/helpers/install.sh -c -m 644 ./src/support/dbmmanage.1 /usr/local/apache/man/man1/dbmmanage.1
./src/helpers/install.sh -c -m 755 -s ./src/support/logresolve /usr/local/apache/bin/logresolve
./src/helpers/install.sh -c -m 644 ./src/support/logresolve.8 /usr/local/apache/man/man8/logresolve.8
./src/helpers/install.sh -c -m 755 -s ./src/support/rotatelogs /usr/local/apache/bin/rotatelogs
./src/helpers/install.sh -c -m 644 ./src/support/rotatelogs.8 /usr/local/apache/man/man8/rotatelogs.8
./src/helpers/install.sh -c -m 755 ./src/support/apxs[*] /usr/local/apache/bin/apxs
./src/helpers/install.sh -c -m 644 ./src/support/apxs.8 /usr/local/apache/man/man8/apxs.8
./src/helpers/install.sh -c -m 755 -s ./src/support/suexec /usr/local/apache/bin/suexec
chown root /usr/local/apache/bin/suexec
chmod 4711 /usr/local/apache/bin/suexec
./src/helpers/install.sh -c -m 644 ./src/support/suexec.8 /usr/local/apache/man/man8/suexec.8
<=== [support]
===> [include: Installing Apache C header files]
cp ./src/include/*.h /usr/local/apache/include/
cp ./src/lib/expat-lite/*.h /usr/local/apache/include/xml/
cp ./src/os/unix/os.h /usr/local/apache/include/
cp ./src/os/unix/os-inline.c /usr/local/apache/include/
chmod 644 /usr/local/apache/include/*.h /usr/local/apache/include/xml/*.h
<=== [include]
===> [data: Installing initial data files]
[PRESERVING EXISTING DATA SUBDIR: /usr/local/apache/htdocs/]
Copying tree ./htdocs/manual -> //usr/local/apache/htdocs/manual/
[PRESERVING EXISTING CGI SUBDIR: /usr/local/apache/cgi-bin/]
Copying tree ./icons/ -> /usr/local/apache/icons/
<=== [data]
===> [config: Installing Apache configuration files]
./src/helpers/install.sh -c -m 644 ./conf/httpd.conf-dist[*] /usr/local/apache/conf/httpd.conf.default
[PRESERVING EXISTING CONFIG FILE: /usr/local/apache/conf/httpd.conf]
./src/helpers/install.sh -c -m 644 ./conf/access.conf-dist[*] /usr/local/apache/conf/access.conf.default
[PRESERVING EXISTING CONFIG FILE: /usr/local/apache/conf/access.conf]
./src/helpers/install.sh -c -m 644 ./conf/srm.conf-dist[*] /usr/local/apache/conf/srm.conf.default
[PRESERVING EXISTING CONFIG FILE: /usr/local/apache/conf/srm.conf]
./src/helpers/install.sh -c -m 644 ./conf/mime.types /usr/local/apache/conf/mime.types.default
[PRESERVING EXISTING CONFIG FILE: /usr/local/apache/conf/mime.types]
./src/helpers/install.sh -c -m 644 ./conf/magic /usr/local/apache/conf/magic.default
[PRESERVING EXISTING CONFIG FILE: /usr/local/apache/conf/magic]
<=== [config]
make[1]: Leaving directory `/tmp/download/Apachetoolbox-1.5.69/apache_1.3.29'
+--------------------------------------------------------+
| You now have successfully built and installed the      |
| Apache 1.3 HTTP server. To verify that Apache actually |
| works correctly you now should first check the         |
| (initially created or preserved) configuration files   |
|                                                        |
|   /usr/local/apache/conf/httpd.conf
|                                                        |
| and then you should be able to immediately fire up     |
| Apache the first time by running:                      |
|                                                        |
|   /usr/local/apache/bin/apachectl start
|                                                        |
| Or when you want to run it with SSL enabled use:       |
|                                                        |
|   /usr/local/apache/bin/apachectl startssl
|                                                        |
| Thanks for using Apache.       The Apache Group        |
|                                http://www.apache.org/  |
+--------------------------------------------------------+

If you get this message, your installation is successful. Please note that some of the messages above are edited for my system's privacy. Also note that you may get different message while installing depending on your system configuration. Refer to information on the net to solve problems you encounter.