koha
Install Koha on Ubuntu 22.04
Install Koha 24.05 on Ubuntu 22.04
Update the System
sudo apt update
sudo apt upgrade
Install Mousepad text editor
sudo apt -y install mousepad
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- https://debian.koha-community.org/koha/gpg.asc | sudo apt-key add -
sudo apt update
sudo apt upgrade
sudo apt clean
OR
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 –
sudo apt update
sudo apt upgrade
sudo apt clean
Install koha-common
sudo apt install koha-common
Install MySQL server
sudo apt install mysql-server
OR
Install MariaDB server
sudo apt install -y mariadb-server
Assign Root password for MariaDB OR MySQL
sudo mysqladmin -u root password newpass [Replace 'newpass']
Install Koha
sudo apt install -y koha-common
Server configuration
sudo mousepad /etc/koha/koha-sites.conf
Change INTRAPORT="8080"
Koha instance creation
sudo a2enmod rewrite
sudo a2enmod cgi
sudo service apache2 restart
sudo koha-create --create-db library
Add new port
sudo mousepad /etc/apache2/ports.conf
Change Listen 8080
Change Listen 8081
Restart Apache
sudo service apache2 restart
Enable modules and sites
sudo a2dissite 000-default
sudo a2enmod deflate
sudo a2ensite library
sudo service apache2 restart
Setup the library
sudo service memcached restart
http://127.0.1.1:8080
sudo mousepad /etc/koha/sites/library/koha-conf.xml