2
0
mirror of https://github.com/acepanel/acepanel.github.io.git synced 2026-02-04 14:07:16 +08:00
Files
acepanel.github.io/en/quickstart/cli.md
2026-01-26 23:59:09 +08:00

1.6 KiB

Command Line Tool

AcePanel provides the command line tool acepanel for panel management when the Web interface is inaccessible.

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. :::

acepanel start    # Start
acepanel stop     # Stop
acepanel restart  # Restart
acepanel status   # View status

User Management

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

Security Settings

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

Maintenance Commands

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

Example

Change the password of user admin to newpassword:

acepanel user password admin newpassword