Friday, September 17, 2010

I just discovered sshpt. And man does it rock.

Dont get me wrong there are a LOAD of cluster management tools, but this has support for sudo, which in my environment I need, as we disable root logins.

The following modules / packages need to be installed
python-pycryptopp
python-paramiko

Just a heads up. When I uploaded a file, it look likes you have to put the path as well as the exact file name. It appears you cant just use
--dest=/path/
Else you end up with a file named 'sshpt_temp2'
 
HTH
 
Brent 

Saturday, September 11, 2010

Hurry Curry with Wget and Curl

If you want to manually test that your webservers compression is working (i.e. gzip), I worked out that you can run the following.

wget --header 'Accept-Encoding: gzip,deflate' http://www.example.com

curl -H 'Accept-Encoding: gzip,deflate' http://www.example.com

You will end up with the a whole bunch of gobbly gue, but if you pipe it to gunzip you will see your data.

The real reason for my investigation into this, was that I was looking for a method to speed up my download process.

I think making use of 'Accept-Encoding: gzip,deflate', works and works very well.

HTH

Brent