全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1583|回复: 19

买到 vps,优化vps 五步走 (debian系统)

[复制链接]
发表于 2023-11-2 09:56:15 | 显示全部楼层 |阅读模式
买到 vps,优化vps 五步走 (debian系统)

1.更新系统环境

apt-get update && apt-get upgrade -y

2.安装必要软件依赖

apt update -y && apt install -y curl && apt install -y socat && apt install -y wget && apt install -y git && apt install sudo -y

3.BBR开启(提速必备)

wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

4.安装swap(系统自带可忽略)

bash <(wget -qO- https://fool.im/swap.sh)

5.安装好以上代码就可以更好安装其他你想要的富强代码了

欢迎大佬提意见
转自ns https://www.nodeseek.com/post-34194-1
发表于 2023-11-2 09:59:26 | 显示全部楼层
新版系统自带BBR
发表于 2023-11-2 09:59:38 来自手机 | 显示全部楼层
不喜欢用脚本开bbr
 楼主| 发表于 2023-11-2 09:59:52 | 显示全部楼层

单纯水贴
我连是啥都没看(bushi
发表于 2023-11-2 10:00:52 来自手机 | 显示全部楼层
enka 发表于 2023-11-2 09:59
不喜欢用脚本开bbr

脚本的sysctl代码很乱更常用自己整理过的,,,loc居然不支持编辑回复
 楼主| 发表于 2023-11-2 10:01:37 | 显示全部楼层
enka 发表于 2023-11-2 10:00
脚本的sysctl代码很乱更常用自己整理过的,,,loc居然不支持编辑回复


支持啊
发表于 2023-11-2 10:01:53 | 显示全部楼层
swap大多数时候是负优化,够用的情况下一定要禁止
发表于 2023-11-2 10:02:23 | 显示全部楼层
这样写即可
  1. apt update -y && apt install -y curl socat wget git sudo
复制代码
发表于 2023-11-2 10:06:20 | 显示全部楼层
  1. 1234567890123
复制代码


发表于 2023-11-2 10:09:17 来自手机 | 显示全部楼层
看看有有没有值得学的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-1-24 04:42 , Processed in 0.065310 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表