Koha can install on Debian 10 (Buster). Use the following steps for the installation of Koha on Debian 10:
Step 1: Install Debian 10 (Buster)
Open the Terminal Window
Open the Terminal Window
Step 2: Update the system (Debian 10) using the following
commands:
(i) sudo su (Enter Sudo Password)
(ii) apt-get update
(iii)apt-get upgrade
Step 3: Add Koha community repository and Add Koha software channel into Debian 10.
(i) echo deb http://debian.koha-community.org/koha stable main | sudo tee /etc/apt/sources.list.d/koha.list
(ii) wget -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add -
(iii)apt-get update
(iii)apt-get update
Step 4: Install Koha
Use the following command for the
installation of the latest release of Koha.
sudo apt-get install koha-common
sudo apt-get install koha-common
The command will now start to download
Koha and required packages.
Step 5: Server configuration
Now you need to edit the network
information like domain name and port numbers. Use the following command
sudo gedit /etc/koha/koha-sites.conf
Here I change the port number of Koha staff client to 8000. Find the following line in the file and make changes.
sudo gedit /etc/koha/koha-sites.conf
Here I change the port number of Koha staff client to 8000. Find the following line in the file and make changes.
INTRAPORT="8000"
Step 6: Install MariaDB server
Apply the following command to install the MariaDB server.
sudo apt-get install mariadb-server
Assign Root password for MariaDB
If the password asks during the installation process, enter the password in the window. Apply following command, if the password window did not appear during the installation,sudo mysqladmin -u root password (Press enter now)
Enter password: newpass [Replace 'newpass']
Step 7: Koha instance creation
Step 7: Koha instance creation
Apply the following commands to create Apache configuration files.
(i) sudo a2enmod rewrite
(ii) sudo a2enmod cgi
(iii) sudo service apache2 restart
Step 8: Create a Koha instance with the name library.
sudo koha-create --create-db library
(i) sudo a2enmod rewrite
(ii) sudo a2enmod cgi
(iii) sudo service apache2 restart
Step 8: Create a Koha instance with the name library.
sudo koha-create --create-db library
Step 9: Adding ports
I have assigned 8000 port for Koha staff client and 80 for OPAC.
Open the following file and add a new port.
(i) sudo gedit /etc/apache2/ports.conf
(ii) Then copy & paste the following line below Listen 80
Listen 8000
(iii) Restart the Apache server by using the following command
sudo service apache2 restart
Step 10: Enable modules and sites by using the following commands
(i) sudo a2dissite 000-default
(ii) sudo a2enmod deflate
(iii)sudo a2ensite library
(iv) sudo service apache2 restart
Step 11: Locate Koha default master password using the following command (one time use).
I have assigned 8000 port for Koha staff client and 80 for OPAC.
Open the following file and add a new port.
(i) sudo gedit /etc/apache2/ports.conf
(ii) Then copy & paste the following line below Listen 80
Listen 8000
(iii) Restart the Apache server by using the following command
sudo service apache2 restart
Step 10: Enable modules and sites by using the following commands
(i) sudo a2dissite 000-default
(ii) sudo a2enmod deflate
(iii)sudo a2ensite library
(iv) sudo service apache2 restart
Step 11: Locate Koha default master password using the following command (one time use).
sudo xmlstarlet sel -t -v 'yazgfs/config/pass' /etc/koha/sites/library/koha-conf.xml;echo
Note: Password will display in terminal, please copy and paste in login interface of koha staff client.
Step 12: Now start Koha by opening the following links in the browser
Start the Apache server by using the following command:
sudo service apache2 restart
Then Open a browser and use the following URL:
http://localhost:8000 (Staff client). Then complete web installer steps.
http://localhost:80 (Online Public Access Catalogue)
Start the Apache server by using the following command:
sudo service apache2 restart
Then Open a browser and use the following URL:
http://localhost:8000 (Staff client). Then complete web installer steps.
http://localhost:80 (Online Public Access Catalogue)
No comments:
Post a Comment