Toggle navigation

ResourceSpace Image Guide

Version 8.1

Websoft9 ResourceSpace is a pre-configured, ready to run image for running ResourceSpace on Alibaba Cloud.

ResourceSpace is Open Source Digital Asset Management (DAM) software that offers considerable savings over proprietry systems.It has been released under a BSD-style license. A particular focus is on the improvement of collaboration between users when assembling resources together for a project.Users can create custom ‘collections’ which include resources and saved searches, which can be shared with other users. Collections work like a shopping cart on an e-commerce site, and are always visible in a strip at the bottom of the screen.

Application Software(ResourceSpace8.1)
Software directory: /data/wwwroot/resourcespace

Application Server(PHP7.0,APACHE2.4)
PHP Configuration File: /etc/php/7.0/apache2/php.ini
Apache Vhost Configuration File: /etc/apache2/sites-available
Apache Log Files:/var/log/apache2

Database install directory: /usr/share/mysql
Database data directory: /data/mysql
Database Configuration File: /etc/mysql/mysql.conf.d/mysqld.cnf
PhpMyAdmin install directory: /usr/share/phpmyadmin
Kown more from MySQL User Guide

After the installation of Image,please verify it

  • Login on Alibaba Cloud console,get you Internet IP Address
  • Open you Chrome or Firefox on your local PC,visit the http://Internet IP Address/
  • If verify successfully,you can enter the Start Installation page of this Image
  • If no response from browser,please check the Security Group settings to ensure that port 80 is been allowed

Using Chrome or Firefox to visit: http://Internet IP Address/ to start the tapplication installation process.It is recommended to complete two steps before the installation:

  • Domain resolution if you want to use (Add an A record to the Internet IP Address of Server from your Domain Control Panel)
  • Modify the MySQL password of Root through PhpMyAdmin

Then access the installation page by domain directly and complete the installation wizard for the following steps:

  1. Visit http://Internet IP Address or http://yourdomain to enter the start page of installation
  2. Select your language and make sure the automatic installation check is OK
  3. Fill in the  Database configuration(Default MySQL password of root is 123456) and General Settings

  4. Click the “Begin installation” button to start installation proccess
  5. Then you will receive feedback on successful installation below
  6. Open a new tab of browser,and visist http://Internet IP Address/login.php
  7. Afer log in,you can see the interface of ResourceSpace

Three usernames and passwords are required for application installation, application using, andapplication maintenance:

1、ResourceSpace:Username and password is set by youself when installation,
Backend URL:http://Internet IP Address/login.php
2、MySQL Database:Default username and password is root/123456,
Control Panel URL:http://Internet ip Address/phpmyadmin
3、Linux Server:Username is root,Password is set by youself when buying.You can reset the password through console and restart the Server if you have forgotten it.Please Using the Putty for Remote and WinSCP for SFTP

Routine backup (archives) of the database and application setup is essential to ensure failover is can use Manual Backup as following steps:

  1. Download the entire software directory(/data/wwwroot/resourcespace) by SFTP or other tools
  2. Visit http://< Internet IP Address >/phpMyAdmin,login in to the phpMyAdmin Panel
  3. Select your database,then Export it
  4. Click “go” button for backup process,and then download the SQL backup file

Before upgrade you should put the site down for maintenance and always Backup your code, data and config files.

To upgrade from an earlier version of ResourceSpace, follow these steps.

  1. Take a backup of your system (files + database). This is always sensible before making any major changes, but in this case it is a requirement so you can replace any local modifications you’ve made.
  2. Copy all files from the new version over the top of the old files. Alternatively start afresh and remove existing files first (except /filestore) which may be tidier – if files have changed location for example then this prevents duplication.
  3. Replace any files you had changed locally from your backup copy, for example config.php, title.gif etc.

The database will be upgraded as necessary automatically.

You may then wish to review any new settings in /include/config.default.php, copying any settings you wish to change to your config.php file.


Plugins are packages that extend or modify ResourceSpace’s function and presentation. Plugins have a managed structure which makes it easy for third parties to write and for site administrators to maintain, even as function and bug fixes are applied to the base code. The use of plugins is designed to prevent modification of the core ResourceSpace build to make it easier for more bespoke configurations to be upwards compatible, i.e able to keep upgrading without requiring extensive maintenance work.

  1. Login as administrator,go to Admin->System->Manage Plugin,you can enter the plugin manage interface
  2. The plugin manager page is divided into three parts, “Currently Activated Plugins,” “Available Plugins,” and “Upload Plugin.” The general idea is that uploading a plugin makes it available, and activating it makes it, well, active.

