apt update;apt upgrade -y
apt install -y sudo wget
設定執行帳號及群組
export RUSTDESK=rustdesk
groupadd ${RUSTDESK}
useradd ${RUSTDESK} -g ${RUSTDESK} -m -r
usermod -aG sudo ${RUSTDESK}
passwd ${RUSTDESK}
安裝 rustdesk server
su - ${RUSTDESK}
cd
wget https://raw.githubusercontent.com/techahold/rustdeskinstall/master/install.sh
chmod a+x install.sh
./install.sh
相關檔案、服務
/opt/rustdesk
rustdeskrelay.service
rustdesksignal.service
/etc/systemd/system/rustdeskrelay.service
/etc/systemd/system/rustdesksignal.service
/opt/gohttp
gohttpserver.service
/etc/systemd/system/gohttpserver.service
/var/log/rustdesk
防火牆設定
21115-21119/tcp
8000/tcp
21116/udp
沒有留言:
張貼留言