How to install Pimcore CMS on CentOS Web Panel

To install Pimcore CMS on CentOS Web Panel   

Pimcore provides free and open source enterprise content management system. It is written in PHP and uses MySQL to store its database. Pimcore CMS is fully flexible and editable, you can personalize the site the way you want. Apart from all these, it has many enterprise class features which make it capable of supplying the demand of enterprise grade website.Before installing Pimcore CMS, install a LAMP environment on the target system. This tutorial covers the installation procedure of Pimcore CMS on CentOS Web Panel. 

 

Installation procedure

To proceed with the installation procedure, Create a new User Account by selecting the User Accounts option in the left side menu bar and click New Account option. 
user accounts

Enter the required details to create a new account
account details

Next create a new domain by selecting the Domains option in the menu and then click Add Domain option. 
domains

Add the details required to add a new domain. 
domains details

Now create a MySQL database and user for Pimcore CMS by executing the set of following commands. 

[root@cwp ~]# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or g.
Your MariaDB connection id is 2113
Server version: 10.1.25-MariaDB MariaDB Server

Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.

MariaDB [(none)]> CREATE DATABASE pimcore_data CHARACTER SET UTF8;
Query OK, 1 row affected (0.01 sec)

MariaDB [(none)]> CREATE USER 'pimcore_user'@'localhost' IDENTIFIED BY '123';
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]> GRANT ALL PRIVILEGES ON pimcore_data.* TO 'pimcore_user'@'localhost';
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]> exit;
Bye

Download the Pimcore CMS package by entering to your domain's default document root and execute it with wget command followed by the download link. 

[root@cwp ~]# cd /home/pimcore/public_html/
[root@cwp public_html]# wget https://www.pimcore.org/download/pimcore-data.zip
--2017-09-04 19:44:54--  https://www.pimcore.org/download/pimcore-data.zip
Resolving www.pimcore.org (www.pimcore.org)... 62.138.199.172
Connecting to www.pimcore.org (www.pimcore.org)|62.138.199.172|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 117399659 (112M) [application/zip]
Saving to: ‘pimcore-data.zip’

100%[=================================================================================================================================================>] 117,399,659  541KB/s   in 8m 6s  

2017-09-04 19:53:02 (236 KB/s) - ‘pimcore-data.zip’ saved [117399659/117399659]

Remove the default index file in your document before extracting the pimcore package. 

[root@cwp public_html]# rm -rf index.html 

Now unzip the pimcore package by running the following command. 

[root@cwp public_html]# unzip pimcore-data.zip 
Archive:  pimcore-data.zip
   creating: pimcore/
   creating: pimcore/lib/
  inflating: pimcore/lib/simple_html_dom.php  
   creating: pimcore/lib/Pimcore/
   creating: pimcore/lib/Pimcore/Video/
   creating: pimcore/lib/Pimcore/Video/Adapter/
  inflating: pimcore/lib/Pimcore/Video/Adapter/Ffmpeg.php  
  inflating: pimcore/lib/Pimcore/Video/Adapter.php  
   creating: pimcore/lib/Pimcore/WorkflowManagement/
  inflating: pimcore/lib/Pimcore/WorkflowManagement/EventHandler.php  
   creating: pimcore/lib/Pimcore/WorkflowManagement/Workflow/
   creating: pimcore/lib/Pimcore/WorkflowManagement/Workflow/Manager/
.
.
.
  inflating: vendor/pimcore/core-version/README.md  
  inflating: vendor/pimcore/core-version/LICENSE  
  inflating: vendor/pimcore/core-version/composer.json  
  inflating: composer.json           
  inflating: composer.lock           
  inflating: index.php               
  inflating: constants.example.php   
  inflating: .htaccess

Set the ownership and file permission for your document root of pimcore. 

[root@cwp public_html]# chown -R pimcore:pimcore /home/pimcore/public_html
[root@cwp public_html]# chmod -R 755 /home/pimcore/public_html

Open the apache configuration file named httpd.conf using the vim editor and create a virtualhost for Pimcore CMS. 

[root@cwp ~]# vim /usr/local/apache/conf/httpd.conf

<VirtualHost *:80>
Servername pimcore.example.com
DocumentRoot /home/pimcore/public_html
</VirtualHost>
<Directory /home/pimcore/public_html>
DirectoryIndex index.php
Options FollowSymLinks
AllowOverride All
Require all granted
suPHP_UserGroup pimcore pimcore
</Directory>

Restart the Apache service by running the following command. 

[root@cwp ~]# systemctl restart httpd

Switch over to your browser and call your domain name pimcore.example.com. The MySQL and Admin settings page is displayed. 
domain name

The details are filled and the installation is in progress. 
installation progress

Login with your admin credentials
credentials
login

After logging in Pimcore, the dashboard is displayed on the screen for the user to use various CMS functions. 

dashboard

The installation of Pimcore CMS on CentOS web panel is done successfully. 


Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website www.linuxhelp.com
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: CentOS Web Panel CMS tool
user image Author :  Noah