Created
May 11, 2016 23:30
-
-
Save smaffulli/bcd5ec064130913b059dace71dce609d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install python packages in VPS without sudo | |
=========================================== | |
Login to the VPS | |
[ps536172]$ mkdir my_python | |
[ps536172]$ cd my_python/ | |
[ps536172]$ virtualenv venv | |
New python executable in venv/bin/python | |
Installing | |
distribute.............................................................................................................................................................................................done. | |
Installing pip...............done. | |
[ps536172]$- | |
[ps536172]$ source venv/ | |
bin/ include/ lib/ local/--- | |
[ps536172]$ source venv/bin/activate | |
(venv)[ps536172]$- | |
(venv)[ps536172]$- | |
[ps536172]$ source venv/bin/activate | |
(venv)[ps536172]$- | |
(venv)[ps536172]$- | |
(venv)[ps536172]$ pip install boto_rsync | |
Downloading/unpacking boto-rsync | |
Downloading boto_rsync-0.8.1.tar.gz | |
Running setup.py egg_info for package boto-rsync | |
---- | |
Downloading/unpacking boto>=2.2.1 (from boto-rsync) | |
Downloading boto-2.40.0.tar.gz (1.4Mb): 1.4Mb downloaded | |
Running setup.py egg_info for package boto | |
[... a bunch of output...] | |
Successfully installed boto-rsync boto | |
Cleaning up... | |
(venv)[ps536172]$ | |
(venv)[ps536172]$ boto-rsync -a $ACCESS_KEY -s $SECRET_KEY --endpoint objects-us-west-1.dream.io test s3://stefphone test | |
32.0b of 32.0b 100% 32.0b/s 0:00:00---- | |
(venv)[ps536172]$- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment