1 .\" Copyright 2010 Catalyst IT, Ltd
3 .\" This program is free software: you can redistribute it and/or modify
4 .\" it under the terms of the GNU General Public License as published by
5 .\" the Free Software Foundation, either version 3 of the License, or
6 .\" (at your option) any later version.
8 .\" This program is distributed in the hope that it will be useful,
9 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
10 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 .\" GNU General Public License for more details.
13 .\" You should have received a copy of the GNU General Public License
14 .\" along with this program. If not, see <http://www.gnu.org/licenses/>.
15 .TH KOHA-CREATE 8 2010-05-03 Koha
17 koha-create \- create a new Koha instance
23 creates a new Koha instance.
24 It is meant for a site that provides Koha hosting,
25 and serves several sites from the same host.
27 The name of the instance is used as the domain name for Apache,
28 and Unix user and group names, and MySQL username and table names
30 Unix user and group are named
37 The Unix user has logins disabled.
38 The password for MySQL is generated randomly, and printed to the terminal.
40 The instance name is used as the domain name (ServerName) for Apache.
41 The open catalog (OPAC), for library customers, is on port 80.
42 The librarian intranet interface is on port 8080.
44 After the Koha instance is created, it is ready to be used,
45 but the librarian needs to log in via the intranet and configure things.
47 Several configuration variables are available for adjusting this behavior.
48 The variables are put into
49 .B /etc/koha/koha-site.conf .
50 The following variables are obeyed:
54 The domain to append to the instance name, for Apache ServerName.
56 The value must begin with a period.
59 The port for the intranet.
60 If you set this to empty or 80, then you
68 This is inserted before the instance name when forming Apache ServerName.
69 For subdomains, make sure it ends with a period.
72 This is inserted after the instance name,
73 but before the domain name,
74 when forming Apache ServerName.
77 An SQL file (possibly compressed with gzip) that can be fed to
79 to initialize the database after it has been created.
80 Might be created using
81 .BR koha-dump-defaults (8).
84 .B /etc/koha/koha-site.conf
85 Configuration variables are read from this file, if it exists.
87 The program is a bit fragile.
88 If something goes wrong, it does not clean up after itself.
90 To create a new Koha instance:
96 The public catalog is now at
98 and the librarian interface at
99 .IR http://hslibrary:8080/ .
101 To use full domain names, and have the intranet interface on port 80, but
102 on a different domain name, add the following variables to the
107 DOMAIN=".example.com"
113 This will result in the addresses for the public and intranet interfaces
118 http://hslibrary.example.com/
119 http://hslibrary-intra.example.com/
123 Configuration changes only apply to instances created afterwards.
127 .B http://koha-community.org/