Introduction
YetiForce is an open-source CRM (Customer Relationship Management) system derived from Vtiger CRM and has more features. YetiForce is built to manage relations with customers, suppliers, partners, and staff. It offers efficiency, control, multitasking and can be easily integrated 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 Ubuntu 18.04 or 20.04 server.
Prerequisites
- Deploy a fully updated Rcs Ubuntu 18.04 or 20.04 Server.
- Create a non-root user with sudo access.
1. Install LAMP Server
Update system package manager.
$ sudo apt update
To run YetiForce, you have to install the LAMP stack.
Install LAMP.
Add ppa:ondrej/php PPA repository.
$ sudo apt -y install software-properties-common
$ sudo add-apt-repository ppa:ondrej/php
Update system package manager.
$ sudo apt update
Install PHP 7.4 and additional packages.
$ sudo apt install apache2 mysql-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
Modify 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. At the password prompt, just 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. 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 successfully 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 additional 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.