Changes between Version 6 and Version 7 of Drupal HowTo Copy site to test server
- Timestamp:
- 11/25/15 15:11:37 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Drupal HowTo Copy site to test server
v6 v7 11 11 1. Copy {{{filecontent.tar}}} into the web folder 12 12 1. Cd into the web folder and unpack the tar file `tar -xvf filecontent.tar` 13 1. 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. 13 16 1. Log into MySql 14 17 1. Create the database using {{{CREATE DATABASE {databasename} CHARACTER SET utf8 COLLATE utf8_general_ci;}}} 15 18 1. 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}';}}} 19 1. **This user should not be the admin user account** 16 20 1. Restore the contents to the database using {{{mysql -u {username} -p {database} < dbcontent.sql}}} 17 21 1. Make any necessary changes to the Apache config