Tag Archives: CentOS 7

Installing Zurmo on CentOS 7

I have installed Zurmo for a couple of my customers that need a simple tool for CRM (customer relationship management.)

However, it was always done using Softaculous or other preinstallation tools. This time I needed to install it on a CentOS 7 installation. The zurmo.org installation summary is not detailed enough to make it possible for a new Linux user to install it in a working environment. Below is my steps to get it up and running on an internal server.

Syntax for this article:
# in the start of a line is commands given to CentOS 7 or RedHat.
> in the start of a line is commands given to MariaDB or other programs.

Server and dependencies

When I installed I chose basic web server and added PHP to save some time. We still need to install MariaDB server and client, enable it to start during boot and start it.

Add the epel library and check that it is actually installed:

Since this installation was on an internal network I decided to turn off SELinux and then reboot the server to make all my updates and changes active:

However, if you are using this server on a server that could be attacked from outside, don’t disable SELinux, but use the commands given at the end of these instructions.

The next lines of commands will be necessary for installing some dependencies. I have added the modules for php as well. Answer y(es) to any questions.

Check PHP configuration. Below are my settings, but feel free to change them to what you need.

MySQL/MariaDB configuration. Add the following lines under the [mysql] section:

Secure MariaDB and then create MySQL/MariaDB user and database:

Restart services:

Now we will start Memcached. You can change memcached configuration by editing this file:
# nano /etc/sysconfig/memcached, but it should not be necessary for most installations.

Open up firewall ports to allow communication to MariaDB and Memchached.

At this point I recommend restarting the server to make sure everything is working. You can also use the commands below to get the status of services.


Zurmo installation

We are ready to download and install Zurmo. Remember to check at http://zurmo.org/download for the latest version. The version below was available as of 9/2/2015.

You should now have a sub-directory named zurmo under /var/www/html/. Using ls -l you will see that the apache user and group doesn’t have any access to this directory. The following command will change the user and group to apache.

IMPORTANT: SELinux commands if you decided to keep SELinux enabled. The below command is if you installed in a sub-directory of html. The next two commands will allow apache to memcached communication, and let apache send email over network.

Configure Zurmo

We are now done with the installation of Zurmo. What remains is to open a browser and go to the IP-address of your server/zurmo.