Before you Compile, Decompress the tarball (tar.gz).
[root@deep ] /# cp FAQ-O-Matic-version.tar.gz /var/tmp/
[root@deep ] /# cd /var/tmp/
[root@deep ]/tmp# tar xzpf FAQ-O-Matic-version.tar.gz
You need to compile, to install the Faq-O-Matic program on your computer, move into the new FAQ-O-Matic directory and type the following commands on your terminal:
[root@deep ] /FAQ-OMatic-2.709# perl Makefile.PL
[root@deep ] /FAQ-OMatic-2.709# make
[root@deep ] /FAQ-OMatic-2.709# make install
[root@deep ] /FAQ-OMatic-2.709# mv fom /home/httpd/cgi-bin/
[root@deep ] /FAQ-OMatic-2.709# mkdir -p /home/httpd/cgi-bin/fom-meta
[root@deep ] /FAQ-OMatic-2.709# mkdir -p /home/httpd/faqomatic
[root@deep ] /FAQ-OMatic-2.709# chown root.www /home/httpd/cgi-bin/fom
[root@deep ] /FAQ-OMatic-2.709# chown -R www.www /home/httpd/cgi-bin/fom-meta/
[root@deep ] /FAQ-OMatic-2.709# chown -R www.www /home/httpd/faqomatic/
The make command will compile all source files into executable binaries
The make install will install the Perl programs and any supporting files into the appropriate locations
The mv command will move the main
fomCGI program of Faq-O-Matic to thecgi-bindirectory of your Apache web server.The mkdir will create new directories named
fom-metaandfaqomaticunder the/home/httpd/directory where we'll handle all related FAQ-O-Matic files.Finally, the chown command will set the owner of the
fomCGI program to be the super-userrootand the group to be the user Apache run aswwwand will set the directoriesfom-metaandfaqomaticto be owned bywwwand group bywww.
You'll receive a temporary password via mail during the compilation of the software. This password will be necessary to complete later the installation of Faq-O-Matic through the web interface.
