更新系统
apt update -y && apt install sudo curl -y更新系统
apt update && apt install curl wget -y安装sui面板
bash <(curl -Ls https://raw.githubusercontent.com/alireza0/s-ui/master/install.sh)安装warp
wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh [option] [lisence/url/token]查看cpu型号
cat /proc/cpuinfo测机脚本
下面是防火墙方面命令
端口服务状态
ss -tulpn端口显示状态确认
ufw status verbose允许节点端口,[2095]替换为具体端口
ufw allow 2095/tcp ufw allow 2095/udp禁止节点端口,[2095]替换为具体端口
ufw delete allow 2095/tcp ufw delete allow 2095/udp编辑文件,[sshd_config]替换为具体文件名称
nano /etc/ssh/sshd_config关闭占用端口的服务的开机自启动,[apache2]替换为具体服务名称
sudo systemctl disable apache2临时关闭,[apache2]替换为具体服务名称
sudo systemctl stop apache2 检查端口释放情况,[80]替换为具体端口
sudo lsof -i :80