标题:从 Debian 10 Buster 升级到 Debian 11 Bullseye
作者:zxxx
原帖:https://hostloc.com/thread-875607-1-1.html
摘要:本帖最后由 zxxx 于 2021-8-5 20:40 编辑
官方参考:https://www.debian.org/releases/bullseye/amd64/release-notes/ch-upgrading.zh-cn.html
在升级系统前,强烈建议您进行一次完整的备份,或者至少备份您不愿意丢失的数据和配置信息。
升级工具和流程是非常可靠的,但升级过程中的硬件错误可能会对您的系统造成严重损害。
apt install aptitude tmux tmux复制代码
显示 Debian 版本
cat /etc/debian_version 10.10复制代码
cat /etc/os-release复制代码
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
清理过时软件包,缩短升级时间
dpkg --list | grep "^rc" | cut -d " " -f 3 | xargs dpkg --purge复制代码
升级当前系统中的软件包
apt update && apt upgrade && apt full-upgrade复制代码
更新 /etc/apt/sources.list 文件
cp /etc/apt/sources.list /etc/apt/sources.list.buster && \ cat /etc/apt/sources.list deb http://deb.debian.org/debian bullseye main contrib non-free deb http://deb.debian.org/debian bullseye-updates main contrib non-free deb http://security.debian.org/debian-security bullseye-security main deb http://ftp.debian.org/debian bullseye-backports main contrib non-free EOF复制代码
cp /etc/apt/sources.list /etc/apt/sources.list.buster && \ cat /etc/apt/sources.list deb http://mirrors.aliyun.com/debian-security bullseye-security main deb http://mirrors.aliyun.com/debian bullseye main contrib non-free deb http://mirrors.aliyun.com/debian bullseye-updates main contrib non-free deb http://mirrors.aliyun.com/debian bullseye-backports main contrib non-free EOF复制代码
更新一次系统仓库列表,开始升级
升级过程需要有人值守:因为部分软件的配置文件会出现变化,需要手动确认使用哪个版本。
切记这个过程中不要中断,否则可能导致包关系异常或包管理系统损坏。
apt update && apt upgrade && apt dist-upgrade && apt full-upgrade复制代码
使用新的内核 image重启系统
systemctl reboot复制代码
查看系统版本
cat /etc/os-release复制代码
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
清理软件包
apt autoremove dpkg --list | grep "^rc" | cut -d " " -f 3 | xargs dpkg --purge apt autoclean复制代码
删除过时镜像
dpkg --get-selections | grep linux复制代码
linux-image-4.19.0-17-amd64 install
linux-image-5.10.0-8-amd64 install
apt autoremove --purge linux-image-4.19.0-17-amd64复制代码
作者:zxxx
原帖:https://hostloc.com/thread-875607-1-1.html
摘要:本帖最后由 zxxx 于 2021-8-5 20:40 编辑
官方参考:https://www.debian.org/releases/bullseye/amd64/release-notes/ch-upgrading.zh-cn.html
在升级系统前,强烈建议您进行一次完整的备份,或者至少备份您不愿意丢失的数据和配置信息。
升级工具和流程是非常可靠的,但升级过程中的硬件错误可能会对您的系统造成严重损害。
apt install aptitude tmux tmux复制代码
显示 Debian 版本
cat /etc/debian_version 10.10复制代码
cat /etc/os-release复制代码
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
清理过时软件包,缩短升级时间
dpkg --list | grep "^rc" | cut -d " " -f 3 | xargs dpkg --purge复制代码
升级当前系统中的软件包
apt update && apt upgrade && apt full-upgrade复制代码
更新 /etc/apt/sources.list 文件
cp /etc/apt/sources.list /etc/apt/sources.list.buster && \ cat /etc/apt/sources.list deb http://deb.debian.org/debian bullseye main contrib non-free deb http://deb.debian.org/debian bullseye-updates main contrib non-free deb http://security.debian.org/debian-security bullseye-security main deb http://ftp.debian.org/debian bullseye-backports main contrib non-free EOF复制代码
cp /etc/apt/sources.list /etc/apt/sources.list.buster && \ cat /etc/apt/sources.list deb http://mirrors.aliyun.com/debian-security bullseye-security main deb http://mirrors.aliyun.com/debian bullseye main contrib non-free deb http://mirrors.aliyun.com/debian bullseye-updates main contrib non-free deb http://mirrors.aliyun.com/debian bullseye-backports main contrib non-free EOF复制代码
更新一次系统仓库列表,开始升级
升级过程需要有人值守:因为部分软件的配置文件会出现变化,需要手动确认使用哪个版本。
切记这个过程中不要中断,否则可能导致包关系异常或包管理系统损坏。
apt update && apt upgrade && apt dist-upgrade && apt full-upgrade复制代码
使用新的内核 image重启系统
systemctl reboot复制代码
查看系统版本
cat /etc/os-release复制代码
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
清理软件包
apt autoremove dpkg --list | grep "^rc" | cut -d " " -f 3 | xargs dpkg --purge apt autoclean复制代码
删除过时镜像
dpkg --get-selections | grep linux复制代码
linux-image-4.19.0-17-amd64 install
linux-image-5.10.0-8-amd64 install
apt autoremove --purge linux-image-4.19.0-17-amd64复制代码
标题:我感觉我的甲骨文要被删机了
作者:xposedcat
原帖:https://hostloc.com/thread-875723-1-1.html
摘要:今天甲骨文又给我发邮件了,说我欠了19刀,并且绑定的信用卡扣款失败,让我去甲骨文里看下,特么,我一个白**党难道还能被反撸,信用卡早限额10块钱了。。。
今天我给回了句,付款是不可能付款的,ε=(´ο`*)))唉
作者:xposedcat
原帖:https://hostloc.com/thread-875723-1-1.html
摘要:今天甲骨文又给我发邮件了,说我欠了19刀,并且绑定的信用卡扣款失败,让我去甲骨文里看下,特么,我一个白**党难道还能被反撸,信用卡早限额10块钱了。。。
今天我给回了句,付款是不可能付款的,ε=(´ο`*)))唉
标题:hh又来了,P.....PT神器
作者:treesky
原帖:https://hostloc.com/thread-875725-1-1.html
摘要:加个50TB流量包,PT神器,要保种有保种要上传有上传,就是大几百刀了
> 2 个 CPU 内核
> 2 GB 内存
> 10 TB 存储 (RAID-60)
> 15 TB 带宽
> 每年 180 美元
> 支付两年 - 获得双倍的 RAM 和带宽
> https://manage.hosthatch.com/billing/order/storlax-10tb
>
作者:treesky
原帖:https://hostloc.com/thread-875725-1-1.html
摘要:加个50TB流量包,PT神器,要保种有保种要上传有上传,就是大几百刀了
> 2 个 CPU 内核
> 2 GB 内存
> 10 TB 存储 (RAID-60)
> 15 TB 带宽
> 每年 180 美元
> 支付两年 - 获得双倍的 RAM 和带宽
> https://manage.hosthatch.com/billing/order/storlax-10tb
>
标题:你们公司有做申报,做账本吗?
作者:shelizi1
原帖:https://hostloc.com/thread-875726-1-1.html
摘要:头一个季度不做账本没事吧?刚注册下来小规模的公司
作者:shelizi1
原帖:https://hostloc.com/thread-875726-1-1.html
摘要:头一个季度不做账本没事吧?刚注册下来小规模的公司
标题:大家看看自己的甲骨文首尔!
作者:游戏人生超
原帖:https://hostloc.com/thread-875727-1-1.html
摘要:之前...一直挂着刷首尔...
然后虚拟机重启了,几小时没刷,刚刚手动开虚拟机想挂着的,结果.....
直接秒开2个2C12!直接秒开..啥情况?是不是一堆人被和谐了?
另外请问下!!
我基本就富强用,是不是2个2C12 比 1个4C16更合适啊?
作者:游戏人生超
原帖:https://hostloc.com/thread-875727-1-1.html
摘要:之前...一直挂着刷首尔...
然后虚拟机重启了,几小时没刷,刚刚手动开虚拟机想挂着的,结果.....
直接秒开2个2C12!直接秒开..啥情况?是不是一堆人被和谐了?
另外请问下!!
我基本就富强用,是不是2个2C12 比 1个4C16更合适啊?
标题:举报骗子发卡和账号
作者:vne
原帖:https://hostloc.com/thread-875729-1-1.html
摘要:http://www.jizpay.com/
低价发卡 低价引诱。付款发假邮箱
骗子tg@timeZCS
作者:vne
原帖:https://hostloc.com/thread-875729-1-1.html
摘要:http://www.jizpay.com/
低价发卡 低价引诱。付款发假邮箱
骗子tg@timeZCS
标题:出$32月付32G内存colocrossing小独服洛杉矶
作者:J先森
原帖:https://hostloc.com/thread-875728-1-1.html
摘要:E31240V3 32G 500GSSD 1G 20T /28 IP(13可用)colocrossing洛杉矶官方
$32一个月 有IPMI
tg:jokerl2333
作者:J先森
原帖:https://hostloc.com/thread-875728-1-1.html
摘要:E31240V3 32G 500GSSD 1G 20T /28 IP(13可用)colocrossing洛杉矶官方
$32一个月 有IPMI
tg:jokerl2333
标题:出hostodo
作者:reizhi
原帖:https://hostloc.com/thread-875731-1-1.html
摘要:7/10买的年付13.99刀,1C 512M 8G 3T。原本拿来解锁NF,现在解不了了也就没用了。
明盘58出,改邮箱。有需要PM。
官方LG:http://lv.hostodo.com/
作者:reizhi
原帖:https://hostloc.com/thread-875731-1-1.html
摘要:7/10买的年付13.99刀,1C 512M 8G 3T。原本拿来解锁NF,现在解不了了也就没用了。
明盘58出,改邮箱。有需要PM。
官方LG:http://lv.hostodo.com/
标题:各位大雕,求个大商创多用户商城源码
作者:繁星点点
原帖:https://hostloc.com/thread-875734-1-1.html
摘要:各位大雕,求个大商创多用户商城源码 ,申请EDI用
作者:繁星点点
原帖:https://hostloc.com/thread-875734-1-1.html
摘要:各位大雕,求个大商创多用户商城源码 ,申请EDI用
标题:mjj的跑路预言
作者:guowq
原帖:https://hostloc.com/thread-875735-1-1.html
摘要:mjj为啥每天都在说搞活动的商家要跑路?rn之类的确实有前科,那hh这种10年的也要跑路吗,手持两个大盘鸡瑟瑟发抖,想知道原因
作者:guowq
原帖:https://hostloc.com/thread-875735-1-1.html
摘要:mjj为啥每天都在说搞活动的商家要跑路?rn之类的确实有前科,那hh这种10年的也要跑路吗,手持两个大盘鸡瑟瑟发抖,想知道原因
标题:不懂就问,如何保障A1,E3账号的安全性
作者:lspro
原帖:https://hostloc.com/thread-875737-1-1.html
摘要:经常能看到坛子的买卖A1,A1p,E3,金额有大有小,交易完后怎么防止卖家找回呢?
作者:lspro
原帖:https://hostloc.com/thread-875737-1-1.html
摘要:经常能看到坛子的买卖A1,A1p,E3,金额有大有小,交易完后怎么防止卖家找回呢?
标题:技术站全是梯子广告
作者:phpsky
原帖:https://hostloc.com/thread-875739-1-1.html
摘要:站点内容正常,符合中华人民共和国法律,但Google显示的全是梯子类的AD,有判头吗?
作者:phpsky
原帖:https://hostloc.com/thread-875739-1-1.html
摘要:站点内容正常,符合中华人民共和国法律,但Google显示的全是梯子类的AD,有判头吗?
标题:正告@思思讯此人,骗我500虽然钱不多,但是我已经报警
作者:jim719
原帖:https://hostloc.com/thread-875741-1-1.html
摘要:我知道你能看到此贴,不要以为诈骗500警方不会立案,明天就去派出所报案,现在全国严打网络诈骗,你看看警察能不能找到你,就这500我跟你杠上了
作者:jim719
原帖:https://hostloc.com/thread-875741-1-1.html
摘要:我知道你能看到此贴,不要以为诈骗500警方不会立案,明天就去派出所报案,现在全国严打网络诈骗,你看看警察能不能找到你,就这500我跟你杠上了
标题:hosthatch芝加哥两天了还是stopped状态正常吗?
作者:Ais2019
原帖:https://hostloc.com/thread-875742-1-1.html
摘要:是否需要提工单呢...
作者:Ais2019
原帖:https://hostloc.com/thread-875742-1-1.html
摘要:是否需要提工单呢...
标题:喜马拉雅的活动,有人出keep吗?
作者:jay407269507
原帖:https://hostloc.com/thread-875743-1-1.html
摘要:有大佬买了的吗?我想收个keep~~~
作者:jay407269507
原帖:https://hostloc.com/thread-875743-1-1.html
摘要:有大佬买了的吗?我想收个keep~~~