To upload a new plugin, thus making it available for activation, click the Browse button, navigate to the plugin’s .rsp file and select it. Then click on Upload Plugin. Once the .rsp file is uploaded, the plugin manager validates its contents, decompresses and unpacks the files, and moves them into the proper location. When that has been accomplished, the newly uploaded plugin appears in the Available Plugins section.

To activate an available plugin, click on its “Activate” link. Doing so causes it to “go live.” The newly activated plugin moves from the Available Plugins section to the Currently Activated Plugins section. Once a plugin is active, it becomes available to all user groups. If you desire you can change this, activating the plugin for selected user groups only. Click on “Group Access” for the plugin and choose the user groups for which the plugin should be active. Click Save to save your choices.

In addition to group access control, some plugins can be — or must be — configured. An active plugin that supports configuration displays an “Options” link in the plugin manager. Clicking on it takes you to the plugin-specific configuration page.

To deactivate a plugin, click on the “Deactivate” for the plugin. Deactivating a plugin causes the plugin to no longer be active. If the plugin has stored data associated with it, that data is notremoved from the system. Reactivating the plugin puts it back into effect and any data stored from the previous activation is still available. Completely removing data stored by a plugin is a manual process that’s beyond the scope of this article.

Older versions may have a “Delete” link associated with available plugins. As of October 2011 this link has no effect (due to security concerns).

Some available plugins have additional information associated with them. These have a “More Info” link associated with them. Clicking one takes you to the plugin-specific information page the author created for it.

Websoft9 Mantis Image have installed the phpMyadmin

Following is the step for access phpMyadmin

  1. Open Chrome or Firefox on your local PC
  2. visit the http://Internet IP Address/phpMyAdmin,you can enter the login page
  3. select you language,Username:root,Password:123456
  4. Click the button “Go”

You can use the command to manage the services for Server.Please choose the corresponding command mode according to different types of operating system

Ubuntu Linux

Apache http service

~# systemctl start httpd
~# systemctl stop httpd
~# systemctl restart httpd
~# systemctl reload apache2 #Configuration file

MySQL  service

~# systemctl start mysqld
~# systemctl stop mysqld
~# systemctl restart mysqld


~# a2dismod ModuleName  #disable Apache2 module
~# a2enmod ModuleName    #enable Apache2 module
~# a2ensite Configuration      #enable vhost configuration
~# a2dissiteConfiguration      #disable vhost configuration

When install new extension from back-end it will not successful,may be the permissions of file and folder is not appropriate,you should change it

Web site root permissions to follow:
file 644, folder 755 ,Permissions Users and groups www-data
If there is a file permissions problem, execute the following three commands:

chown -R www-data.www-data /data/wwwroot/resourcespace
find /data/wwwroot/default/resourcespace -type d -exec chmod 755 {} \;
find /data/wwwroot/default/resourcespace -type f -exec chmod 644 {} \;

Modify the /etc/php/7.0/apache2/php.ini file to increase the allowed size for uploads:

; Maximum size of POST data that PHP will accept.
post_max_size = 16M
; Maximum allowed size for uploaded files.
upload_max_filesize = 16M

then,restart the apache

# systemctl restart httpd

The PHP configuration file allows you to configure the modules enabled, the email settings or the size of the upload files. It is located at /etc/php/7.0/apache2/php.ini.

There are some PHP settings that need to be sufficient to install.

e.g The values for PHP.ini below are suggested values only.

  • memory_limit – Minimum: 256M Recommended: 1G or better
  • upload_max_filesize – Minimum: 20M
  • post_max_size – Minimum: 20M
  • max_execution_time: At Least 120 Recommended: 300

After modifying the PHP configuration file, restart both Apache and PHP-FPM for the changes to take effect:

# systemctl restart httpd

If you receive the message “Maximum execution time of 30 seconds exceeded”.You may also like to extend the max_execution_time for PHP and you can modify it by two methods below

Method one: edit your /etc/php/7.0/apache2/php.ini

; Maximum execution time of each script, in seconds
; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time = 90
; Maximum amount of time each script may spend parsing request data. It's a good
; idea to limit this time on productions servers in order to eliminate unexpectedly
; long running scripts.

Method two: edit your .htaccess:

<IfModule mod_php5.c>
php_value max_execution_time 90