@@ -37,9 +37,9 @@ sudo -E bash install.sh
3737
3838脚本会提示输入:
3939
40- 1 . 安装路径(默认 ` /iom ` ):
40+ 1 . 安装路径(默认 ` /opt/ iom ` ):
4141 ```
42- Please input the base directory for the installation [default: /iom]:
42+ Please input the base directory for the installation [default: /opt/ iom]:
4343 ```
4444
45452 . IP 地址(自动检测):
@@ -48,11 +48,22 @@ sudo -E bash install.sh
4848 ```
4949
5050** 安装脚本自动完成:**
51- 1 . 检查并安装 Docker
52- 2 . 下载并安装 Malice-Network 服务端及客户端
53- 3 . 下载并安装 Malefic 源码及工具
54- 4 . 拉取 Docker 镜像(约 8.21GB):` ghcr.io/chainreactors/malefic-builder:latest `
55- 5 . 配置并启动服务(基于 systemd)
51+ 1 . 检查基础依赖(` curl ` 、` unzip ` )
52+ 2 . 下载并安装 Malice Network 服务端及客户端
53+ 3 . 下载 ` malefic.zip ` ,并解压到 ` ./malefic/source_code `
54+ 4 . 拉取 Docker 镜像:` ghcr.io/chainreactors/malefic-builder:latest `
55+ 5 . 可选配置并启动 systemd 服务;如跳过,则输出手动启动命令
56+
57+ ** 安装完成后的工作目录结构:**
58+
59+ ``` text
60+ <base-dir>/malice-network/
61+ ├── malice-network_linux_amd64
62+ ├── malice_network_linux_amd64 -> malice-network_linux_amd64
63+ ├── iom_linux_amd64
64+ └── malefic/
65+ └── source_code/
66+ ```
5667
5768### 下载 Release 部署
5869
@@ -61,16 +72,18 @@ Windows 或 macOS 系统部署 Server,从 [Releases](https://github.com/chainr
6172- ` iom_* ` - Client 端
6273- ` malice_network_* ` - Server 端
6374
75+ 如果你使用安装脚本,脚本会把 Linux 服务端二进制归一命名为 ` malice-network_linux_amd64 ` ;如果你是手动下载 release,请按实际文件名执行。
76+
6477启动 Server:
6578
6679``` bash
67- ./malice_network_linux_amd64
80+ ./malice-network_linux_amd64
6881```
6982
7083指定 IP 启动(Client 可访问的 IP,如公网 IP):
7184
7285``` bash
73- ./malice_network_linux_amd64 -i 123.123.123.123
86+ ./malice-network_linux_amd64 -i 123.123.123.123
7487```
7588
7689### Server 启动参数
@@ -136,6 +149,13 @@ Listener 和编译配置详见 [listeners.md](server/listeners.md) 和 [build.md
136149
137150## 启动 Client
138151
152+ 如果安装时跳过了 systemd,可手动启动:
153+
154+ ` ` ` bash
155+ cd /opt/iom/malice-network
156+ ./malice-network_linux_amd64 -i <server-ip>
157+ ```
158+
139159Server 启动后生成两个配置文件:
140160- ` listener.auth ` - Listener 凭证
141161- ` admin_[server_ip].auth ` - Client 登录凭证
0 commit comments