Created
April 1, 2016 13:44
-
-
Save xsbr/d7fc2f8f4c32b8f6d6a264e8b277ac3e to your computer and use it in GitHub Desktop.
Upgrade Python to 2.7.x on Debian 6 Squeeze and Install letsencrypt
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
Hello, | |
This is a "copy/paste style" How To update Python and then install the LetsEncrypt Client on Debian 6 "Squeeze" | |
Install some dependencies: | |
apt-get install build-essential python-pip git libssl-dev libffi-dev python-dev | |
pip install pythonbrew | |
pythonbrew_install | |
source "$HOME/.pythonbrew/etc/bashrc" | |
Updating Python to version 2.7.10 : | |
pythonbrew install 2.7.10 | |
pythonbrew switch 2.7.10 | |
pythonbrew use 2.7.10 | |
Installing some Python dependencies: | |
pip install virtualenv | |
pip install pyopenssl ndg-httpsclient pyasn1 | |
pip install cryptography | |
Installing LetsEncrypt Client: | |
git clone https://github.com/letsencrypt/letsencrypt | |
cd letsencrypt | |
./letsencrypt-auto | |
source: https://community.letsencrypt.org/t/how-to-update-python-and-installing-lets-encrypt-client-on-debian-6-squeeze/7118 |
it works, thanx.
use debian archives if needed:
DEBIAN ARCHIVE
deb http://archive.debian.org/debian/ squeeze main non-free contrib
deb-src http://archive.debian.org/debian/ squeeze main non-free contrib
I had to do: pip install pythonbrew --index-url=https://pypi.python.org/simple/
How can it work if Debian 6 doesn't have TLS1.2. I get this error:
Downloading/unpacking pythonbrew
Getting page https://pypi.python.org/simple/pythonbrew
Could not fetch URL https://pypi.python.org/simple/pythonbrew: <urlopen error [Errno 1] _ssl.c:490: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That no longer works on Debian 6. Can not find python-dev, python-pip and libffi-dev.