Tuesday, May 14, 2019

Koha 18.11 Manual Installation

> Step 1: Downloaded ubuntu 18.04 iso file from ubuntu official website.
> Step 2: Burn USB Bootable via Power ISO software or others..
>Step 3: Boot it and install ubuntu
>Step 4: follow the instruction given below

Installation of Koha on Ubuntu-18.04 LTS

Type these commands in terminal. To open terminal either you can press CTRL+ALT+T together or open through GUI.

Then enter

sudo su
(enter password, it will not be visible so be careful. Here you have to enter the same password which you have given at the time of installation).


Update Ubuntu

    sudo apt-get update
    sudo apt-get upgrade


Add Koha community repository


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

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

Update the software repository

    sudo apt-get update

Install Koha

    sudo apt-get install koha-common

Server configuration

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

Here I have change the port number of Koha staff client to 8000. Find the following line in the file and make changes.

    INTRAPORT="8000"
 
Install MySQL server

    sudo apt-get install mysql-server

Koha instance creation

Apply following commands to create Apache configuration files.

    sudo a2enmod rewrite
    sudo a2enmod cgi
    sudo service apache2 restart

Create a Koha instance with the name library.

    sudo koha-create --create-db library

Add new port

Open the following file and add a new port.

    sudo nano /etc/apache2/ports.conf

Copy paste following line below Listen 80

    Listen 8000

Restart Apache,

    sudo service apache2 restart

Enable modules and sites

    sudo a2dissite 000-default
    sudo a2enmod deflate
    sudo a2ensite library
    sudo service apache2 restart

Generate Koha Interface Login Password.

    sudo xmlstarlet sel -t -v 'yazgfs/config/pass' /etc/koha/sites/library/koha-conf.xml

It will generate the password at terminal. Just copy or even password you can locate at  /etc/koha/sites/library/koha-conf.xml

Restart Memcached

    sudo service memcached restart


Now, Koha has been installed successfully.

Open the browser and type the following:

For Koha Staff Interface:     http://localhost:8000
For Koha OPAC        :    http://localhost

Thanks

No comments:

Post a Comment

Virtual Machine for Koha

download VM