26.8 C
Senior Writer and partner

How to install Yetiforce on CentOS 7?

In Linux, every day is more common to see many new applications for various areas. Many are oriented from leisure to business. From small to very large companies, the tools that help with the workflow within them are welcome. Likewise, if they are open source then they are even more so. Then, in this post, I will teach you how to install a CRM for your company, a very powerful one. In short, in this post, you will learn how to install Yetiforce on CentOS 7.

Looking for a CRM? Yetiforce is probably the best

A CRM (Customer Relationship Management) is a type of application-oriented to everything concerning the relationship between customers and company. Similarly, thanks to CRM can collect customer data to predict some of their needs and get their loyalty. In this sense, a CRM also ensures a great marketing policy.

In conclusion, we can say that companies that use CRM solutions generate more sales opportunities, streamlining management, with budgets updated in real time and optimized sales processes.

On the other hand, Yetiforce is a CRM of Polish origin. It has all the features expected by software of its kind, however, is more powerful than most. In the website of the project states that is “the best CRM that exists”, and is that thanks to more than 100 modules available make it one of the most solid.

- Advertisement -

In the same way, it is open source and allows us to examine its source code to know how it is done. Besides, it is easy to audit.

Let us install Yetiforce on CentOS 7.

Install Yetiforce on CentOS 7

1. Install Apache and PHP 7.2

First, we must install the Apache web server to run Yetiforce.

In a terminal interface, run the following:

:~$ su
:~# yum install httpd

1.- Install Apache
1.- Install Apache

Then open port 80 in the CentOS firewall.

:~# firewall-cmd --add-port=80/tcp --permanent
:~# firewall-cmd --reload

Now, you have to install PHP 7.2. Since PHP 7.2 is not available in CentOS, it is necessary to use another repository.

:~# yum install epel-release yum-utils
:~# rpm -Uhv https://rpms.remirepo.net/enterprise/remi-release-7.rpm
:~# yum-config-manager --enable remi-php72

Once you have done this, you can install PHP 7.2 and the required modules for Yetiforce.

:~# yum install php php-mysqlnd php-opcache php-xml php-xmlrpc php-gd php-mbstring php-imap php-json php-xdebug php-posix php-uopz php-bcmath php-zip php-apcu php-ldap php-soap php-opcache php-intl php-imagick

2.- Install PHP 7.2 on CentOS
2.- Install PHP 7.2 on CentOS

In order to test PHP, create a new file on /var/www/html/ and add the following:

:~# yum install nano
:~# nano /var/www/html/test.php

3.- PHP info file
3.- PHP info file

Start the Apache service.

:~# systemctl enable httpd
:~# systemctl start httpd

Now, open a web browser and go to http://your-server/test.php and you will see this.

4.- PHP and Apache are correctly installed
4.- PHP and Apache are correctly installed

2.- Install MySQL 8 on CentOS 7

Now you have to install MySQL. The problem is that the version you bring in the official repositories is very old, better use version 8.

:~# rpm -Uvh https://repo.mysql.com/mysql57-community-release-el7-11.noarch.rpm
:~# yum --enablerepo=mysql80-community install mysql-community-server

5.- Install MySQL 8 on CentOS 7
5.- Install MySQL 8 on CentOS 7

Then you have to start the service.

:~# systemctl enable mysqld
:~# systemctl start mysqld

After that, you need to find out the temporary password.

:~# grep "A temporary password" /var/log/mysqld.log
A temporary password is generated for root@localhost: 9iyw6>sX:jf5

Now, you have to use the mysql_secure_installation script to secure MySQL.

:~# mysql_secure_installation

You will be asked several questions to improve the security of the program:

Remove anonymous users? Y
Disallow root login remotely? Y
Remove test database and access to it? Y
Reload privilege tables now? Y

6.- secure the MySQL installation
6.- secure the MySQL installation

Now, you have to create a user and database for Yetiforce.

:~# mysql -u root -p
> CREATE DATABASE yetiforce;
> CREATE USER 'yetiforceuser'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your-password';
> GRANT ALL PRIVILEGES ON yetiforce.* TO 'yetiforceuser'@'localhost' WITH GRANT OPTION;
> exit;

Now, you can continue the process.

3.- Install Yetiforce

First, download Yetiforce.

:~# yum install wget unzip
:~# wget https://github.com/YetiForceCompany/YetiForceCRM/releases/download/5.1.0/YetiForceCRM-5.1.0-complete.zip

Next, decompress it.

:~# unzip YetiForceCRM-5.1.0-complete.zip -d /var/www/html/

Next, set the right permissions to the folder.

:~# chown -R apache:apache /var/www/html

NOTE: delete the .zip file.

Yetiforce requires external libraries that we can install using Composer.

Read: How to install Composer on Linux?

And install it as the regular user:

:~# exit
:~$ composer require phpunit/php-invoker

Now, create a new virtual host for Yetiforce.

:~$ su
:~# nano nano /etc/httpd/conf.d/yetiforce.conf

And add the following:

<VirtualHost *:80> 
  ServerAdmin admin@your_domain.com
  DocumentRoot /var/www/html/
  ServerName your_domain.com
  ServerAlias www.your_domain.com
<Directory /var/www/html/> 
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    allow from all
ErrorLog /var/log/httpd/your_domain.com-error_log
CustomLog /var/log/httpd/your_domain.com-access_log common

Replace your_domain with yours. And restart apache.

:~# systemctl restart httpd

After that, we need to complete the installation.

4.- Complete the yetiforce installation using the web interface

Now, open your web browser and access your server to complete the installation.

7.- Install Yetiforce on CentOS 7
7.- Install Yetiforce on CentOS 7

Then, accept the terms of the license.

8.- Yetiforce license terms
8.- Yetiforce license terms

After that, you have to type the database credentials and admin information.

9.- Database credentials
9.- Database credentials

Next, confirm the configuration settings.

10.- Configure Yetiforce on CentOS 7
10.- Configure Yetiforce on CentOS 7

Then, enter the company details.

11.- Configuring Yetiforce on CentOS 7
11.- Configuring Yetiforce on CentOS 7

Next, the installation will begin.

12.- Install Yetiforce
12.- Install Yetiforce

When the process is finished you will see the Yetiforce dashboard.

13.- Yetiforce dashboard
13.- Yetiforce dashboard


Yetiforce is a very complete application in your area. It has many features that make it the best in CRM. It has a great community and is used by many important companies.

Please share this post with your friends.

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
"The best Linux newsletter on the web"


  1. Hello to our server address, I want to install competence. What should I write to those who pass domain_name;
    httpd / your_domain.com-error_log
    httpd / your_domain.com-access_log common

    ServerAdmin admin@alan_name.com
    ServerName domain_name.com
    ServerAlias http://www.alaniniz.com

    ErrorLog /var/log/httpd/your_domain.com-error_log
    CustomLog /var/log/httpd/your_domain.com-access_log common

    ServerAdmin admin@alan_adiniz.com
    DocumentRoot / var / www / html /
    SunucuAdı alan_adiniz.com
    ServerAlias ​​www.alaniniz.com

    Seçenekler FollowSymLinks
    AllowOverride All
    Sipariş ver, reddet
    hepsinden izin ver

    ErrorLog /var/log/httpd/your_domain.com-error_log
    CustomLog /var/log/httpd/your_domain.com-access_log common


Please enter your comment!
Please enter your name here

Latest article