قالب وردپرس درنا توس
Home / How To / How to install YetiForce CRM on Debian 10

How to install YetiForce CRM on Debian 10



YetiForce is a free and open source system for customer relationships that helps manage relationships with customers, suppliers, partners and staff. YetiForce can be integrated with LDAP, PBX, DAV, Maps, Social Portals and other web services. YetiForce allows you to remotely control your business anywhere in the world. It comes with a rich set of features including, 70+ user modules and configuration panels, billing, automation and email tracking, email, large and active community, GDPR management and many more.

how to install YetiForce on Debian 10 with Let's Encrypt free SSL.

Prerequisites

  • A server running Debian 10 with at least 2 GB of RAM.
  • A valid domain name pointed to your server IP. We will use the domain.com domain for this article.
  • A root password is configured on your server.

Getting Started

Before you begin, it is recommended that you update your server with the latest version. You can update it with the following command:

  apt-get update -y 
apt-get upgrade -y

Once your server is updated, restart it to implement the changes.

Install Apache, MariaDB and PHP

First you need to install Apache, MariaDB, PHP and other required libraries on your server. You can install them by running the following command:

  apt-get install apache2 mariadb server php libapache2-mod-php php-common php-mysql php-gmp php-curl php-intl php-mbstring php-xmlrpc php- gd php-bcmath php-soap php-ldap php-imap php-xml php-cli php-zip git unzip wget -y 

Once all packages are installed, open the php.ini file and adjust some necessary settings: [1

9659009] nano /etc/php/7.3/apache2/php.iniebrit19659010??Chang the following lines:

  display_errors = Off
html_errors = Off
display_startup_errors
memory_limit = 256M
post_max_size = 50M
upload_max_filesize = 100M
max_execution_time = 360
date.timezone = Asia / Kolkata

Save and close the file when you are done. Then, launch Apache and MariaDB service and enable them to boot at system boot with the following command:

  systemctl start apache2 
systemctl start mariadb
systemctl enable apache2
systemctl enable mariadb

you move on to the next step.

Configure Database

By default, MariaDB is not secured so you must secure it. You can secure it by running the following command:

  mysql_secure_installation 

Answer all questions listed below:

  Enter the current root password (specify for none):
Setting root password? [Y/n] Y
New password:
Re-enter new password:
Delete anonymous users? [Y/n] Y
Remove root login remotely? [Y/n] Y
Delete the test database and access it? [Y/n] Y
Reload privilege tables now? [Y/n] Y

When you are finished, log in to the MariaDB shell with the following command:

  mysql -u root -p 

Enter your root password when prompted to create a YetiForce database and user with the following command:

  MariaDB [(none)]> CREATE DATABASE yetiforcedb; 
MariaDB [(none)]> CREATE USER & # 39; yetiforce & # 39; @ & # 39; localhost & # 39; IDENTIFIED OF & # 39; password & # 39 ;;

Thereafter, all privileges are granted to yetiforcedb with the following command:

  MariaDB [(none)]> SUPPORT ALL ON yetiforcedb. * ON & # 39; yetiforce & # 39; @ & # 39; localhost & # 39; WITH GRANT OPTION; 

Then flush the privileges and exit from the MariaDB shell with the following command:

  MariaDB [(none)]> FLUSH PRIVILEGES; 
MariaDB [(none)]> EXIT;

At this point, you have configured the MariaDB database for YetiForce. You can then continue to download YetiForce.

Download YetiForce

First you need to download YetiForce from the sourceforge website. You can download it with the following command:

  wget https://excellmedia.dl.sourceforge.net/project/yetiforce/YetiForce%20CRM%205.xx/5.1.0/YetiForceCRM-5.1.0-complete.zip 

When the download is complete, unzip the downloaded file to the Apache root directory by running the following command:

  mkdir / var / www / html / yetiforce 
unzip YetiForceCRM-5.1.0-complete.zip -d / var / www / html / yetiforce

