Emerge emacs live on linode and browse web privately
Install screen
Gnu screen is little and lets us run shell commands headlessly
ssh root@XXX.XXX.XX.XXX <<EOF emerge app-misc/screen EOF
Install emacs
You should also use emacs
ssh root@XXX.XXX.XX.XXX <<EOF screen -S portage -d -m bash -c "emerge app-editors/emacs-vcs --autounmask-write; echo '-5' | etc-update; USE="libxml2" emerge app-editors/emacs-vcs;" EOF
Set up emacs init.el
Community packages (marmalade) and productivity with literate programming (org)
ssh root@XXX.XXX.XX.XXX <<EOF echo "(require 'package)" > ~/.emacs.d/init.el echo "(add-to-list 'package-archives '(\"melpa\" . \"https://melpa.milkbox.net/packages/\") t)" >> ~/.emacs.d/init.el echo "(add-to-list 'package-archives '(\"org\" . \"https://orgmode.org/elpa/\") t)" >> ~/.emacs.d/init.el EOF
Install tor
ssh root@XXX.XXX.XX.XXX <<EOF screen -S portage -d -m bash -c "emerge net-vpn/tor --autounmask-write; echo '-5' | etc-update; emerge net-vpn/tor; rc-service tor start; rc-update add tor default; emerge net-proxy/torsocks;" EOF
Web browsing
torify emacs --daemon emacsclient -c
followed by
M-x eww am I using tor <RET>