玩客云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
相关推荐
lu云之东几秒前
Linux rocky 9.2 安装mysql-8.0.39-linux-glibc2.28-x86_64.tar.xz
linux·运维·mysql
best keyl8 分钟前
tomcat的session会话保持
网络·websocket·网络协议
Makesths21 分钟前
python 使用宝塔面板在云服务器上搭建 flask
运维·服务器·flask
huhy~22 分钟前
GitHub开源的轻量级文件服务器,可docker一键部署
服务器·docker·github
jieshenai1 小时前
linux neo4j 切换知识图谱
linux·知识图谱·neo4j
z35519069471 小时前
go的并发模型
网络·数据库
小堃学编程1 小时前
Redis远程字典服务器(11)—— redis客户端介绍
服务器·数据库·redis
小安运维日记1 小时前
Linux云计算 |【第二阶段】SECURITY-DAY2
linux·运维·服务器·云计算·zabbix
互联网资讯2 小时前
本地生活服务商系统如何利用本地推获得更多曝光?
大数据·运维·网络·人工智能·生活
define_mine2 小时前
我的香橙派闹钟-v0.1 mini
linux·python·嵌入式硬件