Joomla! install/upgrade procedure over ssh


/ Published in: Bash
Save to your folder(s)

First, find the proper package from http://www.joomla.org/download/ and copy its path. Then, over ssh, navigate to the root of the joomla install and perform these commands. In the case of an upgrade, this will overwrite in place the needed files, and in the case of an install, will unpack the package directly in the folder it was uploaded to. Much faster than unzipping locally and ftping.


Copy this code and paste it in your HTML
  1. // grab package straight from joomla and upload to server
  2. wget http://path/to/joomla/upgrade/or/install/package-file-name.bz2
  3.  
  4. //unpack in place
  5. tar xjvf package-file-name.bz2
  6. // alternate command for non-gnutar (not-linux) systems and gz files
  7. // gunzip < package-file-name.gz | tar xvf -
  8.  
  9. //clean up by removing package after unpacking
  10. rm package-file-name.bz2

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.