ResourceSpace is web-based, open source digital asset management system. It can handle photos, videos, audio and documents – and as you will see it has a great (and very flexible) user interface.
So let’s get started with installing ResourceSpace.
First update your repositories and install Apache2, PHP5, MySQL and other required packages (you will be prompted to create a password for your MySQL database):
sudo apt-get update sudo apt-get install apache2 mysql-server php5 php5-dev php5-gd php5-mysql php5-svn subversion sudo apt-get install nano graphicsmagick graphicsmagick-imagemagick-compat sudo apt-get install ghostscript antiword xpdf ffmpeg postfix libimage-exiftool-perl cron wget
Note: you will also be prompted to configure postfix. I accepted the defaults for the postfix installation as I do not plan on emailing myself from ResourceSpace.
Change directory to /var/www/ and download ResourceSpace from Subversion:
cd /var/www sudo svn co http://svn.montala.net/svn/resourcespace
Change directory to resourcespace and create and set permissions for the filestore folder:
cd resourcespace sudo mkdir filestore sudo chmod 777 filestore
Log in to MySQL as the root MySQL user and create a database called resourcespace:
mysql -u root -p create database resourcespace; quit
Make the include folder in /var/www/resourcespace executable for all users:
sudo chmod -R 777 include
At this point you should be able to access ResourceSpace on your server but if you do you will see that there is some outstanding PHP configuration that needs to be done:
As you can see the Installation Check tells us that we need to change the memory_limit, post_max_size and upload_max parameters in php.ini:
cd /etc/php5/apache2/ sudo nano php.ini
Change the memory_limit, post_max_size and upload_max parameters to values that reflect your anticipated usage. I set mine to 512M, 250M and 250M respectively.
sudo /etc/init.d/apache2 restart
Now we can open a browser and complete the setup of ResourceSpace as follows: http://<server-ip-address>/resourcespace
Enter the MySQL password that you created during the installation of MySQL.
You will also need to amend to email fields. Simply change the @mysite to something appropriate for your environment.
All of the other fields that you will see on this page are preset so you can scroll to the bottom and click the Begin Installation button (unless you feel the need to change anything like the Application Name, for example).
Installation is now complete and you will be able to log in to ResourceSpace:
If you are going to be using ResourceSpace for uploading video I would recommend that you also install Medibuntu.
I ran the Installation check within my ResourceSpace install and found that Blocked browsing of ‘filestore’ directory failed with the following error:
FAIL: filestore folder appears to be browseable; remove ‘Indexes’ from Apache ‘Options’ list.
Obviously this is something that we need to fix:
sudo nano /etc/apache2/httpd.conf
Add the following and then save httpd.conf:
<Directory /var/www/resourcespace> Options -Indexes AllowOverride All Order allow,deny Allow from all </Directory>
sudo /etc/init.d/apache2 restart
ResourceSpace is quite customizable and I recommend that you take a look at these two YouTube videos to familiarize yourself further: