Posted By

beneberle on 06/18/11


Bash unix joomla

Versions (?)

Joomla! install/upgrade procedure over ssh

 / Published in: Bash

First, find the proper package from 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.

  1. // grab package straight from joomla and upload to server
  2. wget http://path/to/joomla/upgrade/or/install/package-file-name.bz2
  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 -
  9. //clean up by removing package after unpacking
  10. rm package-file-name.bz2

Report this snippet  

You need to login to post a comment.