ubuntu20.04 root登录方法
echo root:密码@@ |sudo chpasswd root
sudo sed -i ‘s/^#?PermitRootLogin./PermitRootLogin yes/g’ /etc/ssh/sshd_config
sudo sed -i 's/^#?PasswordAuthentication./PasswordAuthentication yes/g’ /etc/ssh/sshd_config
sudo reboot
一键脚本
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)
如果是甲骨文云,需要打开端口
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F
iptables-save
apt-get install iptables-
persistent
netfilter-persistent save
netfilter-persistent reload
测试ip的状态脚本,是否支持奈飞
wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/v3.1.0/nf_linux_arm64 && chmod +x nf && ./nf
warp安装,选择性安装
wget https://raw.githubusercontent.com/fscarmen/warp/main/menu.sh&&bash menu.sh
是否有ipv6
curl -6 ip.sb
甲骨文有ipv6,可能会显示没有。需要加载ipv6
AMD 框架
dhclient -6 ens3
ARM 框架
dhclient -6 enp0s6
留言