Installing on Ubuntu Linux

From ResourceSpace Documentation Wiki

Revision as of 20:21, 8 December 2009 by Danhuby (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Example installation on Ubuntu using Subversion

These instructions have been tested on Debian Linux also.

From the command line :-

(when installing packages, press return to use all the default settings when prompted)

apt-get update
apt-get install apache2 mysql-server php5 php5-gd php5-mysql subversion
apt-get install nano graphicsmagick graphicsmagick-imagemagick-compat
apt-get install ghostscript antiword xpdf ffmpeg postfix libimage-exiftool-perl cron wget

cd /var/www
mkdir old
mv * old/
svn co http://svn.montala.net/svn/resourcespace .

mkdir filestore
chmod 777 filestore 

mysql -u root -e "create database resourcespace"

...then fire up a web browser and point it at the server to resume the setup.

To set up the cron job:

nano /etc/cron.daily/resourcespace.sh

Add the lines:

#!/bin/sh
wget -q -r http://localhost/pages/tools/cron_copy_hitcount.php

Ctrl+O, Ctrl+X to save and quit, then do:

chmod 777 /etc/cron.daily/resourcespace.sh