tutorials:server:migration:ssh_method

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:server:migration:ssh_method [2012/10/13 00:02]
jonyo
tutorials:server:migration:ssh_method [2014/09/25 16:55] (current)
Line 28: Line 28:
   - That's it!  Continue on to the next step [[tutorials:server:migration:start#Step 2 - Create Database]]  <   - That's it!  Continue on to the next step [[tutorials:server:migration:start#Step 2 - Create Database]]  <
  
 +
 +===== 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.  Note that you will need to make adjustments in some cases such as to folder or domains used.  If you aren't sure what needs to be changed, stick to following it step by step in the instructions above.
 +
 +<code bash>cd public_html/classifieds/
 +tar -zcvf geodesic_files.tar.gz .
 +scp geodesic_files.tar.gz [email protected]:/home/username/public_html/
 +# Enter password when prompted
 +ssh [email protected]
 +# Enter password when prompted
 +cd /home/username/public_html/
 +tar -zxvf geodesic_files.tar.gz
 +rm -Rf templates_c/*
 +chmod 0777 geo_templates/ user_images/ _geocache/ templates_c/ -R</code>
tutorials/server/migration/ssh_method.1350086576.txt.gz · Last modified: 2014/09/25 16:55 (external edit)