Installing and configuring SugarCRM

Let's install SugarCRM: Sugar Community Edition on Ubuntu Server 9.10.

Install necessary software:

# aptitude install libapache2-mod-php5 libapache2-mod-perl2 php5 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

Download and unpack SugarCRM:

# cd /var/www
# wget http://www.sugarforge.org/frs/download.php/5446/SugarCE-5.2.0e.zip (10)
# unzip SugarCE-5.2.0e.zip
# mv SugarCE-Full-5.2.0e sugarcrm

Set up permissions:

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

Configure PHP:

# mcedit/etc/php5/apache2/php.ini

memory_limit = 50M
upload_max_filesize = 10M

Configure Apache as you like and restart it.

# apache2ctl restart

Open site in your browser and start the installation process.
If you need connect SugarCRM with your LDAP server, you need to do the next:
Если необходима авторизация через LDAP, проделываем следующее:
Go to Admin - Configuration Settings - Enable LDAP.

Server: 192.168.0.1
Port: 389
DN: ou=People,dc=domain,dc=local
Bind: dn
Login: uid
User: cn=admin,dc=domain,dc=local
Password: ********

SugarCRM has his own user database, so you need to check autocreation box for copying users from your ldap into SugarCRM database.