In order to run CumulusClips, the following requirements have to be installed on your CentOS server:
– Apache web server
– MySQL/MariaDB server
– PHP version 5.2 or newer
Log in to your CentOS server via SSH as user root
and execute the following command to update all services installed on your server.
yum -y update
Install MariaDB server
yum install mariadb mariadb-server
Once the database server is installed, start the MariaDB database server and enable it to start at the boot time:
systemctl start mariadb systemctl enable mariadb
mysql_secure_installation script to secure the database server and set your MariaDB root password.
After that, log in to the MariaDB server using the MySQL ‘root’ user and create new database and user for CumulusClips.
mysql -u root -p CREATE DATABASE umulusclips; CREATE USER 'umulusclipsuser'@'localhost' IDENTIFIED BY 'PASSWORD'; GRANT ALL PRIVILEGES ON `umulusclips`.* TO 'umulusclipsuser'@'localhost'; FLUSH PRIVILEGES;
Don’t forget to replace ‘PASSWORD’ with an actual strong password.
Next, install Apache web server on your CentOS VPS:
yum install httpd
Start the web server and add it to automatically start on the system start-up:
systemctl start httpd systemctl enable httpd
Install PHP and several PHP modules:
php php-mysql pcre php-common php-xml php-gd php-curl
Go to CumulusClips official website and download the latest stable release of the application (currently version 2.3.1 ) to your server:
Unpack the ‘cumulusclips.zip’ archive to the document root directory on your server:
unzip cumulusclips.zip -d /var/www/html
Usually the document root directory on all CentOS servers is ‘/var/www/html’. You can confirm this using the following command:
grep -i '^documentroot' /etc/httpd/conf/httpd.conf DocumentRoot "/var/www/html"
Set the Apache user to be owner of the CumulusClips files:
chown -R apache:apache /var/www/html/cumulusclips
Next, create Apache virtual host for your domain. Lets assume that your domain name is yourdomain.com .
Create ‘/etc/httpd/conf.d/vhosts.conf’ directory with the following content:
vim /etc/httpd/conf.d/vhosts.conf IncludeOptional vhosts.d/*.conf
Create the directory and the virtual host:
mkdir /etc/httpd/vhosts.d/ vim /etc/httpd/vhosts.d/yourdomain.com.conf <VirtualHost YOUR_SERVER_IP:80> ServerAdmin email@example.com DocumentRoot "/var/www/html/cumulusclips/" ServerName yourdomain.com ServerAlias www.yourdomain.com ErrorLog "/var/log/httpd/yourdomain.com-error_log" CustomLog "/var/log/httpd/yourdomain.com-access_log" combined <Directory "/var/www/html/cumulusclips/"> DirectoryIndex index.html index.php Options FollowSymLinks AllowOverride All Require all granted </Directory> </VirtualHost>
Restart the Apache web server for the changes to take effect.
systemctl restart httpd
Once everything is properly installed and configured, navigate your favorite web browser to http://yourdomain.com/cc-install to access the CumulusClips installation wizard, and follow the steps to complete the installation.
Of course you don’t have to do any of this if you use one of our Linux VPS Hosting services, in which case you can simply ask our expert Linux admins to install CumulusClips for you. They are available 24×7 and will take care of your request immediately.
PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.