Zoomtutorials
  • Tutorials
    • DevOps
      • Terraform
      • Git
      • GitHub
      • Jenkins
      • Docker
      • Kubernetes
      • Ansible
      • Python
      • Azure DevOps
      • AWS DevOps
    • Cloud
      • AWS
      • Azure
      • GCP
      • Oracle Cloud
      • Alibaba Cloud
      • IBM Cloud
      • DigitalOcean
      • Linode
    • Microsoft Dynamics ERP
      • Dynamics 365
        • D365 FnO
        • D365 BC
      • Dynamics AX
      • Dynamics NAV
      • Dynamics GP
      • Dynamics CRM
    • Azure DevOps
      • Azure Boards
      • Azure Repos
      • Azure Pipelines
      • Azure Test Plans
      • Azure Artifacts
      • Extensions Marketplace
    • AWS DevOps
      • CodeStar
      • CodeCommit
      • CodeBuild
      • CodeDeploy
      • CodePipeline
      • CodeArtifact
    • Web Server
      • IIS
      • Apache
      • NGINX
      • Tomcat
      • NodeJS
    • Microsoft
      • Office 365
      • Microsoft 365
      • SharePoint
      • MS Dynamics ERP
  • Development
    • Application
      • Magento 2
      • Magento
      • WordPress
      • PHP
      • .Net
      • .Net Core
      • NodeJS
      • JAVA
    • Database
      • Microsoft SQL Server
      • MySQL
      • MariaDB
      • Amazon Aurora
      • SQL Proxy
  • HowTos
    • Linux OS
      • RHEL
      • Ubuntu
      • CentOS
      • Fedora
      • Debian
    • Linux Tips
      • Linux Commands
      • Linux Tricks
      • Linux Cheatsheet
    • Windows OS
      • Server 2019
      • Server 2016
      • Server 2012
      • Server 2008
      • Windows 11
      • Windows 10
      • Windows 8
      • Windows 7
    • Windows Tips
      • Windows Commands
      • Windows Shortcuts
  • Tools
    • Monitoring
      • New Relic
      • ELK Stack
    • Security
      • Firewall
      • Internet Security
      • Antivirus
    • Backup
      • SQL Backup
      • Iperius Backup
  • Courses
  • News
  • Submit Tutorials
  • More…
    • Services
    • Write For Us
    • Hire Us
    • Community
    • Donate ❤️
    • Contact Us
Facebook Twitter Instagram
Zoomtutorials
  • Tutorials
    • DevOps
      • Terraform
      • Git
      • GitHub
      • Jenkins
      • Docker
      • Kubernetes
      • Ansible
      • Python
      • Azure DevOps
      • AWS DevOps
    • Cloud
      • AWS
      • Azure
      • GCP
      • Oracle Cloud
      • Alibaba Cloud
      • IBM Cloud
      • DigitalOcean
      • Linode
    • Microsoft Dynamics ERP
      • Dynamics 365
        • D365 FnO
        • D365 BC
      • Dynamics AX
      • Dynamics NAV
      • Dynamics GP
      • Dynamics CRM
    • Azure DevOps
      • Azure Boards
      • Azure Repos
      • Azure Pipelines
      • Azure Test Plans
      • Azure Artifacts
      • Extensions Marketplace
    • AWS DevOps
      • CodeStar
      • CodeCommit
      • CodeBuild
      • CodeDeploy
      • CodePipeline
      • CodeArtifact
    • Web Server
      • IIS
      • Apache
      • NGINX
      • Tomcat
      • NodeJS
    • Microsoft
      • Office 365
      • Microsoft 365
      • SharePoint
      • MS Dynamics ERP
  • Development
    • Application
      • Magento 2
      • Magento
      • WordPress
      • PHP
      • .Net
      • .Net Core
      • NodeJS
      • JAVA
    • Database
      • Microsoft SQL Server
      • MySQL
      • MariaDB
      • Amazon Aurora
      • SQL Proxy
  • HowTos
    • Linux OS
      • RHEL
      • Ubuntu
      • CentOS
      • Fedora
      • Debian
    • Linux Tips
      • Linux Commands
      • Linux Tricks
      • Linux Cheatsheet
    • Windows OS
      • Server 2019
      • Server 2016
      • Server 2012
      • Server 2008
      • Windows 11
      • Windows 10
      • Windows 8
      • Windows 7
    • Windows Tips
      • Windows Commands
      • Windows Shortcuts
  • Tools
    • Monitoring
      • New Relic
      • ELK Stack
    • Security
      • Firewall
      • Internet Security
      • Antivirus
    • Backup
      • SQL Backup
      • Iperius Backup
  • Courses
  • News
  • Submit Tutorials
  • More…
    • Services
    • Write For Us
    • Hire Us
    • Community
    • Donate ❤️
    • Contact Us
