Chirag's Technology Tutorial
*********************************************************************************
* Install and Configuration Koha 24.05 on Ubuntu 24.04 LTS | Step-by-Step Guide *
*********************************************************************************
To install the Koha library system with a MySQL database on Ubuntu Server 24.04 LTS, follow these steps. Koha is an open-source integrated library system (ILS), and the installation involves configuring repositories, installing dependencies, setting up the database, and configuring the web interface.
Step 1: Update and Upgrade Packages
sudo apt-get update && sudo apt-get upgrade -y
Step 2: Add Koha Repository
Download the Koha GPG Key and save it:
wget -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add -
Add the Koha Repository:
echo deb http://debian.koha-community.org/koha stable main | sudo tee /etc/apt/sources.list.d/koha.list
Update repositories:
sudo apt-get update
Step 3: Install Koha and Required Dependencies
sudo apt-get install koha-common -y
Step 4: Install and Configure MySQL
Install MySQL Server:
sudo apt-get install mysql-server -y
Secure MySQL installation:
sudo mysql_secure_installation
Follow the prompts to set a root password, remove anonymous users, disallow root login remotely, and remove test databases.
Step 5: Edit the Koha Sites Configuration:
sudo nano /etc/koha/koha-sites.conf
Update the following settings in koha-sites.conf:
DOMAIN=".myDNSname.org" # Use your domain or IP address if using locally
INTRAPORT="8080" # Port for staff interface
OPACPORT="80" # Port for public OPAC interface
Step 6: Configure Apache
Enable Apache Modules:
sudo a2enmod rewrite
sudo a2enmod cgi
sudo systemctl restart apache2
Step 7: Create an Instance for Koha:
sudo koha-create --create-db library
This will create a Koha instance named library.
Step 8: Add Apache Port "Listen 8080"
sudo nano /etc/apache2/ports.conf
Listen 80
Listen 8080 # This is new port.
# Restart Apache Service
sudo systemctl restart apache2
# Disable 000-default
sudo a2dissite 000-default
# enable mod and site
sudo a2enmod deflate
sudo a2ensite library
# Restart Apache Service
sudo systemctl restart apache2
Step 9: Access Koha Interfaces
Staff Interface:
Open your web browser and go to:
http://192.168.224.163:8080
Note : get password from "/etc/koha/sites/library/koha-conf.xml" file.
vi /etc/koha/sites/library/koha-conf.xml
username:koha_library
password : v"9x.ISJSlNiY()a
<config>
<db_scheme>mysql</db_scheme>
<database>koha_library</database>
<hostname>localhost</hostname>
<port>3306</port>
<user>koha_library</user>
<pass>v"9x.ISJSlNiY()a</pass>
..........
OPAC (Public) Interface:
Open your web browser and go to:
http://192.168.224.163
Step 10: Initial Koha Setup
Log in to the Staff Interface.
Follow the setup wizard to configure your library, users, and other settings.
Step 11: Finalize Security and Permissions
Secure MySQL by restricting root access.
Set up firewalls to allow only necessary ports (80 for OPAC and 8080 for staff if configured).
Regularly update packages and monitor for Koha updates.
The Koha library system should now be ready for use on your Ubuntu Server 24.04 LTS with MySQL as the database backend.
For any doubts and query, please write on YouTube video comments section.
Note : Flow the Process shown in video.
Please, Subscribe and like for more videos:
https://www.youtube.com/@chiragstutorial
Don't forget to, Follow, Like, Share &, Comment
Thanks & Regards,
Chitt Ranjan Mahto "Chirag"
_____________________________________________________________________
Note: All scripts used in this demo will be available in our website.
Link will be available in description.
#chirags
#chiragstutorial
#chiragsTechnologytutorial
#chiragsTechnologytutorials
#Technologytutorial
#Technology
#Technologycourse
#installKoha
#installKoha
#installKohainUbuntu
#Koha7inUbuntuApache
#UbuntuApacheKoha
#chriagstutorial