For Nekos! 🐱
#服务器 #搭建 #一条龙
个人自用debian系统开机一条龙
更新
apt-get update && apt-get full-upgrade -y

docker安装:
curl -fsSL https://get.docker.com | bash -s docker

内核调优:
wget https://raw.githubusercontent.com/LucaLin233/Luca_Conf/main/Other/kernel_optimization.sh && chmod +x kernel_optimization.sh && bash kernel_optimization.sh

时区设置:
sudo timedatectl set-timezone Asia/Shanghai

路由测试:
bash -c "$(curl -Ls https://github.com/sjlleo/nexttrace/raw/main/nt_install.sh)"

开启Tuned:

https://t.me/Luca_VPS/177

apt install tuned -y && systemctl enable tuned.service && systemctl start tuned.service


安装 @love4taylor 制作的带bbrv3和tcp-brutal的内核:
https://t.me/Luca_VPS/197

安装nodejs:
curl -fsSL https://deb.nodesource.com/setup_19.x | sudo -E bash -
sudo apt install -y nodejs


开机脚本(来自gpt,涵盖以上内容,并修改ssh端口为9399,如果未安装curl请自行安装):
bash -c "$(curl -fsSL https://raw.githubusercontent.com/LucaLin233/Luca_Conf/main/Other/setup.sh)"

可选:

多功能脚本
wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/jklolixxs/jms/main/jms.sh" && chmod 700 /root/jms.sh && /root/jms.sh Bash

安装dnsproxy
https://t.me/Luca_VPS/210

启动代理

开启Swap
https://t.me/Luca_VPS/190

禁用密码登录:
sudo sed -i 's/^#*PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config && sudo systemctl restart sshd

修改vps语言:
apt-get install locales && dpkg-reconfigure locales
 
 
Back to Top