Difference between revisions of "Koha/Installation"

From Libopedia
Jump to navigation Jump to search
Line 16: Line 16:
  
 
===Step 4 - Install Koha packages===
 
===Step 4 - Install Koha packages===
 +
*Install the koha packages
 +
sudo apt-get install koha koha-common
 +
===Step 5 - Prepare the Apache2 web server==
 
*Disable the default apache2 website
 
*Disable the default apache2 website
 
  sudo a2dissite 000-default
 
  sudo a2dissite 000-default
Line 30: Line 33:
  
 
  sudo a2enmod deflate
 
  sudo a2enmod deflate
*Install the koha packages
+
 
sudo apt-get install koha koha-common
 
 
===Step 5 - Create a Koha library instance===
 
===Step 5 - Create a Koha library instance===
 
*Create a koha ''library'' database
 
*Create a koha ''library'' database

Revision as of 11:09, 27 August 2013

Step 1 - Install Ubuntu 12.04 LTS server software on a bare metal or virtual machine.

  • During installation create a "koha" admin user.

Step 2 - Install the LAMP stack

Step 3 - Enable the Koha software repository

  • After installation add the following to /etc/apt/sources.list.d/koha.list.
echo deb http://debian.koha-community.org/koha squeeze main | sudo tee /etc/apt/sources.list.d/koha.list
wget -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add -
  • Do a software upgrade.
sudo apt-get update
sudo apt-get dist-upgrade

Step 4 - Install Koha packages

  • Install the koha packages
sudo apt-get install koha koha-common

=Step 5 - Prepare the Apache2 web server

  • Disable the default apache2 website
sudo a2dissite 000-default
  • Setup apache2 listening ports.
sudo nano /etc/apache2/ports.conf

Check the following for an example of listening ports

#NameVirtualHost *:80
Listen 80
Listen 8080
  • Setup apache2 modules
sudo a2enmod rewrite
sudo a2enmod deflate

Step 5 - Create a Koha library instance

  • Create a koha library database
sudo koha-create --create-db library
sudo koha-email-enable library
  • Disable the default koha website
sudo a2dissite koha
  • Enable the custom library web site
sudo a2ensite library
  • Restart the apache2 web server
sudo service apache2 restart

Step 6 - Do the Koha web installation

  • Reboot the server and then connect to the following URL to configure the KOHA webapp.
http://name-of-koha-server:8080

The user name to log in with will be koha_library and the password will be near the end of /etc/koha/sites/library/koha-conf.xml

To view the password, use this command:

sudo xmlstarlet sel -t -v 'yazgfs/config/pass' /etc/koha/sites/library/koha-conf.xml

Click on one of the screenshots below to view webapp config.

Koha-1.png

Koha-2.png

Koha-3.png

Koha-4.png

Koha-5.png

Koha-6.png

Koha-7.png

Koha-8.png

Koha-9.png

Koha-10.png

Return to Koha wiki page