Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Opensource»Install SugarCRM 6.5.16 Community Edition on Linux

    Install SugarCRM 6.5.16 Community Edition on Linux

    RahulBy RahulNovember 2, 20133 Mins Read

    SugarCRM is a web based customer relationship management software. Its available in multiple versions. SugarCRM community edition is freely available to download and use. But if you want to use most feature of SugarCRM, You need to upgarde following versions.

    1. Professional
    2. Corporate
    3. Enterprise
    4. Ultimate

    Click Here to read more about SugarCRM packages and features include in above versions.

    SugarCRM Community Edition is free to use. This article will step by step guide you to how to install SugarCRM CE on CentOS, RHEL and Fedora Systems.

    Step 1: Setup LAMP

    In order to run SugarCRM application, we need to setup LAMP environment. We assume that you already have PHP, MySQL and Apache installed on you system. If you don’t have use following article.

    Install Linux, Apache, MySQL, PHP (LAMP) Stack on CentOS, RHEL

    Step 2: Install Required Modules and Configuration

    We also need to install some specific modules for working properly of SugarCRM. Use following command to install them

    # yum install php-gd php-imap php-ldap php-odbc php-mbstring php-pear php-xml php-xmlrpc php-soap
    # yum install curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel
    

    Edit PHP configuration file /etc/php.ini and update following variables.

    • 32-bit Systems: Minimum Memory 256M
    • 64-bit Systems: Minimum Memory 512M
    memory_limit = 512M
    upload_max_filesize = 10M
    

    After making above changes restart Apache service to apply changes.

    # service httpd restart
    
    Step 3: Download and Extract SugarCRM

    Download and extract latest sugarcrm available version from SugarCRM official site.

    # cd /var/www/
    # wget http://sourceforge.net/projects/sugarcrm/files/latest/download?source=files
    

    Extract downloaded archive. The zip archive version may changes

    # unzip SugarCE-6.5.16.zip
    # mv SugarCE-Full-6.5.16 sugarcrm
    # chown -R apache:apache sugarcrm
    # chmod -R 755 sugarcrm
    # chmod -R 766 cache custom modules upload
    # chmod 777 install.php config.php config_override.php
    
    Step 4: Setup Apache VirtualHost

    Edit apache configuration file and create a new virtual host like below.

    <VirtualHost *:80>
       ServerName crm.tecadmin.net
       ServerAdmin  [email protected]
       DocumentRoot /var/www/sugarcrm
       <Directory /var/www/sugarcrm>
          Allowoverride all
       </Directory>
    </VirtualHost>
    

    Restart Apache Server using following command.

    # service httpd restart
    
    Step 5: Start SugarCRM Web Installer

    After configuring apache, connect to your server using configured ServerName and following the web installer wizzard to complete setup.

    5.1 Select preferd language and Click Next

    sugarcrm-install-step1

    5.2 In the step 2 just click on Next

    sugarcrm-install-step2

    5.3 Accept License Aggrement and Click Next

    sugarcrm-install-step3

    5.4 Select Installation Options ( We prefered to select Typical install ) and click Next

    sugarcrm-install-step-4

    5.5 Select Database Type, You may use SQL Server or MySQL as database (I am using MySQL) and Click Next.

    In my case SQL Server is not appearing because I haven’t installed SQL Server libraries in PHP.

    sugarcrm-install-step-5

    5.6 Fill the Required Database Details like below snapshot and click Next.

    sugarcrm-install-step-6

    5.7 Fill admin account details to use for login in admin panel after installation and click Next.

    sugarcrm-install-step-7

    5.8 This screen will show you the selection done by you. Also it shows to schedule cron to automate the tasks while using SugarCRM. Now click Install.

    sugarcrm-install-step-8

    5.9 Now you have installed SugarCRM, Just click Next and you will be redirected to Admin Login screen.

    sugarcrm-install-step-9

    Add below content in .htaccess file to secure your sugarcrm application.

    # BEGIN SUGARCRM RESTRICTIONS
    RedirectMatch 403 (?i)^.*.log$
    RedirectMatch 403 (?i)/+not_imported_.*.txt
    RedirectMatch 403 (?i)/+(soap|cache|xtemplate|data|examples|include|log4php|metadata|modules)/+.*.(php|tpl)
    RedirectMatch 403 (?i)/+emailmandelivery.php
    RedirectMatch 403 (?i)/+cache/+upload
    # END SUGARCRM RESTRICTIONS
    

    sugarcrm-install-step-10

    Congratulation’s! you have successfully installed SugarCRM on your system.

    install sugarcrm sugarcrm sugarcrm-ce
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow to Install NGINX Web Server on CentOS/RHEL 7/6 and Fedora 27/26
    Next Article How to Generate Certificate Signing Request (CSR) on Linux

    Related Posts

    How to Install OpenCV on Ubuntu 20.04

    Updated:September 17, 20214 Mins Read

    How to Install Mattermost with MySQL on Ubuntu 14.04 & Debian 8

    Updated:May 4, 20163 Mins Read

    How to Install Wine 5.6 on CentOS, RHEL and Fedora

    Updated:April 17, 20202 Mins Read

    How to Install Wine 5.0 on Ubuntu 18.04 & 16.04 LTS

    Updated:December 18, 20202 Mins Read

    How to Install Mean.io On Ubuntu, Debian & LinuxMint

    Updated:September 21, 20191 Min Read

    How to Install VMware Player on CentOS/RHEL and Ubuntu

    1 Min Read

    2 Comments

    1. Swapan on January 30, 2014 12:29 pm

      Awesome and helpful guide that works!! Thank you very much for writing this doc. It helped me a lot.

      Regards.

      Reply
    2. Eric on November 19, 2013 3:30 pm

      Hi Rahul,
      I intalled SugarCRM successful, but I when to upload a package language or antoher module with ‘Module Loader’ nothing happens. It’s as if nothing has come up. Could be that something was wrong in php configuration or directly in SugarCRM (config.php)?
      Regards.

      Reply

    Leave A Reply Cancel Reply

    Recent Posts
    • How to Install Sublime Text 4 on Ubuntu 22.04
    • How to Enable / disable Firewall in Windows
    • How to Install JAVA on Ubuntu 22.04
    • Switching Display Manager in Ubuntu – GDM, LightDM & SDDM
    • Changing the Login Screen Background in Ubuntu 22.04 & 20.04
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

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