更新主机名显示

This commit is contained in:
Randall 2025-04-01 11:40:45 +08:00
parent 602f47fbbe
commit 4649def49f

View File

@ -47,9 +47,6 @@ done
# 更新系统并安装必要的软件包 # 更新系统并安装必要的软件包
sudo apt update && sudo apt upgrade -y && sudo apt install vim wget curl net-tools socat -y sudo apt update && sudo apt upgrade -y && sudo apt install vim wget curl net-tools socat -y
# 设置主机名
sudo hostnamectl set-hostname "$DONAME"
# 运行acme脚本安装acme # 运行acme脚本安装acme
curl https://get.acme.sh | sh -s email="$DONAME@randallanjie.com" curl https://get.acme.sh | sh -s email="$DONAME@randallanjie.com"