Monday, August 29, 2022

Installing Koha 22.05 on Ubuntu 20.04 LTS

sudo apt-get update

sudo apt upgrade

sudo apt clean

sudo apt-get -y install sudo wget gnupg2

 sudo sh -c 'wget -qO - https://debian.koha-community.org/koha/gpg.asc | gpg --dearmor -o /usr/share/keyrings/koha-keyring.gpg'

echo deb http://debian.koha-community.org/koha 22.05 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 install -y mariadb-server

 sudo mysqladmin -u root password (******)

 

sudo apt install -y koha-common

 

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

 

 update INTRAPORT from '80' to 8080

 

INTRAPORT="8080"

 

sudo a2enmod rewrite

 

sudo a2enmod cgi

 

sudo service apache2 restart

 

sudo koha-create --create-db library

 

sudo nano  /etc/apache2/ports.conf

 

Edit ports.conf & add port 8080

 

 Listen 80

Listen 8080

 

 sudo service apache2 restart

 

sudo a2dissite 000-default

 

sudo a2enmod deflate

 

sudo a2ensite library

 

sudo service apache2 restart

 

 To view the (koha_library) admin user password

 sudo koha-passwd library

 

No comments:

Create Superuser in Mysql

Login MySQL using mysql -u root -p CREATE USER 'superuser'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGE...