玩客云Armbian_23.08.0-trunk_Onecloud_bookworm_edge_6.4.14.burn配置

  • 固定IP
bash 复制代码
# interface file auto-generated by buildroot

auto lo
iface lo inet loopback

// 上面是默认的内容,下面是新增的内容,上下之间需要一个空行隔开
// 接口顶格写,属性的前面有一个tab的缩进
# The primary network interface

auto eth0
iface eth0 inet static
	address 192.168.1.113
	network 192.168.1.0
	netmask 255.255.255.0
	broadcast 192.168.1.255
	gateway 192.168.1.1
  • dhcp
bash 复制代码
# interface file auto-generated by buildroot

auto lo
iface lo inet loopback

# The primary network interface

auto eth0
iface eth0 inet dhcp
  • 加证书
bash 复制代码
curl 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xdf00faf1c577104b50bf1d0093d6889f9f0e78d5' |gpg --dearmor| sudo tee /etc/apt/trusted.gpg.d/armbian.gpg
  • 改源
bash 复制代码
nano /etc/apt/sources.list
加入清华源,替换全部内容
bash 复制代码
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware

# deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware
# # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
bash 复制代码
nano /etc/apt/sources.list.d/armbian.list
bash 复制代码
deb http://mirrors.tuna.tsinghua.edu.cn/armbian/ bookworm main bookworm-utils bookworm-desktop
bash 复制代码
apt update
apt upgrade
  • 装docker
bash 复制代码
apt install docker.io
相关推荐
weixin_43739821几秒前
Linux扩展——shell编程
linux·运维·服务器·bash
小燚~3 分钟前
ubuntu开机进入initramfs状态
linux·运维·ubuntu
小林熬夜学编程10 分钟前
【Linux网络编程】第十四弹---构建功能丰富的HTTP服务器:从状态码处理到服务函数扩展
linux·运维·服务器·c语言·网络·c++·http
Hacker_Fuchen12 分钟前
天融信网络架构安全实践
网络·安全·架构
炫彩@之星14 分钟前
Windows和Linux安全配置和加固
linux·windows·安全·系统安全配置和加固
上海运维Q先生14 分钟前
面试题整理15----K8s常见的网络插件有哪些
运维·网络·kubernetes
hhhhhhh_hhhhhh_24 分钟前
ubuntu18.04连接不上网络问题
linux·运维·ubuntu
ProtonBase24 分钟前
如何从 0 到 1 ,打造全新一代分布式数据架构
java·网络·数据库·数据仓库·分布式·云原生·架构
冷心笑看丽美人31 分钟前
探秘 DNS 服务器:揭开域名解析的神秘面纱
linux·运维·服务器·dns
wenxiaocsdn37 分钟前
某科技局国产服务器PVE虚拟化技术文档
运维·服务器