Language:

Search

Vufind Install on Debian

  • Share this:
post-title
  1. If not exists Apache Server install Apache
    • sudo apt-get -y install apache2
    • sudo a2enmod rewrite
    • sudo /etc/init.d/apache2 force-reload
  2. If not exists MYSQL Server install Apache
    • sudo apt-get -y install mysql-server
  3. Installing PHP
    • apt-get -y install php5 php5-dev php-pear php5-json php5-ldap php5-mcrypt php5-mysql php5-xsl php5-intl php5-gd phpmyadmin
  4. If not exists Java install
    • apt-get install openjdk-7-jdk openjdk-7-jre openjdk-7-doc
  5. Set Environment
    • JAVA_HOME="/usr/lib/jvm/java-7-openjdk-amd64"
    • JRE_HOME="/usr/lib/jvm/java-7-openjdk-amd64/jre"
    • JAVA_OPTS="-Xms2048m -Xmx7168m -Dfile.encoding=UTF-8"
    • VUFIND_HOME="/usr/local/vufind2"
    • VUFIND_LOCAL_DIR="/usr/local/vufind2/local"
  6. Upload Vufind2.zip to /usr/local and Unzip it that url like /usr/local/vufind2/
  7. cd /usr/local/vufind2
  8. php install.php
    1. Answer the questions:
      Where would you like to store your local settings?: [press enter]
      What module name would you like to use?: [press enter]
      What base path should be used in VuFind's URL?: [press enter]
  9. ln -s /usr/local/vufind2/local/httpd-vufind.conf /etc/apache2/conf.d/vufind
  10. sudo chown -R www-data:www-data /usr/local/vufind2/local/cache
  11. sudo chown -R www-data:www-data /usr/local/vufind2/local/config
  12. reboot
  13. Special note: normally solr runs on port 8080. just in case something else is running on port 8080, we move solr to another port. procedure given below asuming we want the port to be 9090.
    1. edit /etc/apache2/ports and add 'listen 9090' //DONT ADD THIS. NOT NEEDED
    2. edit /usr/local/vufind/solr/jetty/etc/jetty.xml and change port '8080' to '9090'
    3. edit /usr/local/vufind/web/conf/config.ini
    4. edit /usr/local/vufind/vufind/vufind.sh
    5. edit /usr/local/vufind/import/import.properties
    6. edit /usr/local/vufind/import/import_auth.properties
  14. make sure that the vufind.sh script has execute permissions:
    1. chmod +x vufind.sh
    2. chmod +x import-marc.sh
    3. chmod +x import-marc-ej.sh

    15. cd /usr/local/vufind2/

    16. ./vufind.sh start

 
Open a web browser, and browse to this URL:

http://your-server-name/vufind/Install/Home

Yusuf Khalil

Yusuf Khalil