Install Ubuntu MATE
Koha officially supports Ubuntu MATE. Download Ubuntu-MATE-20.04.1-desktop(amd64 bit) from the following link,Open Terminal on your Ubuntu machine for Koha installation.
sudo su
apt-get update
apt-get upgrade
Install mousepad Text Editor
apt-get install mousepad
Add Koha repository
sudo apt install -y software-properties-common dirmngr file-roller
Add Koha Community Repository & Trusted Repository Key
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 Software Repository
apt-get update
Install Koha Software
sudo apt install -y koha-common
Port Configuration
Open following file to change port number.
sudo mousepad /etc/koha/koha-sites.conf
INTRAPORT="8080"
We will use MariaDB Client and Server for Koha Database. Execute following commands one by one to
sudo apt install mariadb-client-10.3
Install MariaDB Server.
sudo apt install mariadb-server
Assign Root password for MariaDB
sudo mysqladmin -u root password newpass
Koha instance creation
sudo a2enmod rewrite
sudo a2enmod cgi
sudo service apache2 restart
Create a Koha instance with the name library. (Your Library Short Name)
sudo koha-create --create-db
library
Add new port
sudo mousepad /etc/apache2/ports.conf
Restart Apache,
sudo service apache2 restart
Enable modules and sites
sudo a2dissite 000-default
sudo a2enmod deflate
sudo a2ensite
library
sudo service apache2 restart
Run the following command to install “Locale::Language” perl module.
sudo apt install liblocale-codes-perl
sudo koha-plack --enable library && sudo koha-plack --start library
sudo perl -MCPAN -e 'install Bundle::KohaSupport'
Restart Memcached service to open Koha web installer.
sudo service memcached restart
Staff Client
http://127.0.1.1:8080
OPAC
Enter into the Koha staff client using the Database username and password of koha_library. It can find from the file, /etc/koha/sites/library/koha-conf.xml.
sudo mousepad /etc/koha/sites/
library
/koha-conf.xml
Multiple Instances library
sudo mousepad /etc/apache2/sites-available/library.conf
Setup the library
After the successful installation, need to create initial parameters Visit links (e.g.
1.Branch,
2.Itemtype,
3.Superuser Creation or super Librarian ,
4.Circulation rules,
Reference
Koha on Ubuntu - packages
https://wiki.koha-community.org/wiki/Koha_on_ubuntu_packages
Koha Geek: http://kohageek.blogspot.com/
2 Comments
how to add inout plugin
ReplyDeleteJust tried this method and it worked flawlessly on my Ubuntu MATE 22.04! Super smooth installation and perfect for beginners. By the way, if you're also into shop sneaker deals , this guide is a win-win!
ReplyDelete