Skip to content

Instantly share code, notes, and snippets.

@jlyon
Last active December 27, 2015 03:29
Show Gist options
  • Save jlyon/7259668 to your computer and use it in GitHub Desktop.
Save jlyon/7259668 to your computer and use it in GitHub Desktop.
Setting up vufind localhost enviornment
# pecl and other depends
sudo apt-get install libcurl3-openssl-dev
sudo pecl install pecl_http

git clone git@github.com:vufind-org/vufind.git
cd vufind
git fetch --all
git checkout -b release-2.1
git pull origin release-2.1

#sudo sh -c 'echo export JAVA_HOME=\"/usr/lib/jvm/default-java\" >> /etc/profile'
sudo sh -c 'echo export VUFIND_HOME=\"/home/jeff/workspace/vufind\"  >> /etc/profile'
sudo sh -c 'echo export VUFIND_LOCAL_DIR=\"/home/jeff/workspace/vufind\local\"  >> /etc/profile'
source /etc/profile

sudo chown -R www-data:www-data /home/jeff/workspace/vufind/local/cache
sudo chown -R www-data:www-data /home/jeff/workspace/vufind/local/config

php install.php
sudo ln -s /media/sda4/shared/workspace/vufind/local/httpd-vufind.conf /etc/apache2/conf.d/vufind
sudo /etc/init.d/apache2 reload

./vufind.sh start
# go to http://localhost/vufind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment