In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
ResourceSpace is a free and open source digital asset management (DAM) software. It is written in PHP and uses MySQL to store the database. It provides a better way to organize, manage and share digital assets such as images, design files, photos, video, audio, and so on.
prerequisite
A server instance with at least 1024 MB of RAM.
Sudo user.
Step 1: system update
It is recommended that you update the system before installing any packages on the Ubuntu server instance. Log in as the sudo user and run the following command to update the system.
Sudo apt-get update
Sudo apt-get-y upgrade
Step 2: install the Apache web server
Install the Apache web server.
Sudo apt-get-y install apache2
Start Apache and make it run automatically at boot time.
Sudo systemctl start apache2sudo systemctl enable apache2
Step 3: install PHP 7
In this tutorial, we will use PHP 7 for maximum security and stability. Install the latest version of PHP using the modules required by the resource space.
Sudo apt-get-y install php php-dev php-gd php-mysql php-mbstring php-curl php-cli php-pear
Configure php.ini using any text editor you choose.
Sudo nano / etc/php/7.0/apache2/php.ini
According to the instructions provided, locate the following lines and change their values.
Memory_limit = 128m / / change it to any value greater than 512Mpost_max_size 8m / / change it to 512Mupload_max_filesize 2m / / change it to 512m
Step 4: install MySQL
Install the MySQL database server by running.
Sudo apt-get-y install mysql-server
Start the MySQL server and make it start automatically at startup.
Sudo systemctl start mysqlsudo systemctl enable mysql
Make sure your MySQL installation.
Sudo mysql_secure_installation
You will be required to use the current MySQL root password. Provide the root password setting during installation and answer all questions asked. The question asked is self-evident.
Step 5: create a database for ResourceSpace
Log in to MySQL shell as root:
Mysql-u root-p
Provide the login password for the MySQL root user.
Run the following query to create a database and a database user for the resource space.
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 the user name rs_user according to your choice. Be sure to change the StrongPassword to a very strong password.
Step 6: install more dependencies
For resource space to work, you also need to install
Antiword ffmpeg perl-Image-ExifTool ImageMagick and xpdf.
Install the package by entering:
Sudo apt-get-y install antiword ffmpeg libimage-exiftool-perl imagemagick xpdf
Step 7: install ResourceSpace
Download the resource space compressed archive file:
Wget https://www.resourcespace.com/downloads/ResourceSpace_8_1_10036.zip
You can always find links to the latest versions of the software on the download page of ResourceSpace.
Install and decompress and run:
Sudo apt-get-y install unzip
Extract files:
Sudo unzip ResourceSpace*.zip-d / var/www/resourcespace
Provide appropriate ownership for apache users.
Sudo chown-R www-data:www-data / var/www/resourcespace
Step 8: create a virtual host
Run the following command to create a virtual host for your resource space site.
Sudo nano / etc/apache2/sites-available/assets.example.com.conf
Add the following vhost configuration to the file:
ServerName assets.example.com DocumentRoot / var/www/resourcespace Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all
Activate the configuration by running.
Sudo a2ensite assets.example.com.conf
Restart Apache.
Sudo systemctl restart apache2
Step 9: complete the installation
Your resource space installation is now complete. You can configure the resource space through the web browser. Open a web browser and navigate to the actual domain name of URL http://assets.example.com to point to your server.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.