Skip to main content

How To Install SugarCRM On CentOS 7 In Simple Steps


Our tutorial for today is How to Install SugarCRM on Centos 7 in Simple Steps. SugarCRM Community Edition is a free and open source web-based customer relationship management software written in PHP. Customer Relations Management is a main component to any business with customer support, marketing and sales. SugarCRM is used to track customer orders and billing history and also used to catalog any complaints. SugarCRM allows you to customize and configure Sugar to meet your specific business needs. SugarCRM comes with three editions Community Edition, Professional Edition and Enterprise Edition. SugarCRM community edition is freely available to download and use. The key features of SugarCRM are Marketing Automation, Sales Force Automation, Email Integration, Customer Support, Social CRM, mobile CRM, reporting, project & activity management, and more.
In this tutorial, we will learn how to install SugarCRM CE on CentOS 7 server.

Requirements

  •  A server running CentOS 7.
  • A static IP address setup on your server.Getting Started
First, you will need to update your OS with the latest release and update its installed packages and repositories using below command:
yum update -y
Once your system is up-to-date, you can proceed to the next step.

Install LAMP

In order to run SugarCRM, you will need to install LAMP server and other required PHP modules on your system.
You can install all of them by running the following command:
yum install php httpd mariadb mariadb-server php-mysqlnd php-opcache php-mbstring php-gd -y
Once all the packages are installed including their dependencies, start the Apache and MariaDB services then enable it to start on boot with the following command:
systemctl start httpd
systemctl start mariadb
systemctl enable httpd
systemctl enable mariadb

Configure MariaDB Database.

By default MariaDB installation is not secured, so you will need to secure it first.
To do so, run the following 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
How to Install SugarCRM on CentOS 7 in Simple Steps
How to Install SugarCRM on CentOS 7 in Simple Steps

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;
How to Install SugarCRM on CentOS 7 in Simple Steps
Next, you will need to edit “/etc/php.ini” to tune the PHP settings:
nano /etc/php.ini
Change the following line:

upload_max_filesize = 25M
Save and close the file, then restart apache service to implement the saved changes.
systemctl restart httpd

Install SugarCRM

First, you will need to download the latest community edition of SugarCRM from their official website. Once download is complete, extract the downloaded archive with the following command:
unzip SugarCE-6.5.24.zip
Next, move the extracted archive in Apache web root directory:
mv SugarCE-6.5.24 /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

Access SugarCRM Web Installation Wizard

Once everything is setup properly, it’s time to access SugarCRM web installation wizard.
Open your favourite web browser and type the URL http://your-server-ip/SugarCRM, you should see the SugarCRM Community Setup Wizard as below:
How to Install SugarCRM on CentOS 7 in Simple Steps
Next, click on the `Next` button. You should see the following page:
How to Install SugarCRM on CentOS 7 in Simple Steps
Read and Accept the License agreement then Click on the “Next” button, you should see the following page:
How to Install SugarCRM on CentOS 7 in Simple Steps
Here, choose the First option and click on the  “Next” button, you should see the following page:
How to Install SugarCRM on CentOS 7 in Simple Steps
Here, specify the database type and click on the “Next” button, you should see the following database configuration page:
How to Install SugarCRM on CentOS 7 in Simple Steps
Provide the database name, host name, Database admin username and password, then click on the “Next” button, you should see the following page:
How to Install SugarCRM on CentOS 7 in Simple Steps
Next, provide SugarCRM admin username and password as you wish, then click on the `Next` button, Here, confirm all the setting and click on the “Next” button, you should see the following page:
How to Install SugarCRM on CentOS 7 in Simple Steps
Now, click on the “Next” button to finish setup, you should see the following page:
How to Install SugarCRM on CentOS 7 in Simple Steps
Now, enter your admin user credentials to log in your SugarCRM community edition and start using your best customer relations management portal as shown below:
How to Install SugarCRM on CentOS 7 in Simple Steps

Summary

Congratulations! you have successfully installed SugarCRM on CentOS 7 server. You can now easily host SugarCRM in the production environment and customize it as per your requirements. Feel free to comment me if you have any questions.

Comments

Popular posts from this blog

14 Best Online Jobs from Home – No Investment to Earn Money

Earn from PTC sites If you are trying to earn money online & need only small extra income less than $200 (Rs.12,000) then PTC sites are the best way to start. Here you need to click & read the advertisements for 10 to 3o seconds & get paid for each & every advertisement you view. There are many sites where you can register & make money by reading ads. All sites are free & there is no investment at all. You can check this list of 5 best PTC sites, signup & start earning. 2. Earn with GPT Sites To add more income, you can also join GPT sites where you can earn money by taking small surveys, watching videos, playing games & doing many more activities. We have worked on number of GPT sites but we will recommend only 3 sites which pays their member on time. You can receive your payment by PayPal, cheque or bank transfer. Check GPT sites here . 3. Become a Captcha Solver If you have more time then you can add further income in your po...

Watch 18+ Videos On Youtube Without Signing In

                                          Sometime its  annoying  when youtube ask you to  sign  in for your  age verification  to watch  18+  videos . So i  will make  it easy for you by showing you  a simple   youtube trick to  watch  adult or 18+  youtube videos  without signing In. This trick is 100% working as of 2013. So  lets get  started. How To Watch 18+ Youtube Videos Without Logging In ? 1. First get the  Url  of video you want to  watch . As shown below. http://www.youtube.com/watch?v= 4Xkh6j7RMqk   2. Then  cop y the Video Id. For above link video Id is   4Xkh6j7RMqk 3. Now paste the Video Id  in the link  given below. http://www.youtube.com/v/ VideoId ?fs=1 Replace  VideoId  with the Id you copied in  Step 2 ...

How to Enable or Disable Hibernation in Windows ?

Enabling or Disabling the “Hibernate” option in Windows 7 or Vista is not as simple as it used to be in Windows XP. For Windows 7 a different approach has to be followed to accomplish the same job. In this post you will find how to enable or disable the Hibernate option in Windows 7. Hibernation is a power saving option which was designed primarily for laptops. Unlike “sleep mode” which puts the open documents and files into the memory, hibernation puts all the open files and documents on to the hard disk and shuts down the computer without drawing even a small amount of power. Thus hibernation becomes an excellent way to save power and resume Windows back to the state where it was left off. If you really want to use this feature on Windows 7 then you need to enable this option. This can be done as follows. 1. Open the Command Prompt with “Administrator rights”. To do so, type cmd in Start menu and then hit Ctrl+Shift+Enter . 2. Now type ...