-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Running ZeroNet on VPS
Take the Debian for example.
(0.7.x, python3)
-
enter the vps as root user using putty
-
Run:
apt-get update && apt-get install tmux && tmux new -s session1
-
Run:
wget https://github.com/HelloZeroNet/ZeroNet/archive/py3/ZeroNet-py3.tar.gz && tar xvpfz ZeroNet-py3.tar.gz && cd ZeroNet-py3 && apt-get install python3-pip && python3 -m pip install -r requirements.txt && echo -e "[global]\nui_ip = 0.0.0.0\nui_port = 89" > zeronet.conf && python3 zeronet.py
-
open http://
VPS's IP
:89 with the browser in your local PC or mobile
- 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 = 0.0.0.0
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. Also you should disable the UiPassword
plugin and delete the corresponding content ui_password = password
in zeronet.conf, if you want to your zeronet as a public proxy.)