How to Install YetiForce CRM on Debian 10 and 11

Updated on November 21, 2023
How to Install YetiForce CRM on Debian 10 and 11 header image

Introduction

YetiForce is an open-source Customer Relationship Management (CRM) system derived from Vtiger CRM and has more features. YetiForce manages relations with customers, suppliers, partners, and staff. It offers efficiency, control, multitasking and can integrate with other applications such as maps, LDAP, DAV applications, SMS, and social media portals. In this article, you will learn how to install YetiForce on Debian 10 and 11 servers.

Prerequisites

1. Install LAMP Server

To run YetiForce, you have to install a LAMP stack. The steps are summarized below.

Update system package manager.

$ sudo apt update

Install required packages.

$ sudo apt -y install lsb-release apt-transport-https ca-certificates

Download GPG keys.

$ sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg

Add repositories.

$ echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list

Update system package manager.

$ sudo apt update

Install PHP 7.4 and additional packages.

$ sudo apt install apache2 mariadb-server php7.4 libapache2-mod-php7.4 php7.4-common php7.4-sqlite3 php7.4-json php7.4-curl php7.4-intl php7.4-mbstring php7.4-xmlrpc php7.4-mysql php7.4-gd php7.4-xml php7.4-cli php7.4-zip php7.4-soap php7.4-imap php7.4-bcmath wget unzip -y

List available time zones and choose your preference.

$ sudo timedatectl list-timezones

Edit the PHP configuration file.

$ sudo nano /etc/php/7.4/apache2/php.ini

Change the following values, and replace Africa/Nairobi with your timezone save and close the file:

To search for a specific line, use Control + W, enter search phrase then press Enter.

max_execution_time = 600    
memory_limit = 512M
upload_max_filesize = 100M
post_max_size = 100M
max_input_time = 600
date.timezone = Africa/Nairobi

2. Create Database for YetiForce

Log in to MySQL shell. Then, at the password prompt, press Enter to continue.

$ sudo mysql -u root -p

Create a MySQL database named yetiforce.

CREATE DATABASE yetiforce;

Create a database user named yetiforceuser with a password.

CREATE USER 'yetiforceuser'@'localhost' IDENTIFIED BY 'StrongPassword';

Grant the user full access to the database.

GRANT ALL ON yetiforce.* TO 'yetiforceuser'@'localhost' WITH GRANT OPTION;

Save the changes.

FLUSH PRIVILEGES;

Exit the shell.

EXIT

3. Install YetiForce

Download the latest version of YetiForce. To find the newest version of the installation files, please visit official site.

$ wget https://excellmedia.dl.sourceforge.net/project/yetiforce/YetiForce%20CRM%206.x.x/6.2.0/YetiForceCRM-6.2.0-complete.zip

Extract the files to the installation directory /var/www/yetiforce.

$ sudo unzip YetiForceCRM-6.2.0-complete.zip -d /var/www/yetiforce

Change ownership of the installation directory.

$ sudo chown -R www-data:www-data /var/www/yetiforce

Change access permissions for the directory.

$ sudo chmod -R 755 /var/www/yetiforce

4. Configure Apache

Create a new Apache configuration file yetiforce.conf.

$ sudo nano /etc/apache2/sites-available/yetiforce.conf

Add the following content below into the file, then save and close the file:

<VirtualHost *:80>
    ServerAdmin admin@example.com
    DocumentRoot /var/www/yetiforce
    ServerName example.com
    ServerAlias www.example.com

     <Directory /var/www/yetiforce/>
          Options FollowSymlinks
          AllowOverride All
          Require all granted
     </Directory>

     ErrorLog ${APACHE_LOG_DIR}/error.log
     CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

Change to Apache configs directory.

$ cd /etc/apache2/sites-available/

Disable Apache default configuration file.

$ sudo a2dissite 000-default.conf

Enable YetiForce Apache configuration file.

$ sudo a2ensite yetiforce.conf

Enable Apache rewrite mode.

$ sudo a2enmod rewrite

Restart Apache service.

$ sudo systemctl restart apache2

5. Access YetiForce Web Interface

To access the YetiForce Web Interface, go to your browser and visit http://Server_IP/. For example:

http://192.0.2.10/

Conclusion

You have installed YetiForce on your server. Next, you will access the Installation Wizard screen, where you will need to complete installation by connecting to the database you created, creating an administrator account, and other more settings. You can now access the Dashboard and configure it to begin managing your business.

More Information

To learn more about using YetiForce, go to the official documentation page.