Facebook Twitter Instagram YouTube LinkedIn
Zoomtutorials
Home»Tutorials»Linux»How to Install and Configure SugarCRM on Centos 7
Linux

How to Install and Configure SugarCRM on Centos 7

Choudhury SBy Choudhury SJuly 15, 2019Updated:September 28, 20191 Comment3 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Share
Facebook Twitter LinkedIn Pinterest Email

weSugarCRM is a free and Open source Customer Relationship Management which is written in PHP and can be easily installed and configured on top of LAMP stack. SugarCRM is available in different flavours called “Editions” (“Community” (free), “Professional”, and “Enterprise”). For a detailed overview of the different editions, have a look at the SugarCRM website.

This tutorial will explain how to install SugarCRM Community Edition on CentOS 7 server.

Prerequisites

  • A CentOS 7 (latest version) server with minimal installation.
  • A static IP address setup on your server.

Step 1: Update OS to latest version

# yum update -y

Step 2: Install Lamp stack

Install Lamp Stack and other required PHP dependencies on your server by running below commnads.

# yum install php httpd mariadb mariadb-server php-mysqlnd php-opcache php-mbstring php-gd -y

Step 3: Start services

Once the packages and dependencies are installed, start Apache and mariadb service and enable both to start at system boot.

Start Apache and mariadb service with below commands:

# systemctl start httpd
# systemctl start mariadb

Next, enable Apache and mariadb service to start at system boot with below commands:

# systemctl enable httpd
# systemctl enable mariadb

Step 4: Configure MariaDB Database

By default MariaDB installation is not secured, so we need to secure it first by running the below script.

# mysql_secure_installation

Answer all the questions as shown below:

Enter current password for root (enter for none): Enter

Set root password? [Y/n]: n

Remove anonymous users? [Y/n]: Y

Disallow root login remotely? [Y/n]: Y

Remove test database and access to it? [Y/n]: Y

Reload privilege tables now? [Y/n]: Y

Next, log in to MySQL shell with the following command:

# mysql -u root -p

Enter the root password when asked, then create a database and user for SugarCRM:

MariaDB [(none)]>CREATE DATABASE sugarcrm;

MariaDB [(none)]>GRANT ALL PRIVILEGES ON sugarcrm.* TO ‘crm’@’localhost’ IDENTIFIED BY ‘password’ WITH GRANT OPTION;

MariaDB [(none)]>flush privileges;

MariaDB [(none)]>exit;

Step 5: Tune PHP settings

In order to install and run SugarCRM properly, you need to edit php.ini to tune the PHP settings with below command.

# vi /etc/php.ini

Change the value of upload_max_filesize to 25M by editing the file.

upload_max_filesize = 25M

Save and close the file, then restart apache service to implement the saved changes by running below command.

# systemctl restart httpd

Step 6: Install SugarCRM

First download SugarCRM package with the below command.

# wget https://master.dl.sourceforge.net/project/sugarcrm/OldFiles/1%20-%20SugarCRM%206.5.X/SugarCommunityEdition-6.5.X/SugarCE-6.5.26.zip

Next, unzip the package with below command.

# unzip SugarCE-6.5.26.zip

Next, move the extracted archive in Apache web root directory:

