Oracle Cloud小鸡设置
前几天通过F12的方法,有幸喜提乌龟壳小鸡两只,小鸡已平安活过5天,在这里记录一下新开系统的一些设置
个人喜欢先更新一下系统
apt update && apt upgrade -y
改为root密码登陆
echo root:密码 |chpasswd root
sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config;
sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config;
systemctl restart sshd
开启BBR
#修改系统变量
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
#保存生效
sysctl -p
#查看内核是否已开启BBR
lsmod | grep bbr
#显示如下,即成功
tcp_bbr 20480 2
放行全部端口(重启失效)
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F
iptables-save
持续化规则(重启不失效)
#安装iptables-persistent
apt install iptables-persistent
#永久保存规则
netfilter-persistent save
netfilter-persistent reload
对于关闭防火墙更暴力点的方法,可以选择如下两种
rm -rf /etc/iptables && reboot
或
rm -rf /etc/iptables/rules.v4
rm -rf /etc/iptables/rules.v6
reboot
同时你也需要进入后台配置一下入站规则,我是开放的所有协议
然后你就可以干点你想做的了,至于DD系统,我打算过段时间再搞,现阶段封号的太多了
已找甲骨文适配的DD脚本,下方演示为Debian 10
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 10 -v 64 -p "密码" -port "端口"
老哥牛B想要两位数域名
老哥还活着吗你的这个鸡鸡
活着 http://server.ww.ws/
可惜没赶上赛博支付的车 说起来现在可还好?
还在
你的f12小鸡,还活着吗?我不敢开arm了,圣何塞开了一次直接被端::quyin:hematemesis::
活着
::quyin:watermaleon::