Then grant the permissions to the yetiforce directory as shown below:

  chown -R www-data: www-data / var / www / html / yetiforce 
chmod -R 755 / var / www / html / yetiforce

When you are finished, you can proceed to the next step.

Configuring Apache for YetiForce

Next, you must create an Apache virtual host configuration file for YetiForce. You can create it with the following command:

  nano /etc/apache2/sites-available/yetiforce.confebrit19659010??Add the following lines: 

  
ServerAdmin [email protected]
DocumentRoot / var / www / html / yetiforce
Server name example.com


Alternative FollowSymlinks
AllowOrrride All
Require everyone granted


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

Save and close the file when you are done. Then enable the Virtual Host module and rewrite with the following command:

  a2ensite yetiforce.conf 
a2enmod rewrite

Finally, restart the Apache Web service to implement the changes:

  systemctl restart apache2 

you can proceed to the next step.

Secure YetiForce with Let & # 39; s Encrypt Free SSL

YetiForce is now installed and configured. Then it's a good idea to secure it with Let's Encrypt free SSL. To do so, you must install the Certbot client on your server.

By default, the Certbot client package is not available in the standard Debian 10 repository. You can add it with the following command:

  echo "deb http://ftp.debian.org/debian buster-backports main" >> /etc/apt/sources.list Chapter19659010uteNext, update the archive and install the Certbot client with the following command: 

  apt-get update -y 
apt-get install python-certbot-apache -t buster-backports

Once installed, run the following command to obtain and install SSL certificates for your domain:

  certbot --apache -d example.com 

You will be asked to enter your email address and accept the terms of use.

  Saves debug log to / var / log / letsencrypt / letsencrypt.log
Selected plugins: Authenticator apache, Install apache
Enter Email Address (Used for Emergency Renewal and Security Messages) (Enter & # 39; c & # 39; to
cancel): [email protected]

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the terms of use at
https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must
agree to register on the ACME server at
https://acme-v02.api.letsencrypt.org/directory
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(A) gree / (C) ancel: A

Then you have to choose whether to redirect HTTP traffic to HTTPS or remove HTTP access as shown below:

  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: No Redirect - Make no further changes to the web server configuration.
2: Redirect - Makes all requests redirect to secure HTTPS access. Select this for
new websites, or if you are sure your site is working on HTTPS. You can undo this
change by editing your web server configuration.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-2] and then [enter] (press & # 39; c & # 39; to cancel): 2

Select option 2 to download and install a free SSL certificate for your domain and press Enter to complete the installation as below:

  IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved to:
/etc/letsencrypt/live/example.com/fullchain.pem
Your key file has been saved to:
/etc/letsencrypt/live/example.com/privkey.pem
Your certificate expires 2020-03-23. To get a new or fine tuned
version of this certificate in the future, simply run certbot-auto
again with the "certonly" option. Not to renew * everyone *
of your certificates, run "certbot-auto-renewal"
- If you like Certbot, please consider supporting our work by:

Donate to ISRG / Let's Encrypt: https://letsencrypt.org/donate
Donate to EFF: https://eff.org/donate-le

Access YetiForce

Now open your web browser and enter the URL https://example.com . You will be redirected to the YetiForce Welcome Page:

 YetiForce Installation Wizard

Click the Install button. You should see the following page:

 YetiForce License

Next, click on I accept the button to accept the license agreement. You should see the following page:

 System Configuration

Enter your database name, user name, password, admin user information and click the Next button. You should see the following page:

 Confirm settings

Now click the Next button to confirm the changes. You should see the following page:

 Verify server configuration

Now click the Next button to verify the server configuration. You should see the following page:

 Set company information

Now enter your company information and click the Next button. You will be redirected to the YetiForce dashboard on the following page:

 YetiForce CRM dashboard

Conclusion

In the above article, you learned how to install YetiForce with Let & # 39; s Encrypt Free SSL on Debian 10 server. You can now continue to configure additional settings according to your needs. Feel free to ask me if you have any questions.


Source link