sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y && sudo apt-get autoremove -y && sudo apt-get clean && sudo apt-get install build-essential haveged -y
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get install curl -y
sudo apt-get install shadowsocks-libev -y
sudo apt-get install cron -y
sudo apt-get install screen -y
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
# use polipo to connect to ss server locally, and support polipo listen under 8123. | |
git config --global http.proxy http://127.0.0.1:8123 | |
HTTP_PROXY=http://127.0.0.1:8123 go get X | |
git config --global --unset http.proxy | |
# Encap this to override the issue because fucking GFW block google sites... |