| 1 | [wiki:howto <- Back to the HOWTO section] |
| 2 | |
| 3 | = Koha - Integrated Library Sistem = |
| 4 | |
| 5 | * Audience: everybody |
| 6 | * Requires: MacPorts >=1.6 |
| 7 | |
| 8 | == Introduction == |
| 9 | |
| 10 | Koha 3 comes with a new installer, based on MakeMaker, the tool that is usually used to install CPAN modules. This means that if you know |
| 11 | how to customise CPAN-installed modules, the same things should work for you with Koha. If not, don't worry. If you want to customise the installation more than described below, run "man ExtUtils::MakeMaker". |
| 12 | |
| 13 | === Step 1: '''A webserver: setting a MAMP''' === |
| 14 | Before installing Koha, you need to have a server running Perl 5.8. Simply open Terminal and type: |
| 15 | {{{ |
| 16 | $ sudo port perl5.8 |
| 17 | }}} |
| 18 | and then MySQL 5 [or PostgreSQL 8.2.5] a webserver (preferably Apache2). So you need a MAMP (without PHP and phpmyadmin, if you don't need them for database configuration). Look at this wiki [wiki:howto/MAMP]. |
| 19 | |
| 20 | === Step 2: '''Zebra and pazpar2''' === |
| 21 | You need also some indexdata software. First of all: Zebra 2.0.22 or greater. |
| 22 | {{{ |
| 23 | $ sudo port zebra |
| 24 | }}} |
| 25 | |
| 26 | For more features you need also pazpar2 1.0.9 or greater. Install the port: |
| 27 | {{{ |
| 28 | $ sudo port pazpar2 |
| 29 | }}} |
| 30 | |
| 31 | === Step 3: '''A database''' === |
| 32 | MySQL 5: Create a database called 'koha,' owned by 'kohaadmin' user, with a password set. Note: kohaadmin must have at least the following privileges: SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER, and LOCK TABLES. |
| 33 | |
| 34 | For this purpose, it is useful to install phpmyadmin, whose configuration is described before in wiki [wiki:howto/MAMP]: |
| 35 | {{{ |
| 36 | $ sudo port phpmyadmin |
| 37 | }}} |
| 38 | |
| 39 | PostgreSQL 8.2.5: Create a database called 'koha,' owned by 'kohaadmin' user, with a password set. Note: kohaadmin must be a superuser. You must also add plpgsql to the koha database. NOTE: PostgreSQL support in Koha is experimental and should not be attempted for production systems without a heavy investment in testing. |
| 40 | |
| 41 | == Installation == |
| 42 | |
| 43 | === Step 1: '''TODO: Step 1 title''' === |
| 44 | |
| 45 | TODO |
| 46 | |
| 47 | == Configuration == |
| 48 | |
| 49 | TODO |
| 50 | |
| 51 | == Optional Parts == |
| 52 | |
| 53 | === '''TODO: What else can be done?''' === |
| 54 | |
| 55 | [wiki:howto <- Back to the HOWTO section] |