martedì 3 settembre 2013

Install SugarCRM on Ubuntu

Installed required packages

• LAMP (Apache, MySQL and PHP)
• libapache2-mod-php5
• libapache2-mod-perl2
• php5-cli
• php5-common
• php5-curl
• php5-dev
• php5-gd
• php5-imap
• php5-ldap
• unzip
• php5-mhash
• php5-mysql
• php5-odbc
• curl
• libwww-perl
• imagemagick


Install all the required packages using the following commands

sudo apt-get install apache2
sudo apt-get install mysql-server
sudo apt-get install libapache2-mod-php5 libapache2-mod-perl2
sudo apt-get install php5 php5-cli php5-common php5-curl php5-dev php5-gd php5-imap php5-ldap unzip
sudo apt-get install php5-mhash php5-mysql php5-odbc curl libwww-perl imagemagick

Creating Database for SugarCRM

mysql -u root –p

Then type your MySQL password and run this command

mysql> create database sugarcrm;
mysql> exit

Installed SugarCRM

Now you need to go to your webserver document root directory (default location is /var/www) or your choice…
cd /var/www

Download SugarCRM
wget http://dl.sugarforge.org/sugarcrm/2SugarCE5.5.1GA/SugarCE5.5.1GA/SugarCE-5.5.1.zip

Now unzip file for using this command
unzip SugarCE-5.5.1.zip

Changed the folder name
sudo mv SugarCE-5.5.1.zip sugarcrm

Changed the ownership of this folder
sudo chown –Rf apacheuser:apachegroup and folder name like….
sudo chown –Rf www-data:www-data sugarcrm

Give Write permitions for apache on some of SugarCRM Files

cd /var/www/sugarcrm
sudo chmod 766 config.php
sudo chmod 766 custom
sudo chmod -R 766 data
sudo chmod -R 766 cache
sudo chmod -R 766 modules

Need for some changing to edit the php.ini file using the following command
Location of php.ini file

sudo nano /etc/php5/apache2/php.ini

Change
;memory_limit = 16M
to
memory_limit = 50M

Change
;upload_max_filesize = 2M
to
upload_max_filesize = 10M

Restart web server using the following command
sudo /etc/init.d/apache2 restart

Configure sugarCRM

Now open your webbrowser and enter the following address

http://domain-name or server-ip/sugarcrm/install.php

Please let me know in case any problem regarding this setup…..

4 commenti:

  1. I am very happy when read this blog post because blog post written in good manner and write on good topic. Thanks for sharing valuable information…....

    RispondiElimina
  2. Thanks for sharing this useful info. Keep updating same way.

    RispondiElimina
  3. A very well-written mailed letters. I read and adored the mail and have furthermore bookmarked you. All the best for future endeavors.
    by MGT 350 Final Exam Provider

    RispondiElimina