全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
楼主: 天权璇玑

可怕,设置调节 swap 功能竟然鸽了 4 个月

[复制链接]
 楼主| 发表于 2023-11-22 16:29:00 | 显示全部楼层
念念不忘 发表于 2023-11-22 16:13
我尝试你的内核新功能时,在”apt install linux-xanmod-lts-x64v3 -y“,提示E: Unable to locate package ...

需要单独安装xanmod,具体我稍后放出
发表于 2023-11-23 13:30:25 | 显示全部楼层
W: GPG error: http://deb.xanmod.org releases InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 86F7D09EE734E623
E: The repository 'http://deb.xanmod.org releases InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.


aws_sg
 楼主| 发表于 2023-11-23 13:38:48 | 显示全部楼层
本帖最后由 天权璇玑 于 2023-11-23 13:41 编辑
念念不忘 发表于 2023-11-23 13:30
W: GPG error: http://deb.xanmod.org releases InRelease: The following signatures couldn't be verifie ...


写了一个小教程,具体参见:https://github.com/leitbogioro/Tools/blob/master/README.md#little-tutorial-installing-xanmod-on-debian

安装前建议把 bbr 装上:

  1. bash InstallNET.sh --bbr
复制代码


顺序是先用脚本安装标准 Debian 环境并开启 bbr ,然后再按教程安装 XanMod
发表于 2023-11-23 13:48:22 | 显示全部楼层
天权璇玑 发表于 2023-11-23 13:38
写了一个小教程,具体参见:https://github.com/leitbogioro/Tools/blob/master/README.md#little-tutori ...

这个我开启了,
 楼主| 发表于 2023-11-23 13:54:10 | 显示全部楼层
本帖最后由 天权璇玑 于 2023-11-23 13:55 编辑


再重装一次,根据教程安装 xanmod ,我在 Debian 11 12 上测试过,可以顺利安装,仅限 amd64 处理器

发表于 2023-11-23 13:56:55 | 显示全部楼层
root:~# wget -qO - https://dl.xanmod.org/archive.key | sudo gpg --dearmor -o /usr/share/keyrings/xanmod-archive-keyring.gpg
File '/usr/share/keyrings/xanmod-archive-keyring.gpg' exists. Overwrite? (y/N) y
gpg: no valid OpenPGP data found.


W: GPG error: http://deb.xanmod.org releases InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 86F7D09EE734E623
E: The repository 'http://deb.xanmod.org releases InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.


Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-xanmod-lts-x64v3


发表于 2023-11-23 13:58:41 | 显示全部楼层
本帖最后由 念念不忘 于 2023-11-23 14:00 编辑

uname -a
Linux ip--cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux
发表于 2023-11-23 13:59:52 | 显示全部楼层
念念不忘 发表于 2023-11-23 13:56
root:~# wget -qO - https://dl.xanmod.org/archive.key | sudo gpg --dearmor -o /usr/share/keyrings/xan ...

过程,bash InstallNET.sh --bbr

然后按照你教程里面的那些命令,依次执行,上面是我途中遇到的错误
发表于 2023-11-23 14:11:11 | 显示全部楼层
关于你的新功能,最近我都遇到一个问题。
用那个装第三方内核的命令之后,不管内核是否成功(虽然实际上没成功过),当我再次运行bash InstallNET.sh --bbr命令的时候,脚本无法运行,提示缺少依赖(没运行那个之前,不管怎么d都没问题)
,而且依赖还装不行去(可能我技术不行)
------

  1. # Check Dependence

  2. [ok]                awk
  3. [ok]                basename
  4. [ok]                cat
  5. [ok]                cpio
  6. [ok]                curl
  7. [ok]                cut
  8. [ok]                dirname
  9. [ok]                file
  10. [ok]                find
  11. [ok]                grep
  12. [ok]                gzip
  13. [ok]                iconv
  14. [ok]                ip
  15. [ok]                lsblk
  16. [ok]                openssl
  17. [ok]                sed
  18. [ok]                wget
  19. [Not Install]        xz

  20. [Error] Please use 'apt-get' or 'yum / dnf' install it.

复制代码
 楼主| 发表于 2023-11-23 14:34:11 | 显示全部楼层
本帖最后由 天权璇玑 于 2023-11-23 14:37 编辑

导入 gpg 密钥的那一步如果不按教程来,会出现错误,导致整个 apt 更新源失败,无法安装 xz,我把校验 xz  依赖部分删掉吧,你重下脚本安装

这是安装了 xanmod 的 Debian 11 重装前,重装时选择开启 bbr: --bbr



运行命令:

  1. bash InstallNET.sh --motd --bbr
复制代码


这是进新 Debian 12 系统后安装 xanmod 重启后的状态,可以看到 bbr 已开启,xanmod 也安装完成:

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-11 19:20 , Processed in 0.059711 second(s), 5 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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