# mv SugarCE-6.5.26 /var/www/html/SugarCRM

Give necessary permission to SugarCRM directory:

# chown -R apache:apache /var/www/html/sugarcrm

Next, you will need to allow HTTP on port `80` through firewalld. You can do this by running the following command:

# firewall-cmd –zone=public –add-service=http –permanent

# firewall-cmd –reload

Next, lets start installation of SugarCRM by accessing the below URL:

http://your-server-ip/SugarCRM

The SugarCRM Community Setup Wizard page will be opened as below.

img 5d2c72d336eb7 - How to Install and Configure SugarCRM on Centos 7

Next, click on the `Next` button.

img 5d2c735647c43 - How to Install and Configure SugarCRM on Centos 7

Read and Accept the License agreement, then Click on the “Next” button:

img 5d2c739c4c98a - How to Install and Configure SugarCRM on Centos 7

Next, choose the First option and click on the  “Next” button:

img 5d2c73e054f64 - How to Install and Configure SugarCRM on Centos 7

Click on Next button:

img 5d2c741455197 - How to Install and Configure SugarCRM on Centos 7

Next, provide the database details and click on Next:

img 5d2c7455235dc - How to Install and Configure SugarCRM on Centos 7

Next, provide the SugarCRM admin username and password of your choice and click on Next:

img 5d2c74d23e028 - How to Install and Configure SugarCRM on Centos 7

Next, confirm the settings and click on Install to install SugarCRM:

img 5d2c74fcdcf4d - How to Install and Configure SugarCRM on Centos 7

This completes the setup of SugarCRM, next login to the admin console with the credentials provided in earlier steps:

img 5d2c76a418d0d - How to Install and Configure SugarCRM on Centos 7

Congratulations! you have successfully installed SugarCRM on CentOS 7 server.

centos linux sugarcrm
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Choudhury S
  • Website

Choudhury is the founder and chief editor of ZoomTutorials Blog, a leading tutorials and technology blogging site specializing in DevOps, SysAdmin and Cloud Technologies to help IT professionals in their day to day work. He is a Senior Cloud and DevOps Solutions Engineer at a leading eCommerce development Company and has more than 10+ years of Cloud, DevOps and SysAdmin experience working with Fortune 500 companies to solve their most important IT backbones. He lives in Hyderabad with his wife and a son.

Related Posts

How to create and add SSH key to your GitHub account

July 2, 2021

How to implement HTTP Authentication/Password protect your website in Apache

November 15, 2019

How To Install Composer on CentOS 7

November 2, 2019
0 0 votes
Article Rating
Subscribe
Notify of
guest
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
wpdiscuz   wpDiscuz

Buy Me a Coffee Plz...

Get our latest tutorials
Recent Posts
  • How to Use the slmgr Command in Windows
  • How To Extend Windows Server Evaluation after Trial Period Expiry
  • List of Useful Magento 2 Commands
  • Magento 2 Commands and the Use Cases
  • MySQL and MariaDB Performance Tuning and Optimization
  • Microsoft Dynamics AX End of Support/Life
  • Magento Community read/write splitting with Database Proxy
  • Git Commands for developers and sysadmins
  • Install the git credential-oskeychain
  • Install Git on Windows, Linux and Mac
June 2022
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
27282930  
« Aug    
Archives
Site Statistics
  • Visitors today : 9
  • Page views today : 10
  • Total visitors : 11,787
  • Total page view: 12,652
svg+xml;base64,PHN2ZyB2aWV3Qm94PScwIDAgMSAxJyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPjwvc3ZnPg== - How to Install and Configure SugarCRM on Centos 7
Facebook Twitter Instagram YouTube LinkedIn
  • Donation ❤️
  • About
  • Services
  • Submit Tutorials
  • Contact Us
  • Privacy Policy
  • Terms of Use
Copyright © 2017- 2022 by Zoomtutorials.com. All Rights Reserved. Designed with ❤️ by CloudSols.com

Type above and press Enter to search. Press Esc to cancel.

wpDiscuz