Changes

From SME Server
Jump to navigationJump to search
211 bytes added ,  15:58, 7 March 2009
Line 7: Line 7:  
== Installation ==
 
== Installation ==
 
* Create an ibay named 'crm'
 
* Create an ibay named 'crm'
* Download and extract SugarCRM community edition using.  Check for the latest version at http://www.sugarcrm.com/crm/download/sugar-suite.html
+
 
 +
* Download and extract SugarCRM community edition.  Check for the latest version at http://www.sugarcrm.com/crm/download/sugar-suite.html.  For some reason, ''wget'' does not exit after the download completes until you press <Enter>.
 
  cd /home/e-smith/files/ibays/crm/files
 
  cd /home/e-smith/files/ibays/crm/files
 
  wget http://www.sugarforge.org/frs/download.php/5087/SugarCE-5.2.0a.zip&opt=full
 
  wget http://www.sugarforge.org/frs/download.php/5087/SugarCE-5.2.0a.zip&opt=full
 +
 +
* Unzip the downloaded file
 +
cd /home/e-smith/files/ibays/crm/files
 
  unzip SugarCE-5.2.0a.zip
 
  unzip SugarCE-5.2.0a.zip
 +
 +
* Make the files accessible to the web server
 
  chown -R www:www *
 
  chown -R www:www *
 +
 
* link to html
 
* link to html
 
  cd /home/e-smith/files/ibays/crm/html
 
  cd /home/e-smith/files/ibays/crm/html
 
  ln -s ../files/SugarCE-5.2.0a/* .
 
  ln -s ../files/SugarCE-5.2.0a/* .
 
  chown -R www:www *
 
  chown -R www:www *
 +
 
* customize ibay settings to enable ''FollowSymLinks'' and set the correct value for ''PHPBaseDir'':
 
* customize ibay settings to enable ''FollowSymLinks'' and set the correct value for ''PHPBaseDir'':
 
  db accounts setprop crm PHPBaseDir /home/e-smith/files/ibays/crm:/tmp
 
  db accounts setprop crm PHPBaseDir /home/e-smith/files/ibays/crm:/tmp
 
  db accounts setprop crm FollowSymLinks enabled
 
  db accounts setprop crm FollowSymLinks enabled
 
  signal-event ibay-modify
 
  signal-event ibay-modify
 +
 
* create sugarcrm mysql database and admin account.  '''IMPORTANT''': replace ''mydbpwd'' with a secure password in the commands below!
 
* create sugarcrm mysql database and admin account.  '''IMPORTANT''': replace ''mydbpwd'' with a secure password in the commands below!
 
  mysqladmin create 'sugarcrm'
 
  mysqladmin create 'sugarcrm'
Line 25: Line 34:  
  grant all on sugarcrm.* to 'sugaradmin'@'localhost' identified by 'mydbpwd' ;
 
  grant all on sugarcrm.* to 'sugaradmin'@'localhost' identified by 'mydbpwd' ;
 
  quit
 
  quit
 +
 
* Run the SugarCRM installer at http://your.smeserver.name.or.IP/crm/install.php
 
* Run the SugarCRM installer at http://your.smeserver.name.or.IP/crm/install.php
 
** Set the database name to match the database created above (''sugarcrm'')
 
** Set the database name to match the database created above (''sugarcrm'')

Navigation menu