Pimcore Opensource online marketers dream install on Centos 6

For my elinodrift project I was searching for a online tool for handle online marketers.
So I ended up with Pimcore for my service.
Here is a small guide to install Pimcore on my Centos 6 server.

First have install apache, Php and mysql on the server. I installed it on my webbserver so the server was pretty well configured.

1. PHP

But for pimcore to run you must upgrade you php to version 5.5 and here is a short list of command taken from this webpage http://webtatic.com/packages/php55/

 

rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
yum install yum-plugin-replace
yum replace php-common --replace-with=php55w-common
yum install php55w-opcache php55w-mcrypt php5w-cli

Add this to the file /etc/php.ini change it to your timezone

date.timezone = Europe/Stockholm

2. Mysql server

mysql> CREATE DATABASE `pimcore` CHARACTER SET utf8 COLLATE utf8_general_ci;
mysql> CREATE USER 'pimcore_u'@'localhost' IDENTIFIED BY 'ygggfdscdrw!22;
mysql> GRANT ALL PRIVILEGES ON pimcore.* TO 'pimcore_u'@'localhost';
mysql> flush privileges;

3. apache

Here is my apache webbconfig

<VirtualHost *:80>
ServerName market.elinodrift.se
AddDefaultCharset UTF-8
DocumentRoot /var/www/html/market.elinodrift.se
<directory "/var/www/html/market.elinodrift.se">
Allowoverride All
allow from all
</directory>
</VirtualHost>

4. Installing pimcore

Making folder pimcore DONT WORK INSIDE FOLDER SO MUST HAVE ONE DOMAIN

mkdir /var/www/html/market.domain.com
cd /var/www/html/market.domain.com

https://www.pimcore.org/en/resources/download

Download the pimcore you want I took the one with data inside

wget https://www.pimcore.org/download/pimcore-data.zip
unzip pimcore-data.zip
chown -R apache:apache website/var pimcore plugins
chmod 774 -R website/var pimcore plugins

Add this to you crontab

vi /etc/crontab
*/10 * * * * root php /var/www/html/market.domain.com/pimcore/cli/maintenance.php

Now restart you apache webbserver and go to you new domain and you should see the installer being lunch.

First check requirements so you / I miss something.
Then enter your mysql settings and press install and after some while you platform should be up.

Leave a Reply

%d bloggers like this: