Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏

182.5. FAQ

科学上网

	 
ssh -f -N -D 172.0.0.1:1080 root@8.216.50.196

HTTP_PROXY=socks5://127.0.0.1:1080/
HTTPS_PROXY=socks5://127.0.0.1:1080/
NO_PROXY=localhost,127.0.0.1,docker.io

root@homeassistant:~# docker pull ghcr.io/home-assistant/aarch64-hassio-supervisor:latest
	
	

		 
docker pull nginx:latest
docker image inspect nginx:latest | grep -i version
docker images --format "{{.Repository}}:{{.Tag}}" | grep ':latest' | xargs -L1 docker pull
docker images | grep none | awk '{ print $3; }' | xargs docker rmi
		
	

RK3318

		 
neo@MacBook-Pro-M2 ~/Downloads> sudo dd bs=1m if=multitool.img of=/dev/disk4 status=progress
		
	

182.5.1. Media change: please insert the disc labeled

		
Media change: please insert the disc labeled
 'Debian GNU/Linux 12.0.0 _Bookworm_ - Official amd64 DVD Binary-1 with firmware 20230610-10:23'
in the drive '/media/cdrom/' and press [Enter]		
		
		

编辑 /etc/apt/sources.list 文件,注释掉 deb cdrom 这行

		
root@debian:~# vi /etc/apt/sources.list
root@debian:~# cat /etc/apt/sources.list
#deb cdrom:[Debian GNU/Linux 12.0.0 _Bookworm_ - Official amd64 DVD Binary-1 with firmware 20230610-10:23]/ bookworm main non-free-firmware

deb http://mirror.lzu.edu.cn/debian/ bookworm main non-free-firmware
deb-src http://mirror.lzu.edu.cn/debian/ bookworm main non-free-firmware

deb http://security.debian.org/debian-security bookworm-security main non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware

# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://mirror.lzu.edu.cn/debian/ bookworm-updates main non-free-firmware
deb-src http://mirror.lzu.edu.cn/debian/ bookworm-updates main non-free-firmware