My procedure for installing WAMP (Windows) and Drupal

Discussion in 'Drupal' started by jscheef, Mar 11, 2010.

  1. jscheef

    jscheef Administrator
    Staff Member

    Joined:
    Dec 4, 2008
    Messages:
    69
    Likes Received:
    0
    Create three local groups: AlmostUsers, SQLRunners and WebRunners

    Create UserA (Apache Dude); add to groups AlmostUsers and WebRunners; remove from Users
    Create UserB (MySQL Dude); add to groups AlmostUsers and SQLRunners; remove from Users

    Open Local Security Policy
    Drill into Local Policies|User Rights Assignment
    Add AlmostUsers to following "rights": Access this computer from the network, Bypass traverse checking
    Add SQLRunners and WebRunners to: Act as part of the operating system, Log on as a service, Deny log on locally

    Install WampServer2.0i.exe to c:\program files\wamp

    Create directories:
    C:\Data\WebData give WebRunners write access (all except complete control)
    C:\Data\SQLData (to be used later)

    Permissions:
    Grant SQLRunners and WebRunners read/execute/list access to c:\program files\wamp and all files and subfolders (inherited)
    Grant WebRunners read/execute/list access to C:\Data\WebData
    Grant SQLRunners and WebRunners write access to C:\Data\WebData\<drupal folder>\sites\default (this allows the install script to create the 'files' directory)
    Grant WebRunners write access to C:\Program Files\wamp\bin\apache\Apache2.2.11\logs
    Grant SQLRunners and WebRunners write access to C:\Program Files\wamp\logs
    Grant SQLRunners write access to C:\Program Files\wamp\bin\mysql\mysql5.1.36\data

    After install is complete:
    Remove SQLRunners and WebRunners write access to C:\Data\WebData\<drupal folder>\sites\default (leave read/execute/list)
    The install script is supposed to set the permissions on the config file to RO (docs seem conflicting on this)

    Apache config file changes:
    Set root directory to C:\Data\WebData\www
    Enable modules
    Enable config files

    Set up Apache Server Side Includes <!-- m --><a class="postlink" href="http://httpd.apache.org/docs/2.0/howto/ssi.html">http://httpd.apache.org/docs/2.0/howto/ssi.html</a><!-- m -->

    set password for root: snow7shoe (both localhost and 127.0.0.1)
    edit config.inc.php in phpMyAdmin to include the password


    Create mySQL accounts:
    Drupal Admin pw: xxxxxxxxxxx (used in initial Drupal site configuration)
     

Share This Page