Personal tools
You are here: Home Docs Installing SugarCRM on Ubuntu 14.04 LTS

Installing SugarCRM on Ubuntu 14.04 LTS

by David Siedband last modified Nov 03, 2015 07:48 PM

apt-get update
apt-get dist-upgrade
apt-get install unzip emacs apache2 postfix

apt-get install php5 php5-cli php5-common php5-dev php5-mysql php5-curl php5-gd php-pear php5-imap php5-mcrypt php5-xmlrpc php5-xsl
apt-get install mysql-server
pecl install jsmin

cd /opt/
wget -O
mv SugarCE-Full-6.5.22 /var/www/html/sugar

emacs /etc/php5/apache2/php.ini

  post_max_size = 32M
  upload_max_filesize = 32M
  memory_limit = 768M

php5enmod imap

emacs /etc/apache2/sites-available/
cd /etc/apache2/sites-available/
service apache2 restart

chown www-data:www-data -R /var/www/html/sugar/
mysql -u root -p
  mysql> CREATE DATABASE sugarcrm;
  mysql> CREATE USER sugar@localhost;
  mysql> SET PASSWORD FOR 'sugar'@'localhost' = PASSWORD("my-password");
  mysql> GRANT ALL PRIVILEGES ON sugarcrm.* TO 'sugar'@'localhost' IDENTIFIED BY 'sugar-password' WITH GRANT OPTION;
  mysql> quit
export EDITOR=emacs
crontab -e
    *    *    *    *    *     cd /var/www/html/sugar; php -f cron.php > /dev/null 2>&1
cd /var/www/html/sugar
find . -type d -exec chmod 775 {} \;
find . -type f -exec chmod 664 {} \;

Document Actions