HowTo: Install Apache
From SCInterface Wiki
The following section briefly outlines two options for installing a web server compiled with PHP support to work with SCInterface.
The HowTo: Install SCInterface Web UI from Source wiki article also provides some instructions for manually installing the web interface directly from source if you are still having problems.
Using Yum to Install Apache on CentOS 5
Yum is a package management tool that is very useful to installing Apache.
- To install the latest version of Apache using yum along with all of the necessary UI dependencies for SCInterface, run:
- yum install httpd php php-gd
- yum --enablerepo=centosplus install php-mcrypt libmcrypt libmcrypt-devel
- service httpd restart
- The default location of the Apache webserver will be:
- /var/www/html
- Point to this folder when installing the UI using the SCInterface installation script.
- Optional: You may want to configure the web server to automatically point to the SCInterface UIinstallation. To do this, type:
- echo "<?php Header("Location: ./scinterface/"); ?>" > /var/www/html/index.php
Manually Installing Apache
The installation of Apache and Apache 2 can be complicated. Please refer to Apache.org for more information. Make sure that the Apache is installed with PHP support.
- On Redhat-based systems (fedora, redhat entreprise, centos, etc...), you might have difficulties finding the various php modules necessary. (The interface login area will be disabled telling you which modules are missing). One site that is a good reference to find what you need is http://phprpms.sourceforge.net/ (for the ones that yum can't find)
Installing Xampp HTTP Server on Linux
Another option install of Apache is to install Xampp. Its main website is http://www.xampp.org. Xampp Is easily installed by just extracting a compress file, Installation instructions is at http://www.apachefriends.org/en/xampp-linux.html. It is compiled with all the PHP modules needed for the UI.
The following assumes that you are running the SCM on the same system as the UI. Here are the general basics for configuring Xampp:
- Download Xampp
- Login as root to your Linux server and use wget to retrieve the file.
- Run: tar xvfz xampp-linux-1.6.4.tar.gz -C /opt
- Set Xampp Security - Run: /opt/lampp/lampp security
- Follow the on-screen display and set the passwords for all necessary dependencies.
- Start Xampp's Apache server (MySQL is not needed): /opt/lampp/lampp php4
- If you have not already done so, go to http://www.scinterface.com and download the latest installer for SCInterface.
- Install the SCInterface UI by running: /root/scinterface_install.sh
- When prompted to install the UI, set the UI installation path to: /opt/lampp/htdocs
- This is the root www folder of the Xampp installation.
- After installing SCInterface, point your web browser to: http://<ip_address_of_your_server>/scinterface/www/

