Table of Contents

Installation

This installation documentation is designed as a general guide to installation of VuFind 1.0RC1 or later on a Linux server. For more detailed step-by-step instructions on building a Linux VuFind server from scratch, you may also want to read the VuFind on Fedora and VuFind on Ubuntu pages (Fedora and Ubuntu are two different flavors of Linux; you can do some research to decide which is best for your needs).

Requirements

To satisfy VuFind's dependencies, make sure you install the software versions recommended on the requirements page. You may use other versions at your own risk.

Installation Procedure

1. Install Apache HTTP Server

http://httpd.apache.org/docs/2.2/install.html Ensure that mod_rewrite is included in the build

2. Install MySQL

Most Linux distributions already have MySQL as a part of the distribution, but if you do not have it installed you can easily download from the following url:

http://mysql.org/downloads/mysql/5.0.html#downloads

3. Install PHP with following requirements:

--with-pear
--with-ldap
--with-mysql
--with-xsl
--with-pspell
--with-pdo-oci=instantclient,/path/to/oci,10.2.0.2 *
--enable-mbstring

4. Install the Java JDK

http://java.sun.com/javase/downloads/

5. Run the install script

The install script will attempt to setup the MySQL database and install necessary libraries.

Just load the VuFind code onto your server (default location: /usr/local/vufind). For details on obtaining VuFind, see the download page.

Once the software is loaded, switch to the installation directory and run:

%> ./install

6. Edit configuration files

The web/conf/config.ini should be modified to match your system settings. The httpd-vufind.conf only requires the change of the RewriteBase field (if you're not using the default of /vufind).

7. Start the VuFind Server

Be sure that VUFIND_HOME and JAVA_HOME are set in the profile of the user that will be running VuFind-related scripts. VUFIND_HOME should be set to the root directory of the VuFind installation.

Once everything is configured, you can start the server as described on the Starting and Stopping VuFind page.

8. Import BIB records into SOLR using the MARC Import Tool

See the Importing Records page for details on this process.

Installation is Complete

While the Import Tool loads the MARC records, you can begin to use your VuFind system. For more information on customizing VuFind's many options, visit the Configuration and Customization Page.

1) Steps to install PHP with PDO-OCI support:
  1. Download the Basic.zip and SDK.zip from the Oracle Instant Client web site
  2. Unzip the 2 zip files in the same directory
  3. Move the instantclient directory to somewhere on your server (/usr/local/lib is generally the place to put it)
  4. Create a symbolic link from the libclntsh.so.11.1 (or whatever version you have) to libclntsh.so as well as the same for libocci.so..
  5. Configure PHP with the option '–with-pdo-oci=instantclient,/usr/local/lib/instantclient,11.1.0.1'.
You may need to change the configure option to match the path that you have installed the instantclient to as well as the version that you downloaded