Installing ResourceSpace (aka The Photolibrary)

  1. Create the directory in which the application will reside
    cd /var/www/html/sites/
    mkdir photolibrary

  2. Create the credentials file and store it
    #cat > /root/files/photolibrarycredentials

    username=Photolibrary
    password=PhotoLibrary67
    domain=WIND

  3. Download ResourceSpace from http://www.resourcespace.org/download.php
    cd /root/downloads/resourcespace/
    wget http://www.resourcespace.org/downloads/ResourceSpace_XXXXXXXX.zip

  4. 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/

  5. Change ownership of photolibrary directory and files
    chown -R apache:apache /var/www/html/sites/photolibrary

  6. 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/filestore

    Add this also to /etc/rc.local so it mounts the directory automatically on reboot.

  7. Create a database in PhpMyAdmin
    photolibrary

  8. Create a user account in PhpMyAdmin and give permissions to the photolibrary database
    Username: photolib_user
    Password: 5A5wdpqG

  9. Open a browser and navigate to http://photolibrary/
  10. Enter the database details
  11. Now log in to the photo library from
    http://photolibrary/login.php
    Default username/password = admin/admin

  12. Click on “Admin User” (top right corner) to change admin password
  13. Click on “Team Centre” then “Manage Users” to add new users.
  14. 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

  1. No comments yet.

  1. No trackbacks yet.