Open Terminal and get ready for Install Koha Software on Ubuntu Machine.
Update Ubuntu OS using following commands
sudo su
apt-get update
apt-get upgrade
Install Leafpad text editor
apt-get install leafpad
Add Koha community repository
echo deb http://debian.koha-community.org/koha oldstable 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 update
Install Koha
sudo apt install koha-common
Server Configuration
sudo leafpad /etc/koha/koha-sites.conf
INTRAPORT=”8080″
Install MariaDB server
Here we use MariaDB server instead of MySQL server. Apply the following commands one by one to add MariaDB repository and install the MariaDB Server.
sudo apt-get install software-properties-common
sudo apt-key adv –recv-keys –keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
sudo add-apt-repository ‘deb [arch=amd64,arm64,ppc64el] http://mirrors.up.pt/pub/mariadb/repo/10.4/ubuntu bionic main’
sudo apt update
sudo apt install mariadb-server
Assign Root password for MariaDB
sudo mysqladmin -u root password ‘newpass’ [Replace ‘newpass‘]
sudo a2enmod rewrite
sudo a2enmod cgi
sudo service apache2 restart
sudo koha-create –create-db library
sudo leafpad /etc/apache2/ports.conf
Listen 8080
Restart Apache,
sudo service apache2 restart
Enable modules and sites
sudo a2dissite 000-default
sudo a2enmod deflate
sudo a2ensite library
sudo service apache2 restart
Locate Koha default master password:
sudo xmlstarlet sel -t -v ‘yazgfs/config/pass’ /etc/koha/sites/library/koha-conf.xml;echo
sudo service memcached restart
Enable & Start Plack for Koha Performance Improvement:
sudo koha-plack –enable library
sudo koha-plack –start library
sudo service apache2 restart
http://127.0.1.1:8080 (Staff Client)
http://127.0.1.1:80 (Online Catalogue-OPAC)
Post navigation
One thought on “Install Koha Software on Ubuntu 16.04 & 18.04 LTS”
Comments are closed.
Hello