imou-sn1 debian 操作手册

540次阅读
2 条评论

共计 1141 个字符,预计需要花费 3 分钟才能阅读完成。

emcc 刷写系统后进系统第一步

第一步

01. 系统原因吧,反正一直用的 iptables-legacy 会导致 docker 等安装不好,

使用:update-alternatives –set iptables /usr/sbin/iptables-legacy

02.apt 源替换

vim  /etc/apt/sources.list

deb http://mirrors.aliyun.com/debian/ buster main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ buster main non-free contrib
deb http://mirrors.aliyun.com/debian-security buster/updates main
deb-src http://mirrors.aliyun.com/debian-security buster/updates main
deb http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib
deb http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib

apt update

错误提示:

W: GPG error: http://mirrors.aliyun.com/debian buster-backports InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131

apt-get install sudo gnupg -y

开终端并运行以下命令,将缺少的公钥添加到你的系统中:

sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 0E98404D386FA1D9 6ED0E7B82643E131

再次 update 就没有错误了

# 第二部

现在开始挂载磁盘

vim /etc/fstab 添加

/dev/sda1 /www ext4 defaults 0 0

/dev/sda2 /data ext4 defaults 0 0

正文完
 
whatangel
版权声明:本站原创文章,由 whatangel 2023-06-29发表,共计1141字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
评论(2 条评论)
验证码
2023-07-05 13:50:46 回复

This was like almost too real! Almost bouta lick my screen lol

 Windows  Chrome  德国Hamburg