Taiga 1274 (24976) Updated guided reports process
[kohadocs.git] / source / installation.rst
1 .. include:: images.rst
2
3 Introduction to the Koha Installation Process
4 ================================================
5
6 This is the Koha Installation Manual
7
8 The Koha Library Management System installation process uses 2 tools:
9
10 * Web installer
11 * Onboarding tool
12
13 This documentation will outline both of these tools.
14
15 What is the Koha web installer?
16 _________________________________
17 The web installer sets up the database tables that store the all the data you work with in Koha, for example the library branches, patrons and items.
18
19 The web installer starts with a login screen for you to enter the database administrator account credentials.
20
21 The installer will then create the tables and fill the tables with data. The next step in the process is to set up a few mandatory first use settings, via the Onboarding tool.
22
23
24 What is the Koha Onboarding tool?
25 _________________________________
26
27 The onboarding tool makes sure you have at least one library, patron category, patron, item type and circulation rule before you start using Koha.
28
29 If you installed sample data for library, patron category, and/or item type then the screens to create these will be skipped.
30
31 You will, however, always have to create a patron (to log into the staff interface at the end of the onboarding tool) and a circulation rule.
32
33
34 Web Installer
35 ====================
36
37 Web installer login
38 ________________________
39
40 **Web Installer login**
41
42
43 This login screen is the first screen that appears when installing Koha.
44
45    |image1152|
46
47
48    Web Installer login
49
50 1. **Koha version name**: This will display whatever Koha version number you are installing.
51
52 2. **Username**: This is database administrator username which is *koha_kohadev* by default.
53
54 3. **Password**: This is the database administrator password which is *password* by default.
55
56 4. *Log in*: Select this button to login
57
58
59 Language picker
60 ___________________
61
62 **Installer Start screen**
63
64
65 This is the first screen of the web installer.
66
67    |image1166|
68
69    Web installer start screen
70
71 1. *Language picker* dropdown box: This is specifying the language you want Koha to be in.
72
73 .. Note::
74         Installing other languages that have translations for the installer (DE or FR, for example) will allow those languages to be used for the web installer.
75
76 2. Click the *Continue to the next step* button to load the next stage of the web installer.
77
78
79 Installer Perl Modules Installed
80 ___________________________________
81
82 This screen tells you that the installer has all the dependencies it needs, to create the database in the next screen.
83
84    |image1167|
85
86    Perl modules installed
87
88
89 Click on the *Continue to the next step* button to load the next stage of the web installer.
90
91
92 Database Settings
93 __________________________
94
95 This screen informs you of the database settings and asks you to confirm them by clicking the *Continue to the next step* button.
96
97
98 .. note::
99   For the majority of users these settings should be correct, if not then you should contact your support provider.
100
101
102
103 |image1168|
104
105 Database settings
106
107
108 1. **Database Settings:** Check these database settings are correct.
109 2. Click the *Continue to the next step* button to confirm the database settings
110
111 ----------------------------------------------------------------------------------------
112
113 **Connection Established**
114
115
116 After you click the *Next* button the database connection is confirmed:
117
118 |image1169|
119
120 Database connection established
121
122 1. **Connection established message:** This informs you that the database has been successfully created.
123 2. Click the *Continue to the next step* button to load the next stage
124
125 .. Note:: If you have database connection difficulties here, the installer will not proceed. Double check the connection information in your koha-conf.xml file, and verify that the permissions and credentials on the database itself are correct.
126
127
128
129 Ready to fill tables with data
130 ____________________________________
131
132 This screen is informing you everything is set up for you to create the database tables in the next screen.
133
134    |image1170|
135
136    Database ready for data
137
138 Click the *Continue to the next step* button to load the next stage
139
140 .. note::
141   This step can take some time. Please be patient.
142
143
144 Database tables created
145 __________________________
146
147    |image1171|
148
149    Database tables created
150
151 Click the *Continue to the next step* button
152
153
154 Ready for basic configurations
155 __________________________________
156
157 This screen leads onto installing basic configurations necessary to use Koha.
158
159    |image1172|
160
161    Ready for basic configurations
162
163 Click the *Continue to the next step* button
164
165
166 Select MARC flavour
167 __________________________________
168
169 You must choose your MARC flavour (format you want the bibliographic (catalog) records to be stored in the database) on this screen:
170
171    |image1173|
172
173    Select MARC flavour
174
175 1. **Unimarc:** This is frequently used in European countries (except for the UK) such as Italy.
176
177 2. **MARC21:** Selected by default, as it is more commonly used globally than UNIMARC.
178
179 3. Click the *Continue to the next step* button to confirm your choices
180
181
182
183 MARC21 and UNIMARC setup
184 ___________________________
185
186 .. note:: In the previous screen you either choose MARC21 or UNIMARC as your MARC flavour. This page outlines both.
187
188 MARC21 setup
189 _______________
190
191
192 |image1174|
193
194 MARC21 setup
195
196 1. **Default MARC21 Standard Authority Types:** An authority type is a template of an authority record (stores the search fields used to search an institutions catalog for an item). This option will install sample authority types.
197
198 2. **Default MARC21 bibliographic framework:** Following on from the MARC21 selection in the previous screen selecting this checkbox (and the *Import* button) will actually setup the MARC21 bibliographic framework as the desired MARC flavour.
199
200 3. **Selected matching rules for MARC21 bibliographic records:** The MARC21 matching rules are used to find all the information about specific bibliographic records using the authority type search values.
201
202 4. **'FA', a 'Fast Add' minimal MARC21 framework suitable for ILL, or on the fly cataloging:** The FA MARC framework displays fewer fields, and allows for faster cataloguing on the fly. Select this checkbox to install this minimal framework.
203
204 5. **Sample MARC21 bibliographic frameworks for some common types of bibliographic material:** This installs the template you will use to create items.
205
206 6. **Default Koha system authorised values:** This installs mandatory authorised values that every Koha installation needs.
207
208 7. **Default classification sources and filling rules:** This will insert several common library classification sources such as dewey decimal.
209
210 8. **Defines default message transports for email and sms:** This provides the option to the user of being able to change how the library contacts them. They can choose from the following: email address, printed message, sms, or phone call. Notices will not work without these.
211
212 9. **Patron attributes:** This does not install any data, and it needs to be removed.
213
214 10. **Sample frequencies for subscriptions:** For items that arrive on a regular and predictable basis (e.g. monthly magazines), installing sample frequencies is useful because you can simply select a pre-installed sample frequency when you create the item.
215
216 11. **Sample notices:** This inserts sample notices into the database, meaning all you have to do is customize these sample notices before you use them. Creating these by hand can be very time consuming and error prone.
217
218 12. **Defines default messages for the enhanced messaging configuration:** The enhanced messaging configuration lets the user choose what messages they receive from the institution. Selecting this will insert sample message types for the Due, Predue, and Advance notice message types.
219
220 13. **Defines default message transports for sending item due messages and advance notice messages through email and SMS:** This inserts the SMS and email transport types. Mandatory if you want to send notices by email or SMS.
221
222 14. **Sample numbering patterns for subscriptions:** This option will install sample numbering patterns, saving you having to manually insert them for magazines and other periodicals.
223
224 15. **Some basic default authorised values for library locations, item lost status, etc. You can change these at any time after installation:** This installs authorised values, which filter user inputs, to make sure they match specified criteria before the library or other object is created.
225
226 16. **CSV profiles:** Using Koha you can export items. The CSV profile defines how you want to export the item(s). CSV/Tab exports will not work without these.
227
228 17. **Coded values conforming to the Z39.71-2006 holdings statements for bibliographic items:** Not required to use Koha. A holding statement tells the user if the library has a specific item and where it is located. Selecting will install sample code values for items in the holding statements.
229
230 18. **MARC code list for relators:** Not required to use Koha. A relator is a person who was involved in the development of the item (e.g. author). Selecting this will insert sample relator records into the database.
231
232 19. **Some basic currencies with USA dollar as default for ACQ module:** Install US dollar, Great British Pound, Canadian Dollar and Euro currencies. Set the US dollar as the default acquisition currency. Not installing these will mean that a currency will need to be defined before Acquisitions can be used.
233
234 20. **Useful patron attribute types:** Not required to use Koha. Patrons have a barcode which identifies them. By clicking this checkbox you are making sure that this patron barcode is displayed on the patron summary screen.
235
236 21. **Sample patron types and categories:** Not required to use Koha. Selecting this will install sample patron categories into the database. This will mean the Create patron category step in the onboarding tool is skipped.
237
238 22. **Sample label and patron card data:** Not required to use Koha, but recommended for most new installs. Selecting this will install sample data for labels and patron cards and will make it easier to create a labels and patron cards in the future.
239
240 23. **Sample holidays: Sunday, Christmas, New Year’s** Not required to use Koha. Selecting this will insert sample repeatable public holidays (e.g. Christmas) into the database.
241
242 24. **A set of default item types:** Not required for Koha. Selecting this will insert sample item type data into the database, meaning Create Item type step in the onboarding tool will be skipped.
243
244 25. **Sample Libraries:** Not required for Koha. Selecting this will insert sample libraries into the database. Developers will often want this for demo or development purposes. Selecting this means the Create library step in the onboarding tool will be skipped.
245
246 26. **Sample news items:** Not required for Koha. Selecting this will insert sample news items that are displayed on the OPAC (Online Public Access Catalog) and staff client into the database.
247
248 27. **Sample patrons:** Not required for Koha. Patrons are the people who use the Koha Library Management System, for example: library users and staff. Selecting this will insert a number of sample patrons into the database. Developers will often want this for demo or development purposes.
249
250 28. **Sample quotes:** Not required for Koha. Quotes of the day can be displayed to library users on the OPAC (Online Public Access Catalog) interface. Selecting this will install a few library related sample quotes.
251
252 29. **Allow access to the following servers to search and download record information:** Not required to use Koha, but recommended for most new installs. Selecting this configures Koha to allow access to a selection of Z39.50 targets, which allow searching the target servers for MARC21 records to import them into your Koha instance. This can avoid the need to manually input all record information manually, or greatly speed up the process.
253
254 30. Click the *Import* button to install the default and selected data values.
255
256
257
258 Unimarc setup
259 __________________________________
260
261
262 There are only 2 data values in the Unimarc advanced setup which are unique:
263
264 * Authority Structure for UNIMARC in English
265 * Default UNIMARC bibliographic framework in English
266
267
268 .. note::  Optional values are the same for both Unimarc and MARC21, therefore their definition will not be repeated.
269
270
271 |image1175|
272
273 Unimarc setup
274
275 1. *Authority structure for UNIMARC in English:* Authority records store the search terms used to find items in the database. Unlike MARC21, when using Unimarc the authority structure needs to be compatible with Unimarc. Selecting this option makes it compatible.
276
277 2. *Default UNIMARC bibliographic framework in English:* In the previous screen you clicked to use the Unimarc flavour, now by selecting this option you are confirming you want to use that framework.
278
279 3. Click the *Import* button to install the sample data
280
281
282
283
284 Selected data added
285 ____________________
286
287 After you have clicked the *Import* button in either the MARC21 or UNIMARC setup screen this screen will appear. It shows you if the selected/default  data values were successfully inserted into the database.
288
289    |image1176|
290
291    Selected data added
292
293 1. **Optional data added:** If you selected an optional data value then it will be displayed here. If you did not choose any optional data value then the **optional data added** title will not be displayed.
294
295 2. **Mysql data added:** These data values will always be installed and consequently displayed on this screen.
296
297 3. **Mandatory data added:** Same as above.
298
299 4. **Installation message:** Tells you if the Koha database was successfully created ready for you to use the onboarding tool.
300
301 5. Click the *Set up some of Koha's basic requirements* button to go to a redirection screen, which in turn will take you to the onboarding tool.
302
303
304
305 Redirect to onboarding tool
306 __________________________________
307
308 If you wait for around 10 seconds this screen should redirect you to the onboarding tool start screen.
309
310    |image1177|
311
312    Redirect to onboarding tool
313
314
315 .. note::
316   If after waiting you are not redirected select the link pointed out by the arrow in the above screenshot.
317
318
319 Onboarding tool
320 ====================
321
322 Create a library
323 ___________________
324 The installer will prompt to create the first library or branch if the sample libraries were not installed.
325
326 A library in Koha is the digital representation of a "physical" place. More libraries can be added later by going to Administration -> Libraries and groups.
327
328    |image1153|
329
330    Create library
331
332
333 1. **Library code:** code consisting of up to 10 letters.
334 2. **Name:** Official name of the library, as it is commonly known.
335 3. **Create more libraries:** If more libraries are required, or changes need to be made to this freshly created library, go to Administration->Libraries and groups
336 4. Click the *Submit* button to create a library.
337
338
339 For example:
340
341    |image1154|
342
343    Create library example
344
345
346 **Library code:** The regular expression that filters the acceptable inputs for library code only accepts up to 10 letters.
347
348
349
350 Create a patron category
351 _____________________________
352
353 All patrons in Koha must have a patron category. The patron category is like a jelly mold; multiple individual patron accounts can share common characteristics, such as circulation rules, notice frequency, holds allowed, and much more. Koha requires at least one patron category in order to add patrons.
354
355 A patron category requires:
356
357   * Category code
358   * Description
359   * Overdue notice required
360   * Category type
361   * Default privacy
362   * Enrolment period: In months OR Until date
363
364   |image1155|
365
366   Create a patron category
367
368 1. **Library creation message:** Indicates whether the library was created successfully.
369
370 2. **Category code:** Code consisting of up to 10 letters.
371
372 3. **Description:** Sentence describing what the patron category is.
373
374 4. *Overdue notice required* dropdown button: Set by default to 'No'. This specifies if you want the patron category to receive overdue notices.
375
376 5. **Category type:** This makes the category created a staff member.
377
378 6. **Default privacy:** Set by default to 'Default'. The Default privacy controls the amount of time that the reading history of the patron is stored for.
379
380 7. **Enrolment period-In months:** This is the number of months that the patrons created from this patron category are enrolled for.
381
382 8. **Enrolment period-Until date:** Select a date from the interactive datepicker calendar icon which appears when you click on this input box. The date you choose will be the enrolment end date for patrons created from this patron category.
383
384 9. **Path to create patron category:** More patron categories can be created or altered by going to Administration -> Patron categories.
385
386 10. Click the *Submit* button to create the patron category.
387
388 For example:
389
390    |image1156|
391
392
393
394
395 Create a patron
396 ___________________
397
398 A superlibrarian patron user is required to log into the Koha staff interface, once the onboarding process has been completed.
399
400 .. note:: It is very important to document the username and password created here as they are the account credentials required to login as an administrator (superlibrarian) of Koha.
401
402 You will need to input/select:
403
404 * Surname
405 * First Name
406 * Card number
407 * Library
408 * Patron category
409 * Username
410 * Password
411
412   |image1157|
413
414   Create a patron
415
416 1. **Patron category creation message:** This indicates that if the patron category was created successfully.
417 2. **Surname:** Surname, or something descriptive
418 3. **First name:** First name, or something descriptive
419 4. **Card Number:** This number must be unique
420 5. *Library* dropdown box: If a library has been created using this onboarding tool, it will be the only option. Otherwise select a random library from the sample libraries installed by the web installer.
421 6. *Patron category* dropdown box: If a patron category was created using this onboarding tool, it will be the only option. Otherwise select the *Staff* patron category.
422 7. **Superlibrarian permission:** This non-editable setting allows access to all librarian and web based Koha administration tasks in the staff interface. This user is the most powerful user in any Koha, so protect the credentials well.
423 8. **Username:** The username to log into the staff interface and OPAC (Online Patron Access Catalogue) with.
424 9. **Password:** A password consisting of letters, numbers, and spaces only which is greater than 8 characters.
425 10. **Confirm password:** Repeat the above password again
426 11. Click the *Submit* button to create the patron account
427 12. **Path to create patron:** Patron's can be created or altered by going to Patrons->New patron
428 13. **Assign patron permissions:** After creating a patron go More->Set permissions to assign permissions.
429
430
431 For example:
432
433    |image1158|
434
435    Create a patron example
436
437
438
439 Create a Item type
440 ______________________
441
442 If you did not install sample item types in the web installer then this screen will be displayed.
443
444 As with the patron category the item type is basically a template which you use to make multiple items with common characteristics.
445
446 You need to input:
447
448 * Item type code
449 * Description
450
451   |image1159|
452
453   Create item type
454
455 1. **Administrator account creation message:** Indicates if the administrator patron was created successfully
456 2. **Item type code:** Code consisting of up to 10 letters
457 3. **Description:** Sentence describing what the item type is.
458 4. **Path to create item type:** Item types can be created or altered by going to Administrator->Item types
459 5. Click the *Submit* button to create the item type
460
461 For example:
462
463    |image1160|
464
465    Create item type example
466
467
468 .. note:: The regular expression filtering Item Type code input will only accept letters.
469
470
471
472
473 Create a Circulation Rule
474 ______________________________
475
476 This screen will always be displayed no matter what sample data you installed with the web installer.
477
478 Here you are creating a rule which applies the pre-defined organisational decisions of your library as to what restrictions you place on patrons borrowing items.
479
480    |image1161|
481
482    Create circulation rule
483
484
485 .. note::
486   Numbers are the only valid input for all input fields in this form.
487
488 1. **Item type creation message:** Indicates if the item type was created successfully
489 2. *Library branch* dropdown box: This is the library (or libraries) you want to apply the circulation rule to. By default it is set to *All*, however you can select a singular library to apply the rule to from the dropdown box.
490 3. *Patron categories* dropdown box: This is the patron categories you want to apply the circulation rule to. As with *Library branch* it is set to *All* by default but more options are avaliable.
491 4. *Item type* dropdown box: This is the item types that you want the circulation rule to apply to. Again more options are avaliable than the default selected *All* option.
492 5. **Current checkouts allowed:** This is the number of items allowed from the selected library, for selected patron categories and of the selected item type. Set to 50 by default.
493 6. **Loan period:** Number of days or hours that an item is allowed out for. Set to 14 by default.
494 7. *Units* dropdown box: Set by default to *Days*, the unit selecting in this field is applied to the numerical values written into **Loan Period** and **Renewals Period**
495 8. **Renewals Allowed:** Number of times a item can be renewed. Set to 10 by default.
496 9. **Renewals Period:** Number of days or hours that a renewal lasts for. Set to 14 by default.
497 10. *On shelf holds allowed* dropdown box: If items can be held whilst they are on the shelf.
498 11. **Path to create circulation rule:** Circulation rules can be created or altered by going to Administration -> Circulation and fines rules
499 12. Click the *Submit* button to create the circulation rule.
500
501
502
503 Onboarding tool complete
504 ____________________________
505
506 This page tells you if the circulation rule was created successfully, and that the Koha installation is complete
507
508     |image1162|
509
510
511 1. **Web installer message:** Indicates if the web installation is complete
512 2. **Circulation rule creation message:** Indicates if the circulation rule was created successfully.
513 3. **Start using Koha:** Click to login to Koha using the Koha administrator account you created using the onboarding tool.
514
515
516
517 Login to access staff interface
518 _________________________________
519
520 You have now finished using the onboarding tool and can log into the staff interface using the patron account credentials you created in the onboarding tool
521
522    |image1163|
523
524    Login screen
525
526 1. **Username:** Enter the username you created for the patron
527 2. **Password:** Enter the password you created
528 3. **Library:** This is the library staff interface you want to log into. The options are either: *My library* or the library you installed/created. Leaving the default selected option of *My library* is fine to log in with first time.
529 4. Click the *Login* button to access the staff interface
530
531 For example:
532
533    |image1164|
534
535    Login example
536
537
538 Staff interface
539 ____________________
540
541
542 The staff interface should now appear
543
544    |image1165|
545
546    Staff interface
547
548
549 .. seealso::
550   For more information about how to use the staff interface, please visit `<https://koha-community.org/documentation/>`_