Installing ResourceSpace (aka The Photolibrary)
- Create the directory in which the application will reside
cd /var/www/html/sites/
mkdir photolibrary - Create the credentials file and store it
#cat > /root/files/photolibrarycredentialsusername=Photolibrary
password=PhotoLibrary67
domain=WIND - Download ResourceSpace from http://www.resourcespace.org/download.php
cd /root/downloads/resourcespace/
wget http://www.resourcespace.org/downloads/ResourceSpace_XXXXXXXX.zip - Unzip ResourceSpace and move all the files to the designated directory
unzip -q -d resourcespace ResourceSpace_XXXXXXXX.zip
cp -a resourcespace/* /var/www/html/sites/photolibrary/ - Change ownership of photolibrary directory and files
chown -R apache:apache /var/www/html/sites/photolibrary - Create the file mount (mount the Windows Share as a Linux subdirectory)
mount -t cifs //srv-01/PhotoLibrary -o credentials=/root/files/photolibrary/credentials,uid=48,gid=48,rw /var/www/html/sites/photolibrary/filestore
Updated 14 Dec 2015
mount -t cifs //EWEANAS01/PhotoLibrary -o credentials=/root/files/photolibrary/credentials,uid=48,gid=48,rw /var/www/html/sites/photolibrary/filestoreAdd this also to /etc/rc.local so it mounts the directory automatically on reboot.
- Create a database in PhpMyAdmin
photolibrary - Create a user account in PhpMyAdmin and give permissions to the photolibrary database
Username: photolib_user
Password: 5A5wdpqG - Open a browser and navigate to http://photolibrary/
- Enter the database details
- Now log in to the photo library from
http://photolibrary/login.php
Default username/password = admin/admin - Click on “Admin User” (top right corner) to change admin password
- Click on “Team Centre” then “Manage Users” to add new users.
- Click on “Upload” and try uploading a photo to see if it works.
That’s all there is to it!
More information is here: wiki.resourcespace.org

