玩客云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
相关推荐
冰橙子id34 分钟前
linux系统安全
linux·安全·系统安全
stark张宇38 分钟前
VMware 虚拟机装 Linux Centos 7.9 保姆级教程(附资源包)
linux·后端
BD_Marathon41 分钟前
虚拟机网络检查
网络
Johny_Zhao1 小时前
Ubuntu系统安装部署Pandawiki智能知识库
linux·mysql·网络安全·信息安全·云计算·shell·yum源·系统运维·itsm·pandawiki
悲伤小伞1 小时前
linux_git的使用
linux·c语言·c++·git
cocologin2 小时前
RIP 技术深度解析
运维·网络·网络协议
cv高级工程师YKY2 小时前
SRE - - PV、UV、VV、IP详解及区别
大数据·服务器·uv
眠修3 小时前
Kuberrnetes 服务发布
linux·运维·服务器
GalaxyPokemon3 小时前
RPC-Client模块
网络·网络协议·rpc
chirrupy_hamal4 小时前
如何避免 SYN 攻击?
网络·tcp