-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Running ZeroNet on VPS
tangdou1 edited this page Feb 25, 2019
·
14 revisions
Take the Debian for example.
- enter the vps as root user using putty
- Run
apt-get update
- Run
apt-get install tmux
- Run
tmux new -s zeronet
- Run
apt-get install msgpack-python python-gevent
- Run
wget https://github.com/HelloZeroNet/ZeroNet/archive/master.tar.gz
- Run
tar xvpfz master.tar.gz
- Run
cd ZeroNet-master/plugins
- Run
mv disabled-Bootstrapper Bootstrapper
(optional) - Run
mv disabled-UiPassword UiPassword
- Run
cd ..
- Run
vi zeronet.conf
- 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)
- save zeronet.conf(press
Esc
key,input:wq
thenenter
key) - Run
python2 zeronet.py
- open http://
VPS's IP
:8888 with the browser in your local PC or mobile ,inputpassword
- 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.)