2
0
Files
build.wfc/README.md
2024-12-12 18:10:43 +08:00

53 lines
767 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# WANFi Controller & Billing System
## 准备工作
```text
Linux >= Ubuntu 22.04
JDK >= 1.8 (Recommended version 1.8)
Docker >= 24.0.7, build 24.0.7-0ubuntu2~22.04.1
Docker-compose >= 1.29.2
```
## 获取安装包
安装包名: wfc-1.0.2-20241212.tar.gz
说明:
* 版本号: 1.0.2
* 构建日期20241212
## 安装软件
### 创建安装目录
```sh
sudo mkdir /opt/wfc
```
### 解压软件包至安装目录
```sh
sudo tar xvfz wfc-1.0.2-20241212.tar.gz -C /opt/wfc
```
### 配置软件
```sh
cd /opt/wfc/bin
sudo ./wfcsetup.sh
```
### 启动/查看/停止/版本软件
```sh
cd /opt/wfc/bin
sudo ./wfccontrol.sh start/status/stop/version
```
or
```sh
sudo systemctl start/status/stop wfccontrol.service
```