1.2.2 Copy Sugar Files to Web Server

Unzip the Sugar files and set permissions.

1. Locate your webroot directory on your web server. This is the directory on your web server where publicly accessible files are made available by your web server. The most common locations for webroot include:

/var/www/html/ (Linux/Apache)

C:\Inetpub\wwwroot\ (Windows/IIS)

C:\Program Files\Apache Group\Apache\htdocs\ (Windows/Apache)

/Library/Web server/Documents/ (MacOS X/Apache)

2. Unzip the Sugar Suite zip file into your webroot. A directory is automatically created within webroot.

3. Renaming this directory is optional.

4. Set permissions on your Sugar files. The following directories, all sub-directories, and files must be made writable by your web server user:

cache

custom

data

modules

config.php

The system user that your web server uses to access files in your webroot varies, depending on your operating system’s configuration. Common web server users include:

  • Apache (Linux/Apache)
  • Nobody (Linux/Apache)
  • IUSR_computerName (Windows/IIS)

If you are unsure about your web server user, consult with your system administrator.