How to install Pimcore cms on Linuxmint -18.03
To install Pimcore cms on Linuxmint -18.03
Pimcore provides free and open source enterprise content management system. It is written in PHP and uses MySQL to store its database. Pimcore used to create and manage web applications and digital presences. Pimcore comes with a user friendly and easy to use web interface.
Pre-requirements
Install LAMP (apache, php7.0, mariadb-server)
In MariaDB (create database, user and give privileges to user)
FOR PHP INSTALLATION:
apt-get install python-software-properties
add-apt-repository ppa:ondrej/php
sudo apt-get update
apt-get install php7.0 libapache2-mod-php7.0 php7.0-common php7.0-sqlite php7.0-curl php7.0-intl
php7.0-mbstring php7.0-xmlrpc php7.0-mysql php7.0-gd php7.0-xml php7.0-cli php7.0-zip
We have to download the pimcore cms package using by wgt command
linuxhelp ~ # wget https://www.pimcore.org/download/pimcore-data.zip
--2018-06-07 17:02:40-- 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: 130646779 (125M) \[application/zip\]
Saving to: &lsquo pimcore-data.zip.1&rsquo
pimcore-data.zip.1 100%\[===================================> \] 124.59M 1.07MB/s in 2m 29s
2018-06-07 17:05:11 (854 KB/s) - &lsquo pimcore-data.zip.1&rsquo saved \[130646779/130646779\]
We have to extract the download file
linuxhelp ~ # unzip pimcore-data.zip -d pimcore
Archive: pimcore-data.zip
creating: pimcore/pimcore/
creating: pimcore/pimcore/lib/
inflating: pimcore/pimcore/lib/simple\_html\_dom.php
creating: pimcore/pimcore/lib/Pimcore/
creating: pimcore/pimcore/lib/Pimcore/Video/
creating: pimcore/pimcore/lib/Pimcore/Video/Adapter/
inflating: pimcore/pimcore/lib/Pimcore/Video/Adapter/Ffmpeg.php
inflating: pimcore/pimcore/lib/Pimcore/Video/Adapter.php
creating: pimcore/pimcore/lib/Pimcore/WorkflowManagement/
inflating: pimcore/pimcore/lib/Pimcore/WorkflowManagement/EventHandler.php
.
.
.
inflating: pimcore/vendor/symfony/polyfill-php70/README.md
inflating: pimcore/vendor/symfony/polyfill-php70/LICENSE
inflating: pimcore/vendor/symfony/polyfill-php70/composer.json
inflating: pimcore/vendor/symfony/polyfill-php70/Php70.php
inflating: pimcore/vendor/symfony/polyfill-php70/bootstrap.php
creating: pimcore/vendor/pimcore/
creating: pimcore/vendor/pimcore/core-version/
inflating: pimcore/vendor/pimcore/core-version/README.md
inflating: pimcore/vendor/pimcore/core-version/LICENSE
inflating: pimcore/vendor/pimcore/core-version/composer.json
inflating: pimcore/composer.json
inflating: pimcore/composer.lock
inflating: pimcore/index.php
inflating: pimcore/constants.example.php
inflating: pimcore/.htaccess
we have to change ownership and permission for the pimcore directory
linuxhelp ~ # ls
pimcore pimcore-data.zip
linuxhelp ~ # chown -R www-data:www-data pimcore
linuxhelp ~ # chmod -R 775 pimcore
here we have to move the pimcore directory into the /var/www/html directory
linuxhelp ~ # mv pimcore /var/www/html/
we have to configure virtual host for pimcore cms. Create empty file named pimcore.conf
linuxhelp ~ # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim pimcore.conf
< virtualhost \*:80>
servername www.linuxhelp1.com
Documentroot /var/www/html/pimcore/
< Directory /var/www/html/pimcore/>
AllowOverride all
order allow,deny
allow from all
< /Directory>
< /virtualhost>
we have to enable the pimcore.conf file
linuxhelp sites-available # a2ensite pimcore.conf
Enabling site pimcore.
To activate the new configuration, you need to run:
service apache2 reload
we have to enable the rewrite modules
linuxhelp sites-available # a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
service apache2 restart
After that we have to entry to the hosts file:
linuxhelp sites-available # vim /etc/hosts < give your ip > < give your domain name>
we have to restart apache web server:
linuxhelp sites-available # systemctl restart apache2.service
After restarting apache server we have to open the browser,here we have to give the local ip or domain name:
Here it will show database setting
Here it will show admin user setting
Here it will show pimcore installation running
Here it will show login page of pimcore
Here it will show admin page of pimcore
Comments ( 0 )
No comments available