{"id":2248,"date":"2016-07-18T16:58:02","date_gmt":"2016-07-18T20:58:02","guid":{"rendered":"https:\/\/www.globo.tech\/learning-center\/?p=2248"},"modified":"2018-01-12T13:58:15","modified_gmt":"2018-01-12T18:58:15","slug":"install-sugarcrm-centos-7","status":"publish","type":"post","link":"https:\/\/www.globo.tech\/learning-center\/install-sugarcrm-centos-7\/","title":{"rendered":"How to install SugarCRM on CentOS 7"},"content":{"rendered":"<h1>How to install SugarCRM on CentOS 7<\/h1>\n<p>SugarCRM is a customer relationship management software suite that helps businesses run marketing campaigns, support customers, and enable employee collaboration, among other functions. While SugarCRM has several paid editions, there is a free version called SugarCRM Community Edition (CE for short) licensed under the GNU Affero General Public License. This is the version that we will walk you through installing today in this guide.<\/p>\n<h2>Getting started<\/h2>\n<p>In order to install SugarCRM, you will need the following:<br \/>\n\u2022 1 Node (<a href=\"https:\/\/www.globo.tech\/cloud-server-pricing\" target=\"_blank\">Cloud Server<\/a> or <a href=\"http:\/\/www.globo.tech\/dedicated-server-hosting\" target=\"_blank\">Dedicated Server<\/a>) running a clean installation of CentOS 7.<br \/>\n\u2022 All commands should be run as the root user<br \/>\n\u2022 A full LAMP stack installed<\/p>\n<h2>Tutorial<\/h2>\n<p>Add the EPEL repository to your system and install these required packages.<\/p>\n<p><code>yum install epel-release wget unzip nano -y<\/code><\/p>\n<p>Completely disable Selinux if it is not already.<\/p>\n<p><code>setenforce 0<br \/>\nsed -i 's\/enforcing\/disabled\/' \/etc\/sysconfig\/selinux<br \/>\nsed -i 's\/enforcing\/disabled\/' \/etc\/selinux\/config<\/code><\/p>\n<p>Install these PHP modules, which are necessary for SugarCRM operation.<\/p>\n<p><code>yum install php-mysql php-pdo php-gd php-mbstring php-imap -y<\/code><\/p>\n<p>Now that all required software are installed, go ahead and create the database and user that SugarCRM will use. Save this information for later, as you&#8217;ll need to inform your CRM of the database name, user and password at the end of installation.<\/p>\n<p><code>mysql -u root -p<\/code><\/p>\n<p><code class=\"gris\">create database sugarcrm;<br \/>\ngrant all privileges on sugarcrm.* to 'globotech'@'localhost' identified by 'globotech1234';<br \/>\nflush privileges;<br \/>\nexit<\/code><\/p>\n<p>Open php.ini in a text editor. Find the line upload_max_filesize and increase its value to 25M.<\/p>\n<p><code>nano \/etc\/php.ini<\/code><\/p>\n<p><code class=\"gris\">; Maximum allowed size for uploaded files.<br \/>\n; http:\/\/php.net\/upload-max-filesize<br \/>\nupload_max_filesize = 25M<\/code><\/p>\n<p>In order for it to recognize the changes made, you must restart Apache at this time.<\/p>\n<p><code>systemctl restart httpd.service<\/code><\/p>\n<p>You can install SugarCRM once all of the above is complete. Download the package from the website, unzip the file and copy the content to the Document root directory on your server. Make sure that you don&#8217;t have already something inside the html folder or it will be overwritten.<\/p>\n<p><code>wget http:\/\/liquidtelecom.dl.sourceforge.net\/project\/sugarcrm\/1%20-%20SugarCRM%206.5.X\/SugarCommunityEdition-6.5.X\/SugarCE-6.5.23.zip<br \/>\nunzip SugarCE-6.5.23.zip<br \/>\ncp -R SugarCE-Full-6.5.23\/* \/var\/www\/html\/<\/code><\/p>\n<p>Apache will need read and write permissions on several of the new directories and files.<\/p>\n<p><code>cd \/var\/www\/html\/<br \/>\nchmod 755 custom\/ cache\/ modules\/ upload\/<br \/>\nchmod 755 config.php config_override.php<br \/>\nchown -R apache. *<\/code><\/p>\n<p>Now it&#8217;s time to create a .htaccess file. Add this content to it:<\/p>\n<p><code>nano .htaccess<\/code><\/p>\n<p><code class=\"gris\"># BEGIN SUGARCRM RESTRICTIONS<br \/>\nRedirectMatch 403 (?i).*\\.log$<br \/>\nRedirectMatch 403 (?i)\/+not_imported_.*\\.txt<br \/>\nRedirectMatch 403 (?i)\/+(soap|cache|xtemplate|data|examples|include|log4php|metadata|modules)\/+.*\\.(php|tpl)<br \/>\nRedirectMatch 403 (?i)\/+emailmandelivery\\.php<br \/>\nRedirectMatch 403 (?i)\/+upload<br \/>\nRedirectMatch 403 (?i)\/+custom\/+blowfish<br \/>\nRedirectMatch 403 (?i)\/+cache\/+diagnostic<br \/>\nRedirectMatch 403 (?i)\/+files\\.md5$<br \/>\n# END SUGARCRM RESTRICTIONS<\/code><\/p>\n<p>Apache will also need write permissions for .htaccess.<\/p>\n<p><code>chmod 755 .htaccess<br \/>\nchown apache:apache .htaccess<\/code><\/p>\n<p>Once it is installed, the setup will be completed online through a web browser. Visit http:\/\/your_IP\/install.php and the installation page should appear.<\/p>\n<p>On the installation page, you&#8217;ll be asked for the database information. Fill up all information required, such as your name, email and admin username and password. You&#8217;ll also include the database information saved from earlier.<\/p>\n<p>After the installation is completed, you should remove the installation directory and file.<\/p>\n<p><code>cd \/var\/www\/html\/<br \/>\nrm -rf install\/ install.php<\/code><\/p>\n<h2>Conclusion<\/h2>\n<p>With SugarCRM successfully installed, you can now begin using it to manage many aspects of your business and customer relations. If this guide was helpful to you, kindly share it with others who may also be interested. <\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>How to install SugarCRM on CentOS 7 SugarCRM is a customer relationship management software suite that helps businesses run marketing campaigns, support customers, and enable employee collaboration, among other functions. While SugarCRM has several paid editions, there is a free version called SugarCRM Community Edition (CE for short) licensed under the GNU Affero General Public<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71,61],"tags":[],"class_list":["post-2248","post","type-post","status-publish","format-standard","hentry","category-applications","category-database","operating_system-centos-7"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to install SugarCRM on CentOS 7 - Globo.Tech<\/title>\n<meta name=\"description\" content=\"This tutorial will show you how to install the customer relationship management software SugarCRM on your CentOS 7 server. Read now!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.globo.tech\/learning-center\/install-sugarcrm-centos-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install SugarCRM on CentOS 7 - Globo.Tech\" \/>\n<meta property=\"og:description\" content=\"This tutorial will show you how to install the customer relationship management software SugarCRM on your CentOS 7 server. Read now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.globo.tech\/learning-center\/install-sugarcrm-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"Globo.Tech\" \/>\n<meta property=\"article:published_time\" content=\"2016-07-18T20:58:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-12T18:58:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/GloboTech-Logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"963\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"GloboTech Communications\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"GloboTech Communications\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-sugarcrm-centos-7\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-sugarcrm-centos-7\\\/\"},\"author\":{\"name\":\"GloboTech Communications\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\"},\"headline\":\"How to install SugarCRM on CentOS 7\",\"datePublished\":\"2016-07-18T20:58:02+00:00\",\"dateModified\":\"2018-01-12T18:58:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-sugarcrm-centos-7\\\/\"},\"wordCount\":425,\"commentCount\":0,\"articleSection\":[\"Applications\",\"Database\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-sugarcrm-centos-7\\\/\",\"url\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-sugarcrm-centos-7\\\/\",\"name\":\"How to install SugarCRM on CentOS 7 - Globo.Tech\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#website\"},\"datePublished\":\"2016-07-18T20:58:02+00:00\",\"dateModified\":\"2018-01-12T18:58:15+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\"},\"description\":\"This tutorial will show you how to install the customer relationship management software SugarCRM on your CentOS 7 server. Read now!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-sugarcrm-centos-7\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-sugarcrm-centos-7\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-sugarcrm-centos-7\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install SugarCRM on CentOS 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#website\",\"url\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/\",\"name\":\"Globo.Tech\",\"description\":\"Welcome to the Official Globo.Tech Learning Center\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\",\"name\":\"GloboTech Communications\",\"sameAs\":[\"http:\\\/\\\/www.gtcomm.net\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to install SugarCRM on CentOS 7 - Globo.Tech","description":"This tutorial will show you how to install the customer relationship management software SugarCRM on your CentOS 7 server. Read now!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.globo.tech\/learning-center\/install-sugarcrm-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"How to install SugarCRM on CentOS 7 - Globo.Tech","og_description":"This tutorial will show you how to install the customer relationship management software SugarCRM on your CentOS 7 server. Read now!","og_url":"https:\/\/www.globo.tech\/learning-center\/install-sugarcrm-centos-7\/","og_site_name":"Globo.Tech","article_published_time":"2016-07-18T20:58:02+00:00","article_modified_time":"2018-01-12T18:58:15+00:00","og_image":[{"width":1920,"height":963,"url":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/GloboTech-Logo.png","type":"image\/png"}],"author":"GloboTech Communications","twitter_misc":{"Written by":"GloboTech Communications","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.globo.tech\/learning-center\/install-sugarcrm-centos-7\/#article","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-sugarcrm-centos-7\/"},"author":{"name":"GloboTech Communications","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"headline":"How to install SugarCRM on CentOS 7","datePublished":"2016-07-18T20:58:02+00:00","dateModified":"2018-01-12T18:58:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-sugarcrm-centos-7\/"},"wordCount":425,"commentCount":0,"articleSection":["Applications","Database"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.globo.tech\/learning-center\/install-sugarcrm-centos-7\/","url":"https:\/\/www.globo.tech\/learning-center\/install-sugarcrm-centos-7\/","name":"How to install SugarCRM on CentOS 7 - Globo.Tech","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/#website"},"datePublished":"2016-07-18T20:58:02+00:00","dateModified":"2018-01-12T18:58:15+00:00","author":{"@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"description":"This tutorial will show you how to install the customer relationship management software SugarCRM on your CentOS 7 server. Read now!","breadcrumb":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-sugarcrm-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.globo.tech\/learning-center\/install-sugarcrm-centos-7\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.globo.tech\/learning-center\/install-sugarcrm-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.globo.tech\/learning-center\/"},{"@type":"ListItem","position":2,"name":"How to install SugarCRM on CentOS 7"}]},{"@type":"WebSite","@id":"https:\/\/www.globo.tech\/learning-center\/#website","url":"https:\/\/www.globo.tech\/learning-center\/","name":"Globo.Tech","description":"Welcome to the Official Globo.Tech Learning Center","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87","name":"GloboTech Communications","sameAs":["http:\/\/www.gtcomm.net"]}]}},"_links":{"self":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/comments?post=2248"}],"version-history":[{"count":6,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2248\/revisions"}],"predecessor-version":[{"id":4074,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2248\/revisions\/4074"}],"wp:attachment":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/media?parent=2248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/categories?post=2248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/tags?post=2248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}