This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorials:server:migration:ssh_method [2012/10/13 00:01] jonyo |
tutorials:server:migration:ssh_method [2014/09/25 16:55] (current) |
||
---|---|---|---|
Line 25: | Line 25: | ||
- Delete the contents of templates_c folder, using <code bash>rm -Rf templates_c/ | - Delete the contents of templates_c folder, using <code bash>rm -Rf templates_c/ | ||
- Make sure the folders and contents are writable, by chmod 777 on new location <code bash> | - Make sure the folders and contents are writable, by chmod 777 on new location <code bash> | ||
- | - You may wish to use FTP to download a copy of the **geodesic_files.tar.gz** file for backup purposes. | + | - You may wish to use FTP to download a copy of the **geodesic_files.tar.gz** file onto your location computer |
- That's it! Continue on to the next step [[tutorials: | - That's it! Continue on to the next step [[tutorials: | ||
+ | |||
+ | ===== All SSH commands ===== | ||
+ | |||
+ | Below are all of the SSH commands to run, these are extracted from the steps above and combined for your easy reference and removal of the explanations. | ||
+ | |||
+ | <code bash>cd public_html/ | ||
+ | tar -zcvf geodesic_files.tar.gz . | ||
+ | scp geodesic_files.tar.gz [email protected]:/ | ||
+ | # Enter password when prompted | ||
+ | ssh [email protected] | ||
+ | # Enter password when prompted | ||
+ | cd / | ||
+ | tar -zxvf geodesic_files.tar.gz | ||
+ | rm -Rf templates_c/ | ||
+ | chmod 0777 geo_templates/ |