VPS Configuration Portal
style-notepad
len:1882
crease:42%
color:3
VPS Setup
curl -L joyus.org/vps/init | bash -s github_account
Change Hostname
new_host="newhostname"
sudo hostnamectl set-hostname $new_host
sudo sed -i "s/^127\.0\.0\.1[[:space:]]\+localhost.*/127.0.0.1 localhost $new_host/" /etc/hosts
Change Timezone<
Auto-detect from server IP location:
sudo timedatectl set-timezone $(curl -s http://ip-api.com/line?fields=timezone)
Or set manually (e.g., Zurich):
sudo timedatectl set-timezone Europe/Zurich
Xray Setup
curl -L joyus.org/vps/xray | bash -s xx.joyus.org
Shadowrocket Rules
style-notepad
len:690
crease:51%
color:0
Rules
Open the Config menu and scan the QR code.
Rules to use when in China

Rules to use when not in China

Cloudflare DNS over HTTPS profile
Works for both macOS and iOS. Download
cloudflare-doh.mobileconfig, keep the
.mobileconfig extension, open to install, and follow on secreen instructions.