You should now configure the sources for apt.Once that’s done you can upgrade your system to get the latest updates.

  1. $ sudo -s
  2. $ aptitude update
  3. $ aptitude upgrade

You can also do the other steps on this page to configure the network, ssh etc.Only difference is that I prefer aptitude over apt-get since it’s apparently better with dependencies….

Now we’re ready to install the software needed by SugarCRM:

  1. $ aptitude install php5-imap php5-curl unzip

And set the right permissions….

  1. $ chmod -R 777 /var/www/sugarcrm
  2. $ chmod -R 777 /var/www/sugarcrm/cache
  3. $ chmod -R 777 /var/www/sugarcrm/custom
  4. $ chmod -R 777 /var/www/sugarcrm/data
  5. $ chmod -R 777 /var/www/sugarcrm/modules
  6. $ chmod -R 777 /var/www/sugarcrm/config.php

Now we have to edit the default php.ini for SugarCRM, so open it in your favorite editor.The path to the php.ini file is: /etc/php5/apache2/php.ini

  1. $ nano -w /etc/php5/apache2/php.ini

Find : allow_call_time_pass_reference = On
Change : allow_call_time_pass_reference = Off
Find : memory_limit = 8M
Change : memory_limit = 32M
Find : upload_max_filesize = 2M
Change : upload_max_filesize = 10M

And finally we restart apache for the changes to take effect.

  1. $ /etc/init.d/apache2 restart

That’s it, you should now be able to go to the web installer of SugarCRM.Just point your browser to http://server-ip-address/(sugar crm directory)/ which should automatically load http://server-ip-address/(sugar crm directory)/install.php

And go on…

9 Responses to Setting up Sugar CRM on Ubuntu

  1. the valuable information u presented do help the research for my group, thanks.

    – Lucas

  2. svnlabs says:

    Very useful article :)

    Keep it up…

  3. Worker says:

    ЎGracias! Ahora me irй en este blog cada dнa!

  4. Maybe the most influential blog I read this month =D


  5. Anonymous says:

    I don’t even know how I ended up here, but I thought this post was good. I dont know who you are but certainly youre going to a famous blogger if you are not already Cheers!

  6. Anonymous says:

    You completed several good points there. I did so research online for the issue and found many people go along with together with your blog.

  7. Moritz Becker says:

    Hallo, dies ist ein sehr interessanter Artikel , die Praxis sieht leider meist etwas anders aus. Hoffentlich gibt es noch andere Meinungen dazu.

  8. LA says:

    An absorbing treatment is worth notice. I cogitate that you should compose statesman on this message, it strength not be a taboo content but generally fill are not sufficiency to talk on such topics. To the succeeding. Cheers like your Setting up Sugar CRM on Ubuntu | PHP Solutions.

Leave a Reply