Changes between Version 6 and Version 7 of Drupal HowTo Copy site to test server


Ignore:
Timestamp:
11/25/15 15:11:37 (8 years ago)
Author:
Richard Bramley
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Drupal HowTo Copy site to test server

    v6 v7  
    11111. Copy {{{filecontent.tar}}} into the web folder
    12121. Cd into the web folder and unpack the tar file `tar -xvf filecontent.tar`
     131. Amend the settings file in `{web folder}/sites/default/settings.php`
     14 1. Change `$base_url` to the appropriate address
     15 1. Change the database, username and password settings to appropriate values.
    13161. Log into MySql
    14171. Create the database using {{{CREATE DATABASE {databasename} CHARACTER SET utf8 COLLATE utf8_general_ci;}}}
    15181. Grant the user permissions to the database using {{{GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES ON {databasename}.* TO '{username}'@'localhost' IDENTIFIED BY '{password}';}}}
     191. **This user should not be the admin user account**
    16201. Restore the contents to the database using {{{mysql -u {username} -p {database} < dbcontent.sql}}}
    17211. Make any necessary changes to the Apache config