These documents will go through the requirements and steps to install or upgrade a Sugar example site (hosted on a local web server). The following instructions are intended for program managers with access to the appropriate programs and technical information used.
Step 1: Installing LAMP Stack in Linux
Step 2:Start MySQL service and use mysql_secure_installation script to secure database:
Step 3 : Now, create MySQL database. Login to MySQL database and run the below commands
Step 4 : Selinux in enabled on our machine. In case the policy is set to Enforced disable it by issuing the below commands:
Step 5 : To completely disable Selinux, open /etc/selinux/config file and set the line SELINUX to disabled.
Step 6 :To over-ride Selinux policy run the below command:
Step 7 : open /etc/php.ini configuration file and make the following changes:
1. pload_file_size to minimum 7MB
2. date.timezone variable to your server physical timezone.
upload_max_filesize = 7M
date.timezone = Europe/Bucharest
Step 8 : Restart Apache Service Use The Following Command:
Step 9: Install SugarCRM Latest Version On Your System By Issuing The Following Command:
Step 10: Extract The Sugarcrm File And Copy The Configuration Files To Your Webserver Document Root. /Var/Www/Html Directory By Running The Below Commands:
Step 11: Next, Change Directory To /Var/Www/Html And Modify The Permissions Recursively For The Below Directories And Files In Order To Grant Apache With Write Permissions:
Step 12: Create An Htaccess File On Webroot Directory And Grant Apache With Write Permissions To This File:
Step 13: Open A Browse Http:///Install.Php
choose the installation language and hit the Next button.
After a series of system checks hit Next to continue.
On the next screen accept the license and hit Next button again.
Here choose Custom Install and click Next button to proceed further.
Choose MySQL as internal database for SugarCRM and hit Next button again.
Step 14: MySQL database and hit Next when finished:
Database Name: sugarcms
Host name: localhost
Database Administrator Username: root
Database Admin Password: password
Sugar Database Username: Same as Admin User
Populate Database with Demo Data: no
If the database is already created notification will prompt you to verify DB Credentials. Hit the Accept button to proceed further.
On the next screen the installer you ask you the URL of Sugar instance and a name for the system. Leave the URL value as default and choose a descriptive name for the SugarCRM system. Also, enter an Admin username and password for SugarCRM.