Difference between revisions of "Koha/Installation"
Jump to navigation
Jump to search
m |
|||
| Line 34: | Line 34: | ||
</pre> | </pre> | ||
| − | ==Step | + | ==Step 6 - Prepare the Apache2 web server== |
*Setup web server listening ports. | *Setup web server listening ports. | ||
sudo nano /etc/apache2/ports.conf | sudo nano /etc/apache2/ports.conf | ||
| Line 55: | Line 55: | ||
sudo service apache2 restart | sudo service apache2 restart | ||
| − | ==Step | + | ==Step 7 - Do the Koha web installation== |
*'''Reboot the server''' and then connect to the following URL to configure the KOHA webapp. | *'''Reboot the server''' and then connect to the following URL to configure the KOHA webapp. | ||
http://name-of-koha-server:8080 | http://name-of-koha-server:8080 | ||
Revision as of 09:36, 10 September 2014
Contents
- 1 Introduction
- 2 Step 1 - Install Ubuntu 12.04 LTS server software on a bare metal or virtual machine.
- 3 Step 2 - Install the LAMP stack
- 4 Step 3 - Enable the Koha software repository
- 5 Step 4 - Install Koha packages
- 6 Step 5 - Initial configuration
- 7 Step 6 - Prepare the Apache2 web server
- 8 Step 7 - Do the Koha web installation
Introduction
- It is strongly recommended that you use the "packages" installation method which is designed to simplify and streamline the installation, configuration and upgrades of Koha.
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
- During installation install the "LAMP" stack.
- See: http://www.ubuntugeek.com/step-by-step-ubuntu-12-04-precise-lamp-server-setup.html
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 bibutils etckeeper
Step 5 - Initial configuration
To configure your server for use, edit /etc/koha/koha-sites.conf with details about your site. You may need to create this file.
$ sudo nano /etc/koha/koha-sites.conf
Some example content would be:
KOHASITE="SULIS OPAC" # Change this to the name of your site OPACPORT="80" # TCP listening port for the users' interface (if you skip this, the apache default of 80 will be used) INTRAPORT="8080" # TCP listening port for the administration interface UNIXUSER="koha" # Name of unix user UNIXGROUP="koha" # Name of unix group
Step 6 - Prepare the Apache2 web server
- Setup web server 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
- Disable the default websites. Remember to disable this after a software upgrade when using the packages method.
sudo a2dissite 000-default sudo a2dissite default sudo a2dissite default-ssl
- Restart the apache2 web server
sudo service apache2 restart
Step 7 - 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.
Return to Koha wiki page









