{"id":13016,"date":"2019-03-30T02:45:32","date_gmt":"2019-03-30T02:45:32","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=13016"},"modified":"2019-03-30T02:45:32","modified_gmt":"2019-03-30T02:45:32","slug":"install-suitecrm-customer-relationship-management-in-linux","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/30\/install-suitecrm-customer-relationship-management-in-linux\/","title":{"rendered":"Install SuiteCRM (Customer Relationship Management) in Linux"},"content":{"rendered":"<p><strong>CRM<\/strong>\u00a0(<strong>Customer Relationship Management<\/strong>) refers to assortment of practices, policies and technologies that companies use to handle and review interaction with current and potential customers; with the major aim of boosting business relationships with customers, customer retention and driving sales growth.<\/p>\n<p><strong>SuiteCRM<\/strong>\u00a0is a free and open source, fully-featured and highly-extensible CRM system that runs on any operating system with PHP installed. It is a fork of the well known open source\u00a0<a href=\"https:\/\/www.tecmint.com\/install-sugarcrm-community-edition-on-centos-debian-ubuntu\/\" target=\"_blank\" rel=\"noopener\">SugarCRM Community Edition<\/a>.<\/p>\n<p>Do try out\u00a0<a href=\"https:\/\/suitecrm.com\/demo\" target=\"_blank\" rel=\"nofollow noopener\">SuiteCRM Demo<\/a>\u00a0using credentials below to sign in:<\/p>\n<pre>Username: will \r\nPassword: will\r\n<\/pre>\n<h4>SuiteCRM Features:<\/h4>\n<ul>\n<li>Cross-platform: runs on Linux, Windows, Mac OSX and any system that runs PHP.<\/li>\n<li>Efficient, powerful, and flexible workflow module.<\/li>\n<li>Supports automation of repetitive tasks.<\/li>\n<li>Supports quick and easy modeling of sales pipeline.<\/li>\n<li>Enables creation of beautifully templated Quotations.<\/li>\n<li>Allows managing of pricing strategies.<\/li>\n<li>Supports customer self-service via an easy to setup and use website.<\/li>\n<li>Instant notification of customer issues plus so much more.<\/li>\n<\/ul>\n<h4>Requirements:<\/h4>\n<ul>\n<li>Debian\/Ubuntu or CentOS system installed with LAMP Stack.<\/li>\n<li>PHP (JSON, XML Parsing, MB Strings, ZIP Handling, IMAP, cURL) modules.<\/li>\n<li>ZLIB Compression library.<\/li>\n<li>Sprite support.<\/li>\n<\/ul>\n<p>In this article, we will explain how to install and configure SuiteCRM in CentOS\/RHEL 7 and Debian\/Ubuntu based systems.<\/p>\n<h3>Step 1: Installing LAMP Stack Environment<\/h3>\n<p><strong>1.<\/strong>\u00a0First update the system software packages to the latest version.<\/p>\n<pre>$ sudo apt update        [On <strong>Debian\/Ubuntu<\/strong>]\r\n$ sudo yum update        [On <strong>CentOS\/RHEL<\/strong>] \r\n<\/pre>\n<p><strong>2.<\/strong>\u00a0Once software packages updated, now you can install LAMP (Linux, Apache, MySQL &amp; PHP) stack with all the required PHP modules as shown.<\/p>\n<pre><strong>-------------- On Debian\/Ubuntu --------------<\/strong> \r\n$ sudo apt install apache2 apache2-utils libapache2-mod-php php php-common php-curl php-xml php-json php-mysql php-mbstring php-zip php-imap libpcre3 libpcre3-dev zlib1g zlib1g-dev mariadb-server\r\n\r\n<strong>-------------- On CentOS\/RHEL\/Fedora --------------<\/strong> \r\n# yum install httpd php php-common php-curl php-xml php-json php-mysql php-mbstring php-zip php-imap pcre pcre-devel zlib-devel mariadb-server\r\n<\/pre>\n<p><strong>3.<\/strong>\u00a0Once LAMP stack has been installed, start the Apache and MariaDB service and enable it to start automatically at system boot.<\/p>\n<pre><strong>-------------- On Debian\/Ubuntu --------------<\/strong> \r\n$ sudo systemctl start apache mysql\r\n$ sudo systemctl enable apache mariadb\r\n\r\n<strong>-------------- On CentOS\/RHEL\/Fedora --------------<\/strong> \r\n# systemctl start httpd mysql\r\n# systemctl enable httpd mariadb\r\n<\/pre>\n<p><strong>4.<\/strong>\u00a0Now secure and harden database server installation by running the script below.<\/p>\n<pre>$ sudo mysql_secure_installation\r\nOR\r\n# mysql_secure_installation\r\n<\/pre>\n<p>After running the security script above, you will be asked to enter the root password, simply press\u00a0<strong>[Enter]<\/strong>without providing it:<\/p>\n<pre>Enter current password for root (enter for none):\r\n<\/pre>\n<p>Again, you will also be asked to answer the questions below, simply type\u00a0<code>y<\/code>\u00a0to all the questions to set a root password, remove anonymous users, turn off remote root login, remove the test database and reload privilege tables:<\/p>\n<pre>Set root password? [Y\/n] <code>y<\/code> Remove anonymous users? [Y\/n] <code>y<\/code> Disallow root login remotely? [Y\/n] <code>y<\/code> Remove test database and access to it? [Y\/n] <code>y<\/code> Reload privilege tables now? [Y\/n] <code>y<\/code><\/pre>\n<p><strong>5.<\/strong>\u00a0Now you need to configure PHP to allow files of at least 6MB to be uploaded. Open your PHP configuration file (<strong>\/etc\/php.ini<\/strong>\u00a0or\u00a0<strong>\/etc\/php5\/apache2\/php.ini<\/strong>) with your choice of editor, search for the\u00a0<strong>upload_max_filesize<\/strong>\u00a0and set it like so.<\/p>\n<pre>upload_max_filesize = 6M\r\n<\/pre>\n<p>Save the file and close it, then restart the HTTP server.<\/p>\n<pre>$ sudo systemctl restart apache   [On <strong>Debian\/Ubuntu<\/strong>]\r\n# systemctl restart httpd         [On <strong>CentOS\/RHEL<\/strong>]   \r\n<\/pre>\n<h3>Step 2: Create SuiteCRM Database<\/h3>\n<p><strong>6.<\/strong>\u00a0In this step, you can create a database which will store data for suiteCRM. Run the command below to access the MariaDB shell (remember to use your own values for the database name, user and password).<\/p>\n<pre>$ mysql -u root -p\r\nMariaDB [(none)]&gt; CREATE DATABASE suitecrm_db;\r\nMariaDB [(none)]&gt; CREATE USER 'crmadmin'@'localhost' IDENTIFIED BY 'crmsys@dmin$12';\r\nMariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON suitecrm_db.* TO 'crmadmin'@'localhost';\r\nMariaDB [(none)]&gt; FLUSH PRIVILEGES;\r\nMariaDB [(none)]&gt; exit;\r\n<\/pre>\n<h3>Step 3: Install and Setup SuiteCRM<\/h3>\n<p><strong>7.<\/strong>\u00a0First install Git to fetch and clone the latest version of SuiteCRM from its Github repository under Apache root directory (<strong>\/var\/www\/html\/<\/strong>) with appropriate permissions on the SuiteCRM folder.<\/p>\n<pre>$ sudo apt -y install git      [On <strong>Debian\/Ubuntu<\/strong>]\r\n$ sudo yum -y install git      [On <strong>CentOS\/RHEL<\/strong>]\r\n\r\n$ cd \/var\/www\/html\r\n$ git clone https:\/\/github.com\/salesagility\/SuiteCRM.git\r\n$ sudo mv SuiteCRM suitecrm\r\n$ sudo chown -R www-data:www-data suitecrm   [On <strong>Debian\/Ubuntu<\/strong>]\r\n$ sudo chown -R apache:apache suitecrm       [On <strong>CentOS\/RHEL<\/strong>]\r\n$ sudo chmod -R 755 suitecrm\r\n$ ls -ld suitecrm\r\n<\/pre>\n<p><strong>8.<\/strong>\u00a0Now open your web browser and type the URL below to access the SuiteCRM web installer wizard.<\/p>\n<pre>http:\/\/SERVER_IP\/suitecrm\/install.php\r\nOR\r\nhttp:\/\/localhost\/suitecrm\/install.php\r\n<\/pre>\n<p>You will see the welcome page, which includes the SuiteCRM License Agreement. Read the license and check \u201c<strong>I Accept<\/strong>\u201d, and set the installation language. Click\u00a0<strong>Next<\/strong>\u00a0to continue.<\/p>\n<div id=\"attachment_26439\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/SuiteCRM-Web-Installer.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-26439\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/SuiteCRM-Web-Installer.png\" sizes=\"auto, (max-width: 778px) 100vw, 778px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/SuiteCRM-Web-Installer.png 778w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/SuiteCRM-Web-Installer-768x717.png 768w\" alt=\"SuiteCRM Web Installer\" width=\"778\" height=\"726\" aria-describedby=\"caption-attachment-26439\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-26439\" class=\"wp-caption-text\">SuiteCRM Web Installer<\/p>\n<\/div>\n<p><strong>9.<\/strong>\u00a0You will see the pre-installation requirements page below. If everything is fine as shown in the screenshot below, click\u00a0<strong>Next<\/strong>\u00a0to proceed.<\/p>\n<div id=\"attachment_26440\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/suitecrm-system-environment.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-26440\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/suitecrm-system-environment.png\" sizes=\"auto, (max-width: 778px) 100vw, 778px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/suitecrm-system-environment.png 778w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/suitecrm-system-environment-768x883.png 768w\" alt=\"SuiteCRM System Environment Check\" width=\"778\" height=\"895\" aria-describedby=\"caption-attachment-26440\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-26440\" class=\"wp-caption-text\">SuiteCRM System Environment Check<\/p>\n<\/div>\n<p><strong>11.<\/strong>\u00a0Next, provide the SuiteCRM database settings (database name, host, username and password).<\/p>\n<div id=\"attachment_26441\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/provide-suitecrm-database-settings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-26441\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/provide-suitecrm-database-settings.png\" sizes=\"auto, (max-width: 778px) 100vw, 778px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/provide-suitecrm-database-settings.png 778w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/provide-suitecrm-database-settings-768x686.png 768w\" alt=\"SuiteCRM Database Settings\" width=\"778\" height=\"695\" aria-describedby=\"caption-attachment-26441\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-26441\" class=\"wp-caption-text\">SuiteCRM Database Settings<\/p>\n<\/div>\n<p>In the same page, enter the site configurations (site name, admin username, password and email address).<\/p>\n<p>You can as well configure more options:<\/p>\n<ul>\n<li>Demo data (choose\u00a0<strong>yes<\/strong>\u00a0if you want to populate site with demo data).<\/li>\n<li>Scenario selection \u2013 such as sales, marketing etc.<\/li>\n<li>SMTP server specification \u2013 choose your Email provider, SMTP server, port, user authentication details.<\/li>\n<li>Branding details \u2013 Organization name and logo.<\/li>\n<li>System locale settings \u2013 date format, time format, timezone, currency, currency symbol and ISO 4217 Currency Code.<\/li>\n<li>Site security settings.<\/li>\n<\/ul>\n<p>Once you are done, click\u00a0<strong>Next<\/strong>\u00a0to start the actual installation process where the installer will create database tables and default settings.<\/p>\n<div id=\"attachment_26442\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/SuiteCRM-Site-Configuration.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-26442\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/SuiteCRM-Site-Configuration.png\" sizes=\"auto, (max-width: 778px) 100vw, 778px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/SuiteCRM-Site-Configuration.png 778w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/SuiteCRM-Site-Configuration-768x888.png 768w\" alt=\"SuiteCRM Site Configuration\" width=\"778\" height=\"900\" aria-describedby=\"caption-attachment-26442\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-26442\" class=\"wp-caption-text\">SuiteCRM Site Configuration<\/p>\n<\/div>\n<p><strong>12.<\/strong>\u00a0Once the installation is complete, you are ready to login. Provide the admin username and password, then click on \u201c<strong>Log In<\/strong>\u201d.<\/p>\n<div id=\"attachment_26443\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/SuiteCRM-login-interface.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-26443\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/SuiteCRM-login-interface.png\" sizes=\"auto, (max-width: 778px) 100vw, 778px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/SuiteCRM-login-interface.png 778w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/SuiteCRM-login-interface-768x727.png 768w\" alt=\"SuiteCRM Login Interface\" width=\"778\" height=\"736\" aria-describedby=\"caption-attachment-26443\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-26443\" class=\"wp-caption-text\">SuiteCRM Login Interface<\/p>\n<\/div>\n<div id=\"attachment_26445\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/SuiteCRM-Dashboard.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-26445\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/SuiteCRM-Dashboard.png\" sizes=\"auto, (max-width: 1173px) 100vw, 1173px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/SuiteCRM-Dashboard.png 1173w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/07\/SuiteCRM-Dashboard-768x493.png 768w\" alt=\"SuiteCRM Dashboard\" width=\"1173\" height=\"753\" aria-describedby=\"caption-attachment-26445\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-26445\" class=\"wp-caption-text\">SuiteCRM Dashboard<\/p>\n<\/div>\n<p>SuiteCRM Homepage:\u00a0<a href=\"https:\/\/suitecrm.com\/\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/suitecrm.com\/<\/a><\/p>\n<p>Enjoy! For any queries or thoughts that you want to share, please hit us up via the comment section below.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/install-suitecrm-in-centos-and-ubuntu\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CRM\u00a0(Customer Relationship Management) refers to assortment of practices, policies and technologies that companies use to handle and review interaction with current and potential customers; with the major aim of boosting business relationships with customers, customer retention and driving sales growth. SuiteCRM\u00a0is a free and open source, fully-featured and highly-extensible CRM system that runs on any &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/30\/install-suitecrm-customer-relationship-management-in-linux\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Install SuiteCRM (Customer Relationship Management) in Linux&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-13016","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13016","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=13016"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13016\/revisions"}],"predecessor-version":[{"id":13017,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13016\/revisions\/13017"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=13016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=13016"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=13016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}