Last update at :2024-04-08,Edit by888u
Aurora Panel is a multi-server port rental management panel. You can add multiple servers and ports and assign them to any registered user. Tenants can easily use the assigned ports to complete various operations. Currently Supported port functions: iptables, socat, gost, ehco, v2ray, brook, iperf, wstunnel, shadowsocks, tinyPortMapper, Prometheus Node Exporter, etc.
This panel does not need to be controlled. You only need to the server where the panel is installed can connect to the controlled machine through ssh. However, the controlled machine needs to use systemd, and the iptables function only supports servers with iptables installed. , gost only supports linux x86 systems. Currently, it is only tested on CentOS 7+, Debian 9+, and Ubuntu 18+. (The blogger successfully installed it on debina9)
Install docker
curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh # Start and set up docker to start automatically at boot systemctl enable --now docker
Non-root users
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
Install docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr /local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose # If /usr/local/bin is not in PATH sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
Generate SSH keys
If there is no ssh key on the panel machine
ssh-keygen -t rsa -b 4096 -C "your_email@example.com" # Just skip setting passphase
Then you also need to copy the contents of ~/.ssh/id_rsa.pub
to the controlled machine's ~/.ssh/authorized_keys
Installation/Launch Panel
mkdir -p aurora cd aurora # If it is a beta version # wget https://raw.githubusercontent.com/Aurora-Admin-Panel/deploy/main/docker-compose-dev.yml -O docker-compose.yml wget https://raw.githubusercontent.com/Aurora-Admin-Panel/deploy/main/docker-compose.yml -O docker-compose.yml docker-compose up -d #Create admin user docker-compose exec backend python app/initial_data.py
You can then visit http://yourIP:8000
to enter the panel
Set the machine to automatically restart the panel
sudo systemctl enable docker
Configuration
- Modify all
POSTGRES_USER
andPOSTGRES_PASSWORD
, as well as the correspondingDATABASE_URL
. Although the database is not public, use the default database user and password and Not safe! - The backend will send error information to Sentry by default, which may cause information leakage. Just remove
ENABLE_SENTRY: 'yes'
- Mount
~/.ssh/id_rsa
by default as the key to connect to the server. If you use other keys or do not use the key, you can delete- $HOME/.ssh/id_rsa: /app/ansible/env/ssh_key
Update
Official version
cd aurora wget https://raw.githubusercontent.com/Aurora-Admin-Panel/deploy/main/docker-compose.yml -O docker-compose.yml docker-compose pull && docker-compose down --remove-orphans && docker-compose up -d
Beta version
cd aurora wget https://raw.githubusercontent.com/Aurora-Admin-Panel/deploy/main/docker-compose-dev.yml -O docker-compose.yml docker-compose pull && docker-compose down --remove-orphans && docker-compose up -d
Database backup and recovery
Backup
docker-compose exec postgres pg_dump -d aurora -U [database username, default aurora] -c > data.sql
Restore
# First stop all services docker-compose down # Start only the database service docker-compose up postgres # In another window, perform data recovery docker-compose exec -T postgres psql -d aurora -U [database username, default aurora] < data.sql # Then start all services normally docker-compose up -d
Uninstall panel
docker-compose down docker volume rm aurora_db-data docker volume rm aurora_app-data
What does the panel look like?
Server management page
Modify/Add Server
Server port management page
Add/Edit Port
Port allocation page
Port settings iptables
Port settings gost
Open source: https://github.com/Aurora-Admin-Panel/deploy
Recommended site search: Shanghai virtual host, Changsha server, free domain name registration platform, registration query Ministry of Industry and Information Technology, legendary server rental, domain name registration number query, Xi'an server rental, cpanel space, Hong Kong ip agent, Beijing server rental,
发表评论