Download using SSH

Log into your Gandi handle that owns the Simple Hosting instance.

Activate and access your Simple Hosting instance's SSH console.

Navigate to the vhost:

$ cd web/vhosts/www.example.com/

Go to the downloads page on Drupal's website and copy the location of the archive. (For 7.37, this is http://ftp.drupal.org/files/projects/drupal-7.37.zip )

Download the archive: $ wget http://ftp.drupal.org/files/projects/drupal-X.X.zip

Uncompress the archive: $ unzip drupal-X.X.zip

Rename the folder that was created from this decompression: $ mv drupal-X.X drupal

最后更改: 2016/06/08 08:47 (外部编辑)