This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
tutorials:server:migration:start [2012/10/12 23:34] jonyo tutorials:server:moving_directories renamed to tutorials:server:migration:start |
tutorials:server:migration:start [2014/09/25 16:55] (current) |
||
|---|---|---|---|
| Line 7: | Line 7: | ||
| * Server Migration (meaning copying from one server to another) : Follow **all steps** < | * Server Migration (meaning copying from one server to another) : Follow **all steps** < | ||
| * Move installation to a different folder on the same server : **Skip step 2** < | * Move installation to a different folder on the same server : **Skip step 2** < | ||
| - | * Create test installation : skip part of final step((Do NOT delete the old installation, since that is your live installation!)). < | + | * Create test installation : Follow **all steps**, see note below. < |
| * Domain change only((Files do not move to a new location, and database is not moving.)) : Use the reduced steps in the tutorial for [[tutorials: | * Domain change only((Files do not move to a new location, and database is not moving.)) : Use the reduced steps in the tutorial for [[tutorials: | ||
| If you aren't sure which instructions to follow for your situation, when in doubt ask support! | If you aren't sure which instructions to follow for your situation, when in doubt ask support! | ||
| - | <tip c n>**Note for Test Installations: | + | **NOTE: |
| - | If you choose | + | <tip c n>**Note for Test Installations: |
| - | + | ||
| - | EMAIL SETUP > NOTIFICATION EMAIL SETTINGS</ | + | |
| ===== Step 0 - Preparation ===== | ===== Step 0 - Preparation ===== | ||
| Line 29: | Line 27: | ||
| <tip c n> | <tip c n> | ||
| - | This is the main step, moving the files from one directory to another. | + | This is the main step, moving the files from one directory to another. |
| + | |||
| + | Option 1 is only if the folder is simply being re-named. | ||
| + | |||
| + | Option 2 is standard option for moving files from one place to another, using FTP. | ||
| + | |||
| + | Option 3 (located on it's own page) uses SSH to zip then SCP the files from one server to the other. | ||
| ==== Option 1: Folder Rename, on Same Server ==== | ==== Option 1: Folder Rename, on Same Server ==== | ||
| Line 48: | Line 52: | ||
| And finally, you will need to delete all the files in the **templates_c/ | And finally, you will need to delete all the files in the **templates_c/ | ||
| + | |||
| + | <tip c n> | ||
| Once that is complete, continue to the next step [[#Step 2 - Create Database]] | Once that is complete, continue to the next step [[#Step 2 - Create Database]] | ||
| - | ==== Advance Option: Use SSH / SCP / ZIP to Transfer Files ==== | ||
| - | |||
| - | <tip c w> | ||
| - | |||
| - | Only use this method if you are **comfortable with using SSH and the command line**, and you have SSH access for both the " | ||
| - | |||
| - | This is accomplishing the same "end result" | ||
| - | |||
| - | This is the overall steps you will be following: First, SSH into the " | ||
| - | |||
| - | Here are the **individual steps:** | ||
| - | |||
| - | - SSH to the " | ||
| - | <code bash>cd public_html/ | ||
| - | - Zip up entire contents and all sub-folders recursively, | ||
| - | - Transfer the new geodesic_files.tar.gz file to the new location using SCP: <code bash>scp geodesic_files.tar.gz [email protected]:/ | ||
| - | Change **username** to the SSH username for the " | ||
| - | - SSH to the " | ||
| - | - Use **cd** to change to the directory that you will be putting the software in, this should be the same folder as you used 2 steps up when you SCP the zip file over. For example if you are placing it in **/ | ||
| - | - Make sure the **geodesic_files.tar.gz** file exists in the folder. | ||
| - | - Delete the contents of templates_c folder, using <code bash>rm -Rf templates_c/ | ||
| - | - You may wish to use FTP to download a copy of the **geodesic_files.tar.gz** file for backup purposes. | ||
| - | - That's it! Continue on to the next step [[#Step 2 - Create Database]] | ||
| ===== Step 2 - Create Database ===== | ===== Step 2 - Create Database ===== | ||
| Line 112: | Line 95: | ||
| Then in [[admin_menu: | Then in [[admin_menu: | ||
| - | **Test installations Only: | + | **Test installations Only: |
| ===== Step 5 - Update Links in Templates & Text ===== | ===== Step 5 - Update Links in Templates & Text ===== | ||
| Line 142: | Line 125: | ||
| If it says 0 rows affected, check to make sure you have set both values correctly. | If it says 0 rows affected, check to make sure you have set both values correctly. | ||
| + | |||
| + | <tip c n>**Test Installation Tip: | ||
| + | |||
| + | If this happened for your site: First, follow this step for your test installation to keep it from happening in the future. | ||
| ===== Step 7 - SEO Addon ===== | ===== Step 7 - SEO Addon ===== | ||
| Line 155: | Line 142: | ||
| If you elected to turn your site off during the move, don't forget to **turn your site back " | If you elected to turn your site off during the move, don't forget to **turn your site back " | ||
| + | |||
| + | **Test Installations: | ||