Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Koha 3 Library Management System
Koha 3 Library Management System

Koha 3 Library Management System: Install, configure, and maintain your Koha installation with this easy-to-follow guide

eBook
£25.99 £28.99
Paperback
£37.99
Subscription
Free Trial
Renews at £16.99p/m

What do you get with Print?

Product feature icon Instant access to your digital copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Redeem a companion digital copy on all Print orders
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

Koha 3 Library Management System

Chapter 2. Configuring the Apache2 Web Server

In this chapter, our goal will be to configure Apache2. Apache2 is Koha's web server—it serves Koha pages to users when they access the OPAC (Online Public Access Catalog) or the staff client. At the end of the chapter we will be able to launch Koha's OPAC and the staff client interfaces using a web browser. However, the interfaces won't work until we execute Koha's web installer, a topic for Chapter 4.

We cover this chapter in three stages—first an orientation, next the preparatory steps, and finally a demonstration of the configuration. Again, we demonstrate the steps on two Linux distributions—Debian and openSuSE.

Understanding Apache2 configuration


In this section we try and understand what Apache2 is, how to configure different websites or applications that use it, and how the configuration differs across Linux distributions.

About Apache2

Apache is the world's most popular web server. It is used to serve static and dynamic pages to web browsers. Apache2 is a full featured web server. Koha uses it among other things for:

  • Setting up two web interfaces, one for the OPAC and the other for the staff client

  • Setting up of a host name for Koha, something like http://koha.mylibrary.org/

  • Securing access to Koha's application folders

  • Logging error messages to a file

  • Rewriting page URLs

To learn more about Apache, refer to documentation here:

http://httpd.apache.org/docs/2.2/.

Apache2 virtual hosts

Apache's documentation (http://httpd.apache.org/docs/2.2/vhosts/) defines virtual hosts as follows:

