perl Makefile.PL
By default, Koha can be installed in one of three ways:
standard: Install files in conformance with the Filesystem
Hierarchy Standard (FHS). This is the default mode
and should be used when installing a production
Koha system. On Unix systems, root access is
needed to complete a standard installation.
single: Install files under a single directory. This option
is useful for installing Koha without root access, e.g.,
on a web host that allows CGI scripts and MySQL databases
but requires the user to keep all files under the user's
HOME directory.
dev: Create a set of symbolic links and configuration files to
allow Koha to run directly from the source distribution.
This mode is useful for developers who want to run
Koha from a git clone.
Installation mode (dev, single, standard) [standard] dev
這邊我選 dev
Please specify the directory in which to install Koha's active configuration files and (if applicable) the Zebra database. Koha's CGI scripts and templates will be run from the current directory. Configuration directory: [/home/koha/koha-dev]
維持預設路徑
Please specify which database engine you will use to store data in Koha. The choices are MySQL and PostgreSQL; please note that at the moment PostgreSQL support is highly experimental. DBMS to use (Pg, mysql) [mysql]
我用 mysql
Please specify the name or address of your database server. Note that the database does not have to exist at this point, it can be created after running 'make install' and before you try using Koha for the first time. Database server [localhost]
Please specify the port used to connect to the DMBS [3306]
Please specify the name of the database to be used by Koha [koha]
Please specify the user that owns the database to be used by Koha [kohaadmin] koha
我輸入我自訂的名稱 koha
Please specify the password of the user that owns the database to be used by Koha [katikoan] password
Koha can use the Zebra search engine for high-performance searching of bibliographic and authority records. If you have installed the Zebra software and would like to use it, please answer 'yes' to the following question. Otherwise, Koha will default to using its internal search engine. Please note that if you choose *NOT* to install Zebra, koha-conf.xml will still contain some references to Zebra settings. Those references will be ignored by Koha. Install the Zebra configuration files? (no, yes) [yes]
Since you've chosen to use Zebra with Koha, you must specify the primary MARC format of the records to be indexed by Zebra. Koha provides Zebra configuration files for MARC 21 and UNIMARC. MARC format for Zebra indexing (marc21, unimarc) [marc21]
Koha supplies Zebra configuration files tuned for searching either English (en) or French (fr) MARC records. Primary language for Zebra indexing (en, fr) [en]
Koha can use one of two different indexing modes
for the MARC authorities records:
grs1 - uses the Zebra GRS-1 filter, available
for legacy support
dom - uses the DOM XML filter; offers improved
functionality.
Authorities indexing mode (dom, grs1) [grs1]
Please specify Zebra database user [kohauser]
Please specify the Zebra database password [zebrastripes]
Since you've chosen to use Zebra, you can enable the SRU/ Z39.50 Server if you so choose, but you must specify a few configuration options for it. Please note that if you choose *NOT* to configure SRU, koha-conf.xml will still contain some references to SRU settings. Those references will be ignored by Koha. Install the SRU configuration files? (no, yes) [yes]
SRU Database host? [localhost]
SRU port for bibliographic data? [9998]
SRU port for authority data? [9999]
Since you've chosen to use Zebra, you can also choose to install PazPar2, which is a metasearch tool. With PazPar2, Koha can perform on-the-fly merging of bibliographic records during searching, allowing for FRBRization of the results list. Install the PazPar2 configuration files? [no] Koha will be installed with the following configuration parameters: AUTH_INDEX_MODE grs1 DB_HOST localhost DB_NAME koha DB_PASS ilovekoha DB_PORT 3306 DB_TYPE mysql DB_USER koha INSTALL_BASE /home/koha/koha-dev INSTALL_MODE dev INSTALL_PAZPAR2 no INSTALL_SRU yes INSTALL_ZEBRA yes KOHA_INSTALLED_VERSION 3.00.00.067 ZEBRA_LANGUAGE en ZEBRA_MARC_FORMAT marc21 ZEBRA_PASS ilovekoha ZEBRA_SRU_AUTHORITIES_POR9999 ZEBRA_SRU_BIBLIOS_PORT 9998 ZEBRA_SRU_HOST localhost ZEBRA_USER kohauser and in the following directories: DOC_DIR /home/koha/koha-dev/doc INTRANET_CGI_DIR /home/koha/koha-3.00.00-beta INTRANET_TMPL_DIR /home/koha/koha-3.00.00-beta/koha-tmpl/intranet-tmpl INTRANET_WWW_DIR /home/koha/koha-3.00.00-beta/koha-tmpl KOHA_CONF_DIR /home/koha/koha-dev/etc LOG_DIR /home/koha/koha-dev/var/log MAN_DIR /home/koha/koha-dev/man MISC_DIR /home/koha/koha-dev/misc OPAC_CGI_DIR /home/koha/koha-3.00.00-beta OPAC_TMPL_DIR /home/koha/koha-3.00.00-beta/koha-tmpl/opac-tmpl OPAC_WWW_DIR /home/koha/koha-3.00.00-beta/koha-tmpl PAZPAR2_CONF_DIR /home/koha/koha-dev/etc/pazpar2 PERL_MODULE_DIR /home/koha/koha-3.00.00-beta SCRIPT_DIR /home/koha/koha-dev/bin ZEBRA_CONF_DIR /home/koha/koha-dev/etc/zebradb ZEBRA_DATA_DIR /home/koha/koha-dev/var/lib/zebradb ZEBRA_LOCK_DIR /home/koha/koha-dev/var/lock/zebradb ZEBRA_RUN_DIR /home/koha/koha-dev/var/run/zebradb To change any configuration setting, please run perl Makefile.PL again. To override one of the target directories, you can do so on the command line like this: perl Makefile.PL PERL_MODULE_DIR=/usr/share/perl/5.8 You can also set different default values for parameters or override directory locations by using environment variables. For example: export DB_USER=my_koha perl Makefile.PL or DB_USER=my_koha DOC_DIR=/usr/local/info perl Makefile.PL If installing on a Win32 platform, be sure to use: 'dmake -x MAXLINELENGTH=300000' Checking if your kit is complete... Looks good [Wed Apr 2 15:09:34 2008] Makefile.PL: Warning: prerequisite Data::ICal 0.13 not found. [Wed Apr 2 15:09:35 2008] Makefile.PL: Warning: prerequisite MARC::Charset 0.98 not found. We have 0.97. [Wed Apr 2 15:09:35 2008] Makefile.PL: Warning: prerequisite MARC::Crosswalk::DublinCore 0.02 not found. [Wed Apr 2 15:09:35 2008] Makefile.PL: Warning: prerequisite MARC::File::XML 0.88 not found. We have 0.86. [Wed Apr 2 15:09:37 2008] Makefile.PL: Warning: prerequisite POE 0.9999 not found. We have 0.9989. [Wed Apr 2 15:09:37 2008] Makefile.PL: Warning: prerequisite Schedule::At 1.06 not found. [Wed Apr 2 15:09:37 2008] Makefile.PL: Warning: prerequisite Text::CSV 0.01 not found. We have unknown version. [Wed Apr 2 15:09:37 2008] Makefile.PL: Warning: prerequisite Text::Iconv 1.7 not found. We have 1.4. [Wed Apr 2 15:09:37 2008] Makefile.PL: Warning: prerequisite 1.31 not found. We have 1.05. Writing Makefile for koha
有些 perl modules 漏裝或是版本太舊,用 cpan 重新裝一次或是更新
cpan -i Data::ICal MARC::Charset MARC::Crosswalk::DublinCore MARC::File::XML POE Schedule::At Text::CSV Text::Iconv XML::RSS
