Skip to content

Instantly share code, notes, and snippets.

@taka-wang
Last active August 29, 2015 14:00
Show Gist options
  • Save taka-wang/65edec647dce3cbcbc33 to your computer and use it in GitHub Desktop.
Save taka-wang/65edec647dce3cbcbc33 to your computer and use it in GitHub Desktop.
Install HA+SSL+Node.js
#install node.js
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install python-software-properties python g++ make nodejs
#install haproxy
sudo apt-get install haproxy
#install stunnel
sudo apt-get install libssl-dev
wget https://www.stunnel.org/downloads/beta/stunnel-5.02b2.tar.gz
tar -zxvf stunnel-5.02b2.tar.gz
cd stunnel
./configure
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment