This is only a working draft and needs someone to test it and add any additional comments. These are the steps I used. I did not write down every single step, so there might be a few areas missing (dependencies is the challenge). These directions came with a lot of sweat and almost blood. Please let me know what what can be added.
Howto Install Koha on SME
1. Install all dependencies following directions at
http://www.kohadocs.org/Installing_Koha_on_Fedora.htmlUnder the Fedora section 3.
Do a Google search for the place to download any dependencies. Make sure the package is for Centos. If you receive an error message that a dependency is needed, look for the exact package with the above method. Download them to the SME server (download to another machine and ssh is one method) and install with rpm –ivh packagename.rpm
To install gcc (needed for the Perl Modules):
db yum_repositories show centosplus
db yum_repositories show base
db yum_repositories setprop base status enabled
db yum_repositories setprop base Visible yes
db yum_repositories setprop centosplus Visible yes
db yum_repositories setprop centosplus status enabled
expand-template /etc/yum.conf
yum install gcc gcc-c++
2. Download Koha and extract into a temp or working folder:
http://www.koha.org/download/ Follow the install directions for Koha.
For the specific questions asked during the installation, the following is recommended:
Opac install directory:
/home/e-smith/files/ibays/Primary/html/koha/opac
Intranet install directory:
/home/e-smith/files/ibays/Primary/html/koha/intranet
Opac port 8000
Intranet port 8080
You will need the root password. You can get this in the root home directory at a file called .my.cnf.
cd /root
cat .my.cnf
3. Once Koha is installed, you need to do the following:
a. Modify the koha-httpd.conf file:
pico /etc/koha-httpd.conf
Uncomment the lines
Listen 8000
Listen 8080
Save and copy to:
cp /etc/koha-httpd.conf /etc/e-smith/templates/httpd/conf/httpd.conf/94Kohahttpdconf
expand-template /etc/httpd/conf/httpd.conf
service httpd-e-smith restart
b. Open up two new ports:
You'll need to allow access through the firewall to ports 8000 and 8080. You can do that by creating a custom template fragment
pico /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/46Allow2ndhttp
Add the following lines and save:
{
$OUT = allow_tcp_in(8000, 1);
}
{
$OUT = allow_tcp_in(8080, 1);
}
Then do:
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq
/etc/rc.d/init.d/masq adjust
Test.