Skip to content

Running ZeroNet on VPS

tangdou1 edited this page Feb 25, 2019 · 14 revisions

Take the Debian for example.

  1. enter the vps as root user using putty
  2. Run apt-get update
  3. Run apt-get install tmux
  4. Run tmux new -s zeronet
  5. Run apt-get install msgpack-python python-gevent
  6. Run wget https://github.com/HelloZeroNet/ZeroNet/archive/master.tar.gz
  7. Run tar xvpfz master.tar.gz
  8. Run cd ZeroNet-master/plugins
  9. Run mv disabled-Bootstrapper Bootstrapper (optional)
  10. Run mv disabled-UiPassword UiPassword
  11. Run cd ..
  12. Run vi zeronet.conf
  13. write (press i key)
[global]
ui_ip = VPS's IP
ui_port = 8888
ui_password = password

(Change the value of ui_port and ui_password as you like)

  1. save zeronet.conf(press Esc key,input :wq then enter key)
  2. Run python2 zeronet.py
  3. open http://VPS's IP:8888 with the browser in your local PC or mobile ,input password
  4. close your putty

(If you want to make your zeronet as a proxy, you can enable the Multiuser plugin located in ZeroNet-master/plugins by running mv disabled-Multiuser Multiuser. If your zeronet enables that plugin, you lose the full control of your zeronet, which means you cannot make some critical changes in that zeronet through browser.)

Clone this wiki locally