How VPS - How to use/setup VPS
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home Operating System CentOS

How to Install ResourceSpace on CentOS 7

How VPS by How VPS
October 1, 2019
in CentOS
0
0
SHARES
10
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Using a Different System?
  2. Prerequisites
  3. Step 1: System update
  4. Step 2: Install Apache web server
  5. Step 3: Install PHP 7.1
  6. Step 4: Install MariaDB
  7. Step 5: Create database for ResourceSpace
  8. Step 6: Install Dependencies
  9. Step 7: Install ResourceSpace
  10. Step 8: Create virtual host
  11. Step 9: Finish installation
  12. Want to contribute?

Using a Different System?

  • How to Install ResourceSpace on Ubuntu 16.10

Are we missing a guide for your target system? Request one, or submit your own!


ResourceSpace is a free and open-source Digital Asset Management (DAM) software. It is written in PHP and stores its database in MySQL server. It provides a better way to organize, manage and share the digital assets such as images, design files, photos, videos, audio and more into an organization.

In this tutorial, we will be installing ResourceSpace on CentOS 7.

Prerequisites

  • A Vultr CentOS 7 server instance with at least 1024 MB of RAM.
  • A sudo user.

Step 1: System update

Before installing any packages on the CentOS server instance, it is recommended to update the system. Log in using the sudo user and run the following commands to update the system.

sudo yum -y clean all
sudo yum -y install epel-release
sudo yum -y update
sudo shutdown -r now

Once the system is back online, log in again as the sudo user and proceed to the next step.

Step 2: Install Apache web server

Install Apache web server by running:

sudo yum -y install httpd

Start Apache and enable it to automatically run at boot time.

sudo systemctl start httpd.service
sudo systemctl enable httpd.service

Step 3: Install PHP 7.1

In this tutorial, we will use PHP 7.1 to obtain maximum security and stability. First, add and enable the Remi repository.

sudo rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
sudo yum -y install yum-utils
sudo yum-config-manager --enable remi-php71

Install the latest version of PHP along with the modules required by ResourceSpace.

sudo yum -y install php php-dev php-gd php-mysqli php-mbstring php-curl php-cli php-pear php-devel

Configure php.ini using any text editor of your choice.

sudo nano /etc/php.ini

Find the following lines and change their values according to the instructions provided.

memory_limit = 128M          //change it to any value greater than 512M
post_max_size 8M             //change it to 512M 
upload_max_filesize 2M       //change it to 512M

Step 4: Install MariaDB

MariaDB is a fork of MySQL. Install MariaDB by running.

sudo yum -y install mariadb mariadb-server

Start MariaDB and enable it to automatically start at boot time.

sudo systemctl start mariadb.service
sudo systemctl enable mariadb.service

Before configuring the database, you will need to secure MariaDB first. You can secure it by running the mysql_secure_installation script:

sudo mysql_secure_installation

You will be asked for the current MariaDB root password. By default, there is no root password in fresh MariaDB installation. Press the Enter key to proceed. Set a strong password for root user of your MariaDB server and answer Y to all of the other questions. The questions asked are self-explanatory.

Step 5: Create database for ResourceSpace

Log into the MySQL shell as root user by running.

mysql -u root -p

Provide the password for the MariaDB root user to log in.

Run the following queries to create a database and a database user for ResourceSpace installation.

CREATE DATABASE rs_data CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER 'rs_user'@'localhost' IDENTIFIED BY 'StrongPassword';
GRANT ALL PRIVILEGES ON rs_data.* TO 'rs_user'@'localhost';
FLUSH PRIVILEGES;
EXIT;

You can replace the database name rs_data and username rs_user according to your choice. Be sure to change StrongPassword to a very strong password.

Step 6: Install Dependencies

For ResourceSpace to work, you will also need to install antiword ffmpeg perl-Image-ExifTool ImageMagick and xpdf packages.

Few of the dependencies are not available in either YUM or EPEL repository, hence you will need to install RPMFusion and CERT repository.

sudo yum -y localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
sudo yum -y localinstall https://forensics.cert.org/cert-forensics-tools-release-el7.rpm

Install the packages by typing:

sudo yum -y install antiword ffmpeg perl-Image-ExifTool ImageMagick xpdf

Step 7: Install ResourceSpace

Download the ResourceSpace zip archive using:

