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…..

Related Posts:

  1. How to install redmine on Ubuntu
  2. How to install USVN on ubuntu
  3. How to install and configure GIT on Ubuntu
  4. How to configure OpenSSL over apache on Ubuntu
  5. How to Install Webmin on Ubuntu

Most Viewed Posts Today:

  1. How to install and configured ASTERISK on Ubuntu
  2. MySQL Allow Remote Connections
  3. Windows 7 Unidentified Network / No Internet Access Problem
  4. How to Boot System from Network
  5. How to create NBMA Cisco Lab (Frame Relay Switch) using GNS3

Tags:

173 Comments on How to install SugarCRM on Ubuntu

  1. You built some beneficial details there. I did a look for within the matter and observed most folks will consent with your webpage.

  2. 婚姻挽回 says:

    I would just like to let ufo know how much I learn from your website Bookmarked book ! be back fast for some more good articles!

  3. Linux VPS says:

    I just book marked your blog on Digg and StumbleUpon.I enjoy reading your commentaries.

  4. Sok Noni says:

    I just sent this post to a bunch of my friends as I agree with most of what you’re saying here and the way you’ve presented it is awesome.

  5. I’m amazed by the quality of your posts.

  6. Hola. Gran trabajo. No me esperaba esto en un miércoles. Esta es una gran historia. Gracias!

  7. Беляев Николай says:

    Why don’t write about adding scheduler in crontab

  8. Miguel Diaz says:

    Hi,
    I am completely new on this and I was not able to go beyond the next step:
    miguel@miguel-laptop:~$ mysql-u root-p
    mysql-u: command not found

    Could you help me? Thanks so much.

  9. I Will have to come back again whenever my course load lets up – nonetheless I am taking your Rss feed so i can read your web blog offline. Thanks.

  10. Good work buddy. It makes me request for more.

  11. Have you ever thought about adding a little bit more than just your articles? I mean, what you say is valuable and all. But just imagine if you added some great photos or videos to give your posts more, “pop”! Your content is excellent but with images and video clips, this site could definitely be one of the most beneficial in its niche. Amazing blog!

  12. very nice publish, i certainly love this website, keep on it

  13. Well, this is my first check out to your blog! We are a group of volunteers and starting a brand new initiative in a community in the exact same niche. Your blog provided us valuable information to work on. You’ve done a marvellous job!

  14. I got what you destine, thanks for swing up. Woh I am willing to experience this website finished google. Thanks For Share How to install SugarCRM on Ubuntu | LINUXGURRU.

Leave a Reply

*