InstallationSingle Server Deployment

Single Server Deployment

Install the Web Applications

  •  Locate the Sana Commerce release package and copy it to a temporary folder on the target web server;
  • Create a root folder for the SC solution in the file system on the production server. This can be done in any location, but it is preferred to keep the server consistent. So if other web solutions are also running on the production server in a certain 'root' folder (for example: 'c:\inetpub\wwwroot\'), install the SC solution also in it;
  • Copy folders 'Ready To Deploy\Frontend' and 'Ready To Deploy\Backoffice' from the release package into this root folder;
  • Give the SC_Webuser windows user 'Read & Execute' rights to the frontend folder;
  • Give the SC_Webuser  windows user 'Read & Execute' rights to the backoffice folder;
  • Give the windows user SC_Webuser 'Modify' rights to the 'images' folder ('Frontend/content/'). This is necessary to be able to upload images to the server with a FTP account and through the backoffice (described later);
  • Give the windows user SC_Webuser 'Modify' rights to the 'C:\WINDOWS\Temp' folder;
  • Make the windows user SC_Webuser the member of the 'IIS_WPG' group;


    Making the SC_Webuser the Member of the 'IIS_WPG' Group

    If you use IIS 7, make the windows user SC_Webuser the member of the 'IIS_IUSRS' group. 
    In order to do this go to 'Administrative Tools->Computer Management->System Tools->Local Users and Groups->Users'. 
    Open the 'SC_WebUser Properties' window and go to the tab 'Member Of'.  Add the IIS_IUSRS group to the list.
    Click 'OK' or 'Apply' to apply the changes.
     
    Making the SC_Webuser the Member of the 'IIS_IUSRS' Group
  • Add the windows user SC_Webuser to the 'Log on as a service' policy (go to 'Computer Configuration - Windows Settings - Security Settings - Local Policies - User Rights Assignment', select 'Log on as a service' and add SC_Webuser to the list);


    Adding SC_Webuser to the 'Log on as a Service' Policy
  • Give the windows user SC_Webuser 'Write' rights to the root folder of the SC solution on the production server. This is necessary, because the process runner will create log files dynamically in this folder. 
If you use Windows Server 2008 'Log on as a batch job', rights should be given to the 'SC_Webuser'. In order to do this:
  • Open the 'Microsoft Management Console' (Click 'Start > Run' and run 'gpedit.msc');
  • Go to 'Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment';
  • Select 'Log on as a batch job' policy;
  • Add the 'SC_Webuser' to the list by clicking the 'Add User or Group' button and selecting this user (you can use the 'Check names' option for quick search for the correct user);
  • Click 'OK' to save the changes. More information about the 'Log on as a batch job' can be found here.
InstallationSingle Server Deployment