Installing SugarCRM: Difference between revisions
No edit summary |
updated instructions |
||
| Line 9: | Line 9: | ||
# Download SugarCE-5.0.0e.zip (production release) or the later available production release (getting only the application). | # Download SugarCE-5.0.0e.zip (production release) or the later available production release (getting only the application). | ||
# Visit the recommended "Installation" instructions page at http://www.sugarforge.org/content/installation/ | # Visit the recommended "Installation" instructions page at http://www.sugarforge.org/content/installation/ | ||
# Install SugarCRM according to the instructions. | # Install SugarCRM according to the instructions. | ||
## The short version is to extract the zip to a place in your webroot <source lang="bash">unzip -d /var/www/ SugarCE-5.1.0a.zip</source> | |||
## I typically use a symbolic link to make the application home at a friendly URL and easier to manage <source lang="bash">ln -s SugarCE-5.1.0a crm</source> | |||
# There are a number of directories that Sugar expects to have write access to, but they won't be from the unzip. There are also a couple of configuration files that the installer needs to be able to write to; namely config.php and .htaccess | |||
# Execute this simple command to prepare your web directory | |||
<source lang="bash"> | <source lang="bash"> | ||
# | # recursively change ownership on the directories and set the sticky bit | ||
for x in cache custom data modules; do sudo chown -R www-data:www-data $x; sudo chmod -R +t $x; done | |||
</source> | # change ownership of the configuration files | ||
for x in config.php .htaccess; do sudo chown www-data:www-data $x; done | |||
</source> | |||
After the install, secure your configuration files with <source lang="bash"> | |||
chmod go -rwx config.php .htaccess | |||
</source> | |||