Koha Installation on Ubuntu

By | January 12, 2018

Dear All,

Today we will learn how to install Koha (version 17.11)  (LMS) into Ubuntu 16,04 LTS.

There is official installation guide provided on koha community website

URL: https://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages

Into this Installation guide we will follow that installation process and see how to install Koha on Ubuntu

Step: 1 Add a Koha Community Repository

echo deb http://debian.koha-community.org/koha stable main | sudo tee /etc/apt/sources.list.d/koha.list

Step 1 Add a Koha Community Repository

 

Step: 2 Add the key in gpg.asc to your APT trusted keys

wget -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add –

Step 2 Add the key in gpg.asc to your APT trusted keys

Step: 3  update, upgrade and clean ubuntu

sudo apt-get update

sudo apt-get upgrade

sudo apt-get clean

Step 3 Apt get update

Step 3 Apt get upgrade

Step: 4  Download and install the latest Koha release

sudo apt-get install koha-common

Step 4 Install Koha common part 1

Step 4 Install Koha common part 2

Step 4 Install Koha common part 3

Step 4 Install Koha common part 4

Step 4 Install Koha common part 5

Step: 5 Pre-Web Install Setup (Initial Configuration)

edit /etc/koha/koha-sites.conf with details about your site. You may need to create this file.

sudo nano /etc/koha/koha-sites.conf

Step 5 Initial Configuration part 1

Step 5 Initial Configuration part 2

Into this file, update INTRAPORT to 8080  and OPACPORT to 80

Step: 6 install MariaDB server

sudo apt-get install mariadb-server

Step 6 MariaDB Installation

Step 6 MariaDB Installation Part 2

Step: 6 Apache modules

sudo a2enmod rewrite
sudo a2enmod cgi
sudo service apache2 restart

Step 7 Apache Module

Step: 7 Create database 

sudo koha-create –create-db library

Step 8 Instance for Koha

Step: 8 Database Security

sudo mysql_secure_installation

Step 9 Mysql Secure Installation Part 1

Step 9 Mysql Secure Installation Part 2

Step 9 Mysql Secure Installation Part 3

 

Step: 9 Configuring Apache (Setup Default Ports)

You need to add port 8080 and 80

sudo vim /etc/apache2/ports.conf

Step 10 - Set Port

Step 10 - Set Port Add Port 8080

Step: 10 Enable Modules and Site

sudo a2enmod deflate
sudo a2ensite library
sudo service apache2 restart

Step 11 Enable Module

Step: 11 Hosts File changes

sudo vim /etc/hosts

Step 12 hosts entry

Step 12 hosts entry Part 1

Step: 12  see the web installation password

Step 13 Web Installation Password

After this step you have to do Web Installation through any browser.

Step: 13  Web Installer process  (go through screenshot)

Open Firefox browser and type localhost:8080

Step 14 - Web Installation Part 1

Step 14 - Web Installation Part 2

Step 14 - Web Installation Part 3

Step 14 - Web Installation Part 4

Step 14 - Web Installation Part 5

Step 14 - Web Installation Part 6

Step 14 - Web Installation Part 7

Step 14 - Web Installation Part 8

Step 14 - Web Installation Part 9

Step 14 - Web Installation Part 10

Step 14 - Web Installation Part 11

Step 14 - Web Installation Part 12

Step 14 - Web Installation Part 13

Step 14 - Web Installation Part 14

Step 14 - Web Installation Part 15

Step: 14  Creating library, set default rule, patron category etc..

Step 15 Basic Koha Library Setup Part 1

Step 15 Basic Koha Library Setup Part 2

Step 15 Basic Koha Library Setup Part 3

Step 15 Basic Koha Library Setup Part 4

Step 15 Basic Koha Library Setup Part 5

Step 15 Basic Koha Library Setup Part 6

Step 15 Basic Koha Library Setup Part 7

Step 15 Basic Koha Library Setup Part 8

Step 15 Basic Koha Library Setup Part 9

 

Step: 15  : login to Koha Staff Interface 

Go to browser: localhost:8080  now login with admin account that recently created

Step 16 Koha Staff Login

Step 17 Main Staff Interface after login Part 1

Step 17 Main Staff Interface after login

Step 18 Currency Add Part 1

Step 18 Currency Add Part 2

Step 18 Currency Add Part 3

 

Step 18 Currency Add Part 4

Step: 16: Set OPAC Interface

Step 19 OPAC Page Part 1

sudo a2dissite 000-default.conf

sudo a2ensite library

sudo service apache2 restart

Step 19 OPAC Page Part 2

Now reload the page localhost on browser it will load OPAC Interface

Step 19 OPAC Page Part 3