Skip to content

Commit aaabcb6

Browse files
committed
Update "How to join" section of README-zh-cn.md
1 parent 7bf7900 commit aaabcb6

1 file changed

Lines changed: 34 additions & 59 deletions

File tree

README-zh-cn.md

Lines changed: 34 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -56,65 +56,40 @@
5656
#### [在 ZeroNet 文档里查看更多的屏幕截图 »](https://zeronet.io/docs/using_zeronet/sample_sites/)
5757

5858

59-
## 如何加入 ?
60-
61-
* 下载 ZeroBundle 文件包:
62-
* [Microsoft Windows](https://github.com/HelloZeroNet/ZeroNet-win/archive/dist/ZeroNet-win.zip)
63-
* [Apple macOS](https://github.com/HelloZeroNet/ZeroNet-mac/archive/dist/ZeroNet-mac.zip)
64-
* [Linux 64bit](https://github.com/HelloZeroNet/ZeroBundle/raw/master/dist/ZeroBundle-linux64.tar.gz)
65-
* [Linux 32bit](https://github.com/HelloZeroNet/ZeroBundle/raw/master/dist/ZeroBundle-linux32.tar.gz)
66-
* 解压缩
67-
* 运行 `ZeroNet.exe` (win), `ZeroNet(.app)` (osx), `ZeroNet.sh` (linux)
68-
69-
### Linux 命令行
70-
71-
* `wget https://github.com/HelloZeroNet/ZeroBundle/raw/master/dist/ZeroBundle-linux64.tar.gz`
72-
* `tar xvpfz ZeroBundle-linux64.tar.gz`
73-
* `cd ZeroBundle`
74-
* 执行 `./ZeroNet.sh` 来启动
75-
76-
在你打开时他将会自动下载最新版本的 ZeroNet 。
77-
78-
#### 在 Debian Linux 中手动安装
79-
80-
* `sudo apt-get update`
81-
* `sudo apt-get install msgpack-python python-gevent`
82-
* `wget https://github.com/HelloZeroNet/ZeroNet/archive/master.tar.gz`
83-
* `tar xvpfz master.tar.gz`
84-
* `cd ZeroNet-master`
85-
* 执行 `python2 zeronet.py` 来启动
86-
* 在你的浏览器中打开 http://127.0.0.1:43110/
87-
88-
### [FreeBSD](https://www.freebsd.org/)
89-
90-
* `pkg install zeronet` 或者 `cd /usr/ports/security/zeronet/ && make install clean`
91-
* `sysrc zeronet_enable="YES"`
92-
* `service zeronet start`
93-
* 在你的浏览器中打开 http://127.0.0.1:43110/
94-
95-
### [Vagrant](https://www.vagrantup.com/)
96-
97-
* `vagrant up`
98-
* 通过 `vagrant ssh` 连接到 VM
99-
* `cd /vagrant`
100-
* 运行 `python2 zeronet.py --ui_ip 0.0.0.0`
101-
* 在你的浏览器中打开 http://127.0.0.1:43110/
102-
103-
### [Docker](https://www.docker.com/)
104-
* `docker run -d -v <local_data_folder>:/root/data -p 26552:26552 -p 43110:43110 nofish/zeronet`
105-
* 这个 Docker 镜像包含了 Tor ,但默认是禁用的,因为一些托管商不允许你在他们的服务器上运行 Tor。如果你希望启用它,
106-
设置 `ENABLE_TOR` 环境变量为 `true` (默认: `false`). E.g.:
107-
108-
`docker run -d -e "ENABLE_TOR=true" -v <local_data_folder>:/root/data -p 26552:26552 -p 43110:43110 nofish/zeronet`
109-
* 在你的浏览器中打开 http://127.0.0.1:43110/
110-
111-
### [Virtualenv](https://virtualenv.readthedocs.org/en/latest/)
112-
113-
* `virtualenv env`
114-
* `source env/bin/activate`
115-
* `pip install msgpack gevent`
116-
* `python2 zeronet.py`
117-
* 在你的浏览器中打开 http://127.0.0.1:43110/
59+
## 如何加入
60+
61+
### Windows
62+
63+
- 下载 [ZeroNet-py3-win64.zip](https://github.com/HelloZeroNet/ZeroNet-win/archive/dist-win64/ZeroNet-py3-win64.zip) (18MB)
64+
- 在任意位置解压缩
65+
- 运行 `ZeroNet.exe`
66+
67+
### macOS
68+
69+
- 下载 [ZeroNet-dist-mac.zip](https://github.com/HelloZeroNet/ZeroNet-dist/archive/mac/ZeroNet-dist-mac.zip) (13.2MB)
70+
- 在任意位置解压缩
71+
- 运行 `ZeroNet.app`
72+
73+
### Linux (x86-64bit)
74+
75+
- `wget https://github.com/HelloZeroNet/ZeroNet-linux/archive/dist-linux64/ZeroNet-py3-linux64.tar.gz`
76+
- `tar xvpfz ZeroNet-py3-linux64.tar.gz`
77+
- `cd ZeroNet-linux-dist-linux64/`
78+
- 使用以下命令启动 `./ZeroNet.sh`
79+
- 在浏览器打开 http://127.0.0.1:43110/ 即可访问 ZeroHello 页面
80+
81+
__提示:__ 若要允许在 Web 界面上的远程连接,使用以下命令启动 `./ZeroNet.sh --ui_ip '*' --ui_restrict your.ip.address`
82+
83+
### 从源代码安装
84+
85+
- `wget https://github.com/HelloZeroNet/ZeroNet/archive/py3/ZeroNet-py3.tar.gz`
86+
- `tar xvpfz ZeroNet-py3.tar.gz`
87+
- `cd ZeroNet-py3`
88+
- `sudo apt-get update`
89+
- `sudo apt-get install python3-pip`
90+
- `sudo python3 -m pip install -r requirements.txt`
91+
- 使用以下命令启动 `python3 zeronet.py`
92+
- 在浏览器打开 http://127.0.0.1:43110/ 即可访问 ZeroHello 页面
11893

11994
## 现有限制
12095

0 commit comments

Comments
 (0)