Quest SSH

From MEG Client Production Guide
Jump to navigation Jump to search

SSH / FTP insurance.questdiagnostics.com (LIVE AND STAGING)[edit]

  1. Take note of all plugins that need updating and download them manually from WP
  2. Upload to server via FTP
    1. Login to FTP and create a folder with (yyyymmdd)
    2. Upload the uncompressed plugins to the folder
  3. Login via SSH to the server ( ssh username@ipaddress )
    1. go to the root directory ( cd / )
    2. start with staging var/www (you will see live and staging folders here)
    3. go to the specific plugin folder that needs updating and delete the content (sudo rm -rf *)
    4. copy the files from the uploaded folder to the current (sudo cp -r ~/yyyymmdd/plugin-name/* ./ )
    5. Check to make sure the plugin updated on the current site and repeat for next plugin