{"id":3163,"date":"2014-02-13T15:56:08","date_gmt":"2014-02-13T21:56:08","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=3163"},"modified":"2022-12-16T05:27:24","modified_gmt":"2022-12-16T11:27:24","slug":"install-sugarcrm-on-a-centosfedorascientitic-linux-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-sugarcrm-on-a-centosfedorascientitic-linux-vps\/","title":{"rendered":"Install Sugar CRM on a CentOS\/Fedora\/Scientitic Linux VPS"},"content":{"rendered":"
Sugar CRM is a web based customer relationship management (CRM) system written in PHP. It is available in three different editions: Community Edition (which is free), Professional Edition and Enterprise Edition. This blog post covers the installation of the free Community Edition of Sugar CRM on a CentOS<\/a>\/Fedora\/Scientitic Linux VPS<\/a> which is pretty easy and fast.<\/p>\n <\/p>\n In order to run Sugar CRM on your server, you need to have MySQL database server and Apache web server installed. Both are coming pre-installed with all our ‘full’ OS templates.<\/p>\n At the very beginning of the installation, update your system:<\/p>\n We need to allow files of at least 6 MB to be uploaded in the PHP configuration file. You can find the location of the PHP configuration file with the following command:<\/p>\n Open the configuration file and make sure that ‘upload_max_size’ is set to 6M or more:<\/p>\n and restart the web server:<\/p>\n Download the latest release of the Sugar CRM community edition from http:\/\/sourceforge.net\/projects\/sugarcrm\/files\/1%20-%20SugarCRM%206.5.X\/SugarCommunityEdition-6.5.X<\/em> which currently is 6.5.16<\/p>\n Unzip the zip archive to the document root directory:<\/p>\n We will rename the extracted directory to something simpler:<\/p>\n and this directory needs to be owned by the Apache user:<\/p>\n Next, create a MySQL database and user for Sugar CRM:<\/p>\n Now, with your favorite browser open http:\/\/YOURDOMAIN.TLD\/sugarcrm and the Sugar CRM installation wizard will come up On the next screen you will see instructions and requirement for the installation.<\/p>\n Read and accept the Sugar CRM license: Select the installation type. In our case we selected the typical installation: Select the database type. We use MySQL database: Next, enter the information of the MySQL database we’ve created earlier in this tutorial: Create the Sugar CRM admin user: A summary of the selected setting will be displayed on the next screen. If everything is OK, click install. That’s all. Sugar CRM Community Edition is successfully installed on your server. Now, you can log in to Sugar CRM with your admin account and continue with the configuration.<\/p>\n# yum -y update<\/pre>\n
# php -i |grep php.ini\r\nConfiguration File (php.ini) Path => \/etc\r\nLoaded Configuration File => \/etc\/php.ini<\/pre>\n
# vi \/etc\/php.ini\r\nupload_max_filesize = 6M<\/pre>\n
# service httpd restart<\/pre>\n
# wget http:\/\/downloads.sourceforge.net\/project\/sugarcrm\/1%20-%20SugarCRM%206.5.X\/SugarCommunityEdition-6.5.X\/SugarCE-6.5.16.zip<\/pre>\n
# unzip SugarCE-6.5.16.zip -d \/var\/www\/html<\/pre>\n
# mv SugarCE-Full-6.5.16 sugarcrm<\/pre>\n
# chown -R apache:apache \/var\/www\/html\/sugarcrm<\/pre>\n
echo \"CREATE DATABASE sugarcrm;\" | mysql -u root -p\r\necho \"CREATE USER 'sugarcrmuser'@'localhost' IDENTIFIED BY 'YOUR_PASSWORD';\" | mysql -u root -p\r\necho \"GRANT ALL PRIVILEGES ON sugarcrm.* TO 'sugarcrmuser'@'localhost';\" | mysql -u root -p\r\necho \"FLUSH PRIVILEGES;\" | mysql -u root -p<\/pre>\n
\n<\/p>\n
\n<\/p>\n
\n<\/p>\n
\n<\/p>\n
\n<\/p>\n
\n<\/p>\n
\n<\/p>\n