玩客云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
相关推荐
wdfk_prog1 分钟前
闹钟定时器(Alarm Timer)初始化:构建可挂起的定时器基础框架
java·linux·数据库
2301_8184115521 分钟前
Ubuntu之apt更新源
linux·运维·ubuntu
迎風吹頭髮38 分钟前
UNIX下C语言编程与实践32-UNIX 僵死进程:成因、危害与检测方法
服务器·c语言·unix
Damon小智1 小时前
玩转CodeX:CodeX安装教程(Windows+Linux+MacOS)
linux·windows·macos·ai·ai编程·codex·gpt-5
CS Beginner1 小时前
【Linux】Mysql的基本文件组成和配置
linux·运维·mysql
爱奥尼欧2 小时前
【Linux】网络部分——Socket编程 UDP实现网络云服务器与本地虚拟机的基本通信
linux·服务器·网络
Ching·2 小时前
RK3568入门之VScode远程连接开发板,直接开发板上面编程和实验
linux·ide·vscode·编辑器·rk3568
iconball3 小时前
个人用云计算学习笔记 --20 (Nginx 服务器)
linux·运维·笔记·学习·云计算
十碗饭吃不饱3 小时前
WebClient工具调用HTTP接口报错远程主机断开连接
网络·网络协议·http
Wang's Blog3 小时前
Linux小课堂: 在 VirtualBox 虚拟机中安装 CentOS 7 的完整流程与关键技术详解
linux·运维