The term Virtual Host refers to the practice of running more than one web site (such as www.company1.com and www.company2...

Preparing for Apache2 configuration


Now that we learned a bit about how to configure Apache2, here are some preparatory steps leading up to the configuration task. First we define a configuration plan; we also look at a list of configuration prerequisites.

Configuration plan

Here we define host names or IP addresses, ports, and other Apache2 directives for the OPAC and staff client virtual hosts. Here are some sample plans to help you develop your own.

Two host names

This is the best way to configure the two interfaces—there are two different host names, both easy to remember and we don't use any non-standard ports.

Item

Value

Comments

OPAC IP Address

Any

We use host based virtual hosts; we don't need to use IP based virtual hosts.

Staff Client IP Address

Any

Same as explained in OPAC IP Address.

OPAC Host Name

libcat.mylibrary.org

 

Staff Client Host Name

libstaff.mylibrary.org

 

OPAC Port

80

We have the ability to create host names; we don't need to use non-standard...

Configuring Apache2 web server


Now that we have our configuration plan in place, let us get started with Apache2 configuration. We will edit the OPAC and staff client virtual hosts in Koha's Apache2 configuration file. We will also configure Apache2 to listen on the staff client port—8080 and we will enable its Rewrite module. To make all this work we will point Apache2 to Koha's Apache2 configuration file using a symbolic link.

Creating a symbolic link to koha-httpd.conf

  1. First we create a symbolic link in Apache2's virtual host's folder pointing to Koha's Apache2 file. A symbolic link is just a pointer to the actual Koha file.

  2. We can copy the koha-httpd.conf file into the virtual host's folder, but it is better to create a symbolic link as this helps when new versions of the file are created during software upgrades.

  3. We use the ln command to create the symbolic link. The syntax is:

    ln –s <path to koha-httpd.conf> <path to symbolink link name>
    
  4. On Debian the command would be:

    koha...

Troubleshooting configuration problems


Here is an explanation of some common problems with Apache2 configuration.

Rewrite module not enabled

If you have not enabled Apache2's Rewrite module, you will see this error when starting Apache2:

linux:/etc/apache2/vhosts.d # sudo /etc/init.d/apache2 restartSyntax error on line 28 of /etc/apache2/vhosts.d/koha-httpd.conf:
Invalid command 'RewriteEngine', perhaps misspelled or defined by amodule not included in the server configuration

Incorrect or missing Directory directive

On distributions such as openSuSE, if you have not added the Directory directive, you will see this error when you try to access Koha's OPAC or the staff client. This means Apache2 does not have permission to access Koha's folders.

Unable to connect to MySQL

If the MySQL server is down or you dont have the Koha database set up properly, Koha and Apache2 will not be able to connect to the database and you will see this type of error:

Listener not setup

If you do not setup the Apache2...

Summary


Here is what we learned in this chapter on configuring Apache2:

  • Setting up a symbolic link to Koha's Apache2 configuration file

  • Enabling Apache2's Rewrite module

  • Configuring an IP address in Koha's virtual hosts

  • Configuring host names in Koha's virtual hosts

  • Setting up Apache2 to listen on the staff client port

  • Configuring the Directory directive in a virtual host

  • Launching Koha's OPAC and staff client

In the next chapter, we will install and test Koha's Zebra search engine.

Left arrow icon Right arrow icon

Key benefits

  • A self-sufficient guide to installing and configuring Koha
  • Take control of your libraries with Koha library management system
  • Get a clear understanding of software maintenance, customization, and other advanced topics such as LDAP and Internationalization
  • Written in a style that applies to all Linux flavors and Koha versions

Description

Koha is the first full-featured open source library management system that is widely used for efficiently managing libraries. However, setting up and maintaining Koha is no walk in the park. It is not as straightforward as setting up the other popular LAMP applications.This practical guide provides all the essential information that is needed to make the task of installing and configuring Koha really seem simple and easy. It demonstrates how to set up Koha and its various aspects – installation, configuration, application administration, and data migration. It also covers troubleshooting, software maintenance, software customization, and other advanced topics.The book starts with installing and configuring the LAMP stack and the Koha application to meet your needs. It then goes deeper into setting up various rules and configuring settings for Koha. It also covers data migration of catalog records, software maintenance, and customization of the application. Chapters are also dedicated to providing an insight into advanced topics such as LDAP integration and Internationalization. Filled with numerous code samples and screenshots, this book will tour you through setting up Koha for evaluation or test purposes. It also includes loads of tips for troubleshooting and maintenance activities. By the end of this book, you will have gained the knowledge to get the most out of your Koha installation.

Who is this book for?

This book is aimed at Linux system administrators who need to install and maintain Koha. If you are a system administrator who wants to set up an open source integrated library system, then this book is for you. It will also be useful for system administrators who require help with specific aspects of implementing Koha.

What you will learn

  • Set up and configure Koha as per your needs and requirements
  • Install, configure, and test drive the Zebra Search Engine to improve the searching capabilities of your Koha application
  • Configure the Cataloging module to make finding and evaluating items in a library amazingly simple for patrons
  • Migrate catalog data from other systems into Koha
  • Configure the circulation module by mapping your library s policies to rules and preferences in Koha
  • Customize the look of the public interface for users by configuring the OPAC
  • Tons of pointers for troubleshooting common problems that arise with your Koha installation
  • Many tips on software maintenance to make sure that your application is updated with the latest changes
  • Beef up your knowledge of advanced topics such as LDAP integration and Internationalization
  • Set up your Koha server as a Z39.50 server to share your catalog with the outside world
  • Customize your software and share it with the community
Estimated delivery fee Deliver to Great Britain

Standard delivery 1 - 4 business days

£4.95

Premium delivery 1 - 4 business days

£7.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Nov 12, 2010
Length: 288 pages
Edition : 1st
Language : English
ISBN-13 : 9781849510820
Concepts :
Tools :

What do you get with Print?

Product feature icon Instant access to your digital copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Redeem a companion digital copy on all Print orders
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to Great Britain

Standard delivery 1 - 4 business days

£4.95

Premium delivery 1 - 4 business days

£7.95
(Includes tracking information)

Product Details

Publication date : Nov 12, 2010
Length: 288 pages
Edition : 1st
Language : English
ISBN-13 : 9781849510820
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
£16.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
£169.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just £5 each
Feature tick icon Exclusive print discounts
£234.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just £5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total £ 75.98
Koha 3 Library Management System
£37.99
Squid Proxy Server 3.1: Beginner's Guide
£37.99
Total £ 75.98 Stars icon

Table of Contents

13 Chapters
Installing the Software Stack Chevron down icon Chevron up icon
Configuring the Apache2 Web Server Chevron down icon Chevron up icon
Installing Koha's Zebra Search Engine Chevron down icon Chevron up icon
Koha's Web Installer, Crontab, and Other Server Configurations Chevron down icon Chevron up icon
Configuring the Cataloging Module Chevron down icon Chevron up icon
Configuring the Circulation Module Chevron down icon Chevron up icon
Configuring Other System Preferences Chevron down icon Chevron up icon
Test Driving Your Koha Installation Chevron down icon Chevron up icon
Migrating Catalog Data Chevron down icon Chevron up icon
Troubleshooting Chevron down icon Chevron up icon
Updating Software Chevron down icon Chevron up icon
Customizing Koha Software Chevron down icon Chevron up icon
Advanced Topics Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
(4 Ratings)
5 star 25%
4 star 25%
3 star 0%
2 star 25%
1 star 25%
M. Easterbrook Sep 03, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I learned a lot from this book and was glad to find it. Still hard to set up the Linux LAMP and Koha system without a lot of help webpages, Linux help. I recommend the Easy Koha if you can't get the current versions to work. One can download the DVD whiches installs the Linux and Koha with a self-server not a web server.The Linux server calls a Firefox web browser. One computer is the server and the web browser. Basics of Library Automation, KOHA Library Management Software & Data Migration: Challenges with Case Studies
Amazon Verified review Amazon
W Boudville Feb 12, 2011
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Koha does not appear all that simple to install. That the first 4 chapters of this book are devoted to the installation is implicit acknowledgement. Part of the complexity appears to be the dependence of Koha on LAMP - linux, Apache, MySql and Perl. So you need a linux machine. The narrative says that the main linux distributions are supported - including Ubuntu. This is reassuring. But the need to pre-install Apache, MySql and Perl can be fraught with problems, as each is being continually revved. Hopefully, if you are already an experienced sysadmin, you can deal with any problems.Chapter 5 shows the many configurations possible with your Koha database. It is here that you can start to appreciate the power of Koha. Chapter 6 takes this further, by looking at the circulation module. This maps from your library's existing policies for circulating books to how Koha can implement them in its database.What is interesting is one of the examples for a library type in Chapter 6. (Though I don't think the authors necessarily intended this.) It describes a public library and an academic library, where the latter is inside a university. But it also talks about a commercial library, where customers pay to be members, and where there are several levels of customers, each level costing a different price. The example seems attuned to India, especially when it quotes prices in rupees. In the US and Australia, I've never heard of a commercial library. Perhaps its viability in India reflects the parlous level of publicly available educational resources. Anyhow, the example should tell the reader that the book is intended for global distribution.As a practical matter, Chapter 9 discusses a crucial point - how to migrate catalog data from some legacy system to Koha. The chapter has an extended example of how to do this with MARC files, where the latter may already be familiar to you if you are in library administration. Various Koha import tools have been built to handle MARC, and the chapter walks through how to use them. In practice, the biggest issue is that you need to check that the mapping from MARC fields to Koha fields make sense. This has to be manually done by walking through the meanings of both types. The chapter gives an appreciation of the complexity you'll encounter, when, as you should expect, there is a mismatch impedance.
Amazon Verified review Amazon
kalanger Nov 01, 2012
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
I bought this book to help me UNDERSTAND what each part of the Koha Library Management System was about. Chapters 1 to 4 are about installation, which I didn't want anyway as I used the wonderful free integrated Koha live DVD based on version 3.6 and Ubuntu 10.04. Chapters 5 to 13 were the reason for my purchase.However, all I got was a book that consisted solely of description, description of what you could discover by pointing and clicking on any hyperlink or drop down link in the software. The index at the back of the book was lacking only because there was next to zero useful content. The most valuable thing about the book was probably the contents as it gives you an overview of the shape of the content and topics covered by the software.We need a book that is not written by computer scientists but librarians who aim to EXPLAIN what each section does and why, that outlines the line of dependency of each part upon the other and that points out what problems you will have if these are not followed.Sadly this is the only book and it was an expensive wasted purchase.
Amazon Verified review Amazon
N/A May 24, 2024
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1
The book never arrived.
Feefo Verified review Feefo
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the digital copy I get with my Print order? Chevron down icon Chevron up icon

When you buy any Print edition of our Books, you can redeem (for free) the eBook edition of the Print Book you’ve purchased. This gives you instant access to your book when you make an order via PDF, EPUB or our online Reader experience.

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela