Installing Koha: Configure apache2 web server and run koha web installer

  1. Installing Koha : Introduction
  2. Installing Koha: Create a User Account on Debian
  3. Installing Koha: Update Debian packages
  4. Installing Koha: Download koha and install required packages
  5. Installing koha: Create MySQL database
  6. Installing Koha: Configure the installer and install koha
  7. Installing Koha: Configure apache2 web server and run koha web installer
  8. Installing Koha: Configure and start Zebra

At this stage, koha is actually installed. We now need to make apache2 web server serve koha’s web pages. When you access the server’s IP address in the browser, you should be able to see apache2’s default web page. We need to reconfigure apache2 to change that so that we see koha.

Create a symbolic link from where koha is installed to apache2 with the following command

sudo ln -s /etc/koha/koha-httpd.conf /etc/apache2/sites-available/koha.conf

Then add the following lines to /etc/apache2/ports.conf:

    Listen 80
    Listen 8080

Then run the following three commands in succession

sudo a2enmod cgi
sudo a2ensite koha.conf
sudo a2dissite 000-default.conf
sudo apache2ctl restart

Now if you point your browser to http://<serverIP>:8080/, you should see koha’s login screen. At this point you need to start celebrating especially if it is your first time.

This will require you to log-in using the username and password you provided when configuring the installer.
After you log-in, it is here recommended that you use the default values.

Otuoma Sanya

Otuoma Sanya is a full-time systems librarian, tech enthusiast and writer. His areas of interest are data mining, institutional repositories, library automation and web development using python Django.

Leave a Reply