2
0
mirror of https://github.com/acepanel/acepanel.github.io.git synced 2026-02-04 14:03:01 +08:00

New Crowdin translations by GitHub Action (#76)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
This commit is contained in:
github-actions[bot]
2026-01-27 05:28:16 +08:00
committed by GitHub
parent 526cd8363b
commit 5b9a08c9a1
68 changed files with 3173 additions and 3176 deletions

View File

@@ -1,56 +1,56 @@
# Command Line Tool
# 命令列工具
AcePanel provides the command line tool `acepanel` for panel management when the Web interface is inaccessible.
AcePanel 提供命令列工具 `acepanel`,用於在無法存取 Web 介面時進行面板管理。
## Service Management
## 服務管理
:::warning Note
Do not stop or restart the panel while background tasks are running, as this may cause task interruption or data loss.
:::warning 注意
後台任務運行時請勿停止或重啟面板,可能導致任務中斷或資料遺失。
:::
```shell
acepanel start # Start
acepanel stop # Stop
acepanel restart # Restart
acepanel status # View status
acepanel start # 啟動
acepanel stop # 停止
acepanel restart # 重啟
acepanel status # 查看狀態
```
## User Management
## 用戶管理
```shell
acepanel user list # List all users
acepanel user username <old_username> <new_username> # Change username
acepanel user password <username> <new_password> # Change password
acepanel user 2fa <username> # Toggle two-factor authentication
acepanel user list # 列出所有用戶
acepanel user username <舊用戶名> <新用戶名> # 修改用戶名
acepanel user password <用戶名> <新密碼> # 修改密碼
acepanel user 2fa <用戶名> # 開關兩步驗證
```
## Security Settings
## 安全設置
```shell
acepanel https on|off # Toggle HTTPS
acepanel https generate # Generate certificate (self-signed or Let's Encrypt)
acepanel entrance on|off # Toggle security entrance
acepanel port <port_number> # Change listening port
acepanel bind-domain off # Unbind domain
acepanel bind-ip off # Unbind IP
acepanel bind-ua off # Unbind UA
acepanel https on|off # 開關 HTTPS
acepanel https generate # 生成憑證(自簽名或 Let's Encrypt
acepanel entrance on|off # 開關安全入口
acepanel port <連接埠號> # 修改監聽連接埠
acepanel bind-domain off # 解除網域綁定
acepanel bind-ip off # 解除 IP 綁定
acepanel bind-ua off # 解除 UA 綁定
```
## Maintenance Commands
## 維護命令
```shell
acepanel update # Update panel
acepanel fix # Fix update issues
acepanel sync # Sync cache data
acepanel sync-time # Sync server time
acepanel clear-task # Clear task queue
acepanel info # View panel info and reset password
acepanel help # Help
acepanel update # 更新面板
acepanel fix # 修復更新問題
acepanel sync # 同步快取資料
acepanel sync-time # 同步伺服器時間
acepanel clear-task # 清空任務佇列
acepanel info # 查看面板資訊並重置密碼
acepanel help # 幫助
```
## Example
## 範例
Change the password of user `admin` to `newpassword`:
修改用戶 `admin` 的密碼為 `newpassword`
```shell
acepanel user password admin newpassword