-
Notifications
You must be signed in to change notification settings - Fork 13
Cloud Server Setup
Tom Reece edited this page Dec 2, 2015
·
10 revisions
- I used Ubuntu 14.04 servers from RackSpace.
-
apt-get updateto fetch the most recent list of available packages -
apt-get install firefox xvfb tmux git python-pip htop ncdu emacsto install dependencies and useful server maintenance tools -
git clone https://github.com/tomreece/pucauto.gitto clone this repository cd pucautopip install -r requirements.txtcp config.example.json config.json-
emacs -nw config.jsonand enter credentials, min_value, hours_to_run, etc -
ctrl + x ctrl + sto save thenctrl + x ctrl + cto quit emacs -
Xvfb :99 -ac &to start Xvfb in the background -
tmuxto start a tmux session which will continue to run when you disconnect from the server - In the
tmuxsession, runexport DISPLAY=:99so Firefox knows which Xvfb display to use -
./startup.shto start Pucauto -
ctrl + b then press dto detach from the tmux session (it will continue to run) - You can now exit your ssh session to the server.
- When you reconnect to the server later,
tmux atto re-attach to the tmux session you started earlier and Pucauto will still be running.