wget https://www.resourcespace.com/downloads/ResourceSpace_8_1_10036.zip

You can always find the link to the latest version of software on the ResourceSpace download page.

Install unzip by running:

sudo yum -y install unzip

Extract the archive:

sudo unzip ResourceSpace*.zip -d /var/www/resourcespace

Provide the appropriate ownership by running:

sudo chown -R apache:apache /var/www/resourcespace

Allow HTTP traffic on port 80 through the firewall.

sudo firewall-cmd --zone=public --permanent --add-service=http
sudo firewall-cmd --reload

Step 8: Create virtual host

Run the following command to create a virtual host for your ResourceSpace site.

sudo nano /etc/httpd/conf.d/assets.example.com.conf

Add the following vhost configuration to the file:

<VirtualHost *:80>
    ServerName assets.example.com
    DocumentRoot /var/www/resourcespace
    <Directory /var/www/resourcespace>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        allow from all
    </Directory>
</VirtualHost>

Restart Apache.

sudo systemctl restart httpd

Step 9: Finish installation

Your ResourceSpace installation is now complete. You can finish configuring ResourceSpace through your web browser. Open your web browser and navigate to URL http://assets.example.com with the actual domain name pointed towards your Vultr VPS.

Want to contribute?

You could earn up to $300 by adding new articles

Submit your article
Suggest an update
Request an article
How VPS

How VPS

Related Posts

Failed to download metadata for repo 'appstream' on Centos 8
CentOS

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Install BoltWire CMS on CentOS 7
CentOS

How to Install BoltWire CMS on CentOS 7

February 14, 2020
Showterm.io – A Terminal/Shell Recording, Upload and Share Tool for Linux
CentOS

Setup HTTP Authentication With Nginx on CentOS 7

February 14, 2020
Next Post

Install MongoDB on CentOS 7

How to Install Koel on CentOS 7

How to Install Rocket.Chat on CentOS 7

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Follow Us

  • 121 Followers
  • 87.2k Followers

Recommended

Installing and Configuring Chronograf on Ubuntu 16.04 LTS

3 years ago
ISPConfig Reviews

ISPConfig Reviews

3 years ago

Learn Why ‘less’ is Faster Than ‘more’ Command for Effective File Navigation

4 years ago

Install Nginx + PHP FPM + Caching + MySQL on Ubuntu 12.04

3 years ago

Instagram

    Please install/update and activate JNews Instagram plugin.

Categories

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel

Topics

Apache Web Server Bluehost Review 2019 Bluehost Review 2020 Bluehost Review 2021 Centmin Mod CentminMod centos install htop fsck htop install HTTP DoS attack Install Snort on an Ubuntu install Zabbix on CentOS install Zabbix on CentOS 7 Linux Commands linux guide linux install htop linux vps setup guide MariaDB MariaDB Error Mysql mysqld error optimize MariaDB optimize Mysql snort Ubuntu
No Result
View All Result

Highlights

Top Free Web Hosting Control Panels To Manage VPS/Dedicated Servers

Webmin Reviews

Virtualmin Reviews

CentOS Web Panel Reviews

Ajenti Reviews

ISPConfig Reviews

Trending

Failed to download metadata for repo 'appstream' on Centos 8
CentOS

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

by How VPS
February 25, 2022
0

I tried to update some extensions by use yum on centOs which I specified in Dockerfile. After...

How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020
Top Free Web Hosting Control Panels To Manage VPS/Dedicated Servers

Top Free Web Hosting Control Panels To Manage VPS/Dedicated Servers

February 17, 2020
Webmin Reviews

Webmin Reviews

February 17, 2020
How VPS – How to use/setup VPS

We bring you the best Premium WordPress Themes that perfect for news, magazine, personal blog, etc. Visit our landing page to see all features & demos.
LEARN MORE »

Recent News

  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8 February 25, 2022
  • How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”? November 17, 2020
  • How to optimize Mysql or MariaDB November 3, 2020

Categories

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel

[mc4wp_form]

© 2018 JNews - City News Magazine WordPress theme. All rights belong to their respective owners.
JNews is a top selling 2018 WordPress News, Blog, Newspaper & Magazine Theme.

No Result
View All Result
  • Home

© 2023 JNews - Premium WordPress news & magazine theme by Jegtheme.