Based on a clean Ubuntu 16.04 LTS minimal install
- Add your user to
/etc/sudoers, this must be done so the script can sudo up and do it's job. We suggest passwordless sudo. Suggested line:<USER> ALL=(ALL) NOPASSWD:ALL. Our sample builds use:nodeproxy ALL=(ALL) NOPASSWD:ALL - Run the deploy script as a NON-ROOT USER. This is very important! This script will install the proxy to whatever user it's running under!
curl -L https://raw.githubusercontent.com/Snipa22/xmr-node-proxy/master/install.sh | bash- Once it's complete, copy
example_config.jsontoconfig.jsonand edit as desired. - Run: source ~/.bashrc This will activate NVM and get things working for the following pm2 steps.
- Once you're happy with the settings, go ahead and start all the proxy daemon, commands follow.
cd ~/xmr-node-proxy/
pm2 start proxy.js --name=proxy --log-date-format="YYYY-MM-DD HH:mm Z"
pm2 saveYou can check the status of your proxy by either issuing
pm2 logs proxy
or using the pm2 monitor
pm2 monit