祥磊部落

随机出现的你

Debian9 - 降级内核安装锐速

因小伙伴爱死锐速,非要在debian9的环境上安装锐速(因为debian9的新版本内核不支持锐速)。其实这个很简单,更换内核切换内核安装锐速。

 

查看内核

查看运行的Linux内核

uname -sr

《Debian9 - 降级内核安装锐速》

记住这里的内核版本,稍后我们要卸载它。

 

安装新内核

安装支持锐速的新内核

apt install linux-image-4.9.0-4-amd64

如果失败可以尝试官方下载

wget http://security-cdn.debian.org/pool/updates/main/l/linux/linux-image-4.9.0-4-amd64_4.9.65-3+deb9u1_amd64.deb && dpkg -i linux-image-4.9.0-4-amd64_4.9.65-3+deb9u1_amd64.deb

 

卸载内核

注意出现对话框选择 “No”

apt-get purge linux-image-4.9.0-9-amd64 -y

这里需要注意

 

更新引导

更新引导并重启

update-grub
reboot

重启后我们可以看到已经更换到旧版本内核,然后就可以安装锐速了。

 

安装锐速

bash <(wget --no-check-certificate -qO- https://github.com/MoeClub/lotServer/raw/master/Install.sh) install

《Debian9 - 降级内核安装锐速》

 

点赞
  1. 林遮天说道:

    我在buyvm VPS debian9 operating system vps上输入apt install -y linux-image-4.9.0-4-amd64,错误提示Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-image-4.9.0-4-amd64
    E: Couldn't find any package by glob 'linux-image-4.9.0-4-amd64'
    E: Couldn't find any package by regex 'linux-image-4.9.0-4-amd64'

    wget http://security-cdn.debian.org/pool/updates/main/l/linux/linux-image-4.9.0-4-amd64_4.9.65-3+deb9u1_amd64.deb && dpkg -i linux-image-4.9.0-4-amd64_4.9.65-3+deb9u1_amd64.deb 错误提示:Resolving security-cdn.debian.org (security-cdn.debian.org)... 151.101.112.204, 2a04:4e42:1b::204
    Connecting to security-cdn.debian.org (security-cdn.debian.org)|151.101.112.204|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2019-10-23 08:40:47 ERROR 404: Not Found.
    4.9.0-4内核在debian官网delete,希望博主能上传debian9 4.9.0-4内核到github

  2. 林遮天说道:

    我在buyvm VPS debian9 operating system vps上输入apt install -y linux-image-4.9.0-4-amd64,错误提示Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-image-4.9.0-4-amd64
    E: Couldn't find any package by glob 'linux-image-4.9.0-4-amd64'
    E: Couldn't find any package by regex 'linux-image-4.9.0-4-amd64'

    wget http://security-cdn.debian.org/pool/updates/main/l/linux/linux-image-4.9.0-4-amd64_4.9.65-3+deb9u1_amd64.deb && dpkg -i linux-image-4.9.0-4-amd64_4.9.65-3+deb9u1_amd64.deb 错误提示:Resolving security-cdn.debian.org (security-cdn.debian.org)... 151.101.112.204, 2a04:4e42:1b::204
    Connecting to security-cdn.debian.org (security-cdn.debian.org)|151.101.112.204|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2019-10-23 08:40:47 ERROR 404: Not Found.
    4.9.0-4内核在debian官网delete,希望博主能上传debian9 4.9.0-4内核到github

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据