Installing Zurmo on Linux

On the test I will install Zurmo in Ubuntu Server 16.04 and PHP 7.

1) First, let’s see the requirements http://zurmo.org/wiki/installation-requirements
Establish the necessary:

sudo apt-get install apache2 mysql-server mysql-client wget unzip php php-mysql php-cli php-gd php-common php-curl php-dev php-pear php-imap libapache2-mod-php php-mcrypt php-memcache php-memcached memcached php-soap php-mbstring

Open the PHP configuration file in a text editor:

sudo nano /etc/php/7.0/apache2/php.ini

And let’s specify some parameters:

date.timezone = Europe/Kiev
post_max_size = 32M
upload_max_filesize = 32M
zend.assertions = 0

Restart apache2 to apply the changes:

sudo service apache2 restart

2) Connect to mysql, create an empty database and the user:

mysql -u root -p
CREATE DATABASE zurmo;
CREATE USER 'zurmo'@'localhost' IDENTIFIED BY 'PASSWORD';
GRANT ALL PRIVILEGES ON `zurmo`.* TO 'zurmo'@'localhost';
FLUSH PRIVILEGES;
QUIT;

3) Download the latest version from the official site http://zurmo.org/download
You can copy the link to the stable version and for example download in linux like this:

wget http://build.zurmo.com/downloads/zurmo-stable-3.2.1.57987acc3018.zip

4) Unzip the zurmo file, move it to the web server directory and assign the rights:

unzip zurmo-stable-3.2.1.57987acc3018.zip
mv zurmo /var/www/html/zurmo/
sudo chown -R www-data:www-data /var/www/html/zurmo/

5) Now you can open a link in the browser http: //HOST/zurmo/app/index.php, proceed with the installation and follow the displayed instructions.
At installation we will specify the password of user super and we will fill it, it will be necessary further for an input.

6) During the installation, Zurmo required to disable the strict MySQL mode, for this I opened the configuration file:

sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf

Added at the very end of the parameter (since it was not):

sql_mode=""

Reloaded MySQL:

sudo service mysql restart

Done.

Leave a comment

Leave a Reply