apt install fonts-noto-cjk
apt install scim im-config zenity
apt install scim-chewing
im-config -n scim
apt install fcitx5 fcitx5-chewing
apt install fonts-noto-cjk
apt install scim im-config zenity
apt install scim-chewing
im-config -n scim
apt install fcitx5 fcitx5-chewing
docker 安裝
# Add Docker's official GPG key:
sudo apt update
sudo apt install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
# Add the repository to Apt sources:
sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
Types: deb
URIs: https://download.docker.com/linux/debian
Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
Components: stable
Signed-By: /etc/apt/keyrings/docker.asc
EOF
sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo systemctl status docker
sudo systemctl start docker
sudo systemctl enable --now docker
編輯 /etc/apt/sources.list 加入 non-free-firmware
sudo apt update; apt install intel-microcode
重啟系統,微代碼必須在啟動初期載入才能生效
確認指令
journalctl -k | grep microcode
#!/bin/bash
PYENVDIR=~/.pyenv/
cd $PYENVDIR/plugins/python-build/share/python-build
parse1() {
for i in *;do [ -d "$i" ]&&continue
cat $i|grep install_package
done|xargs -n 1 |grep -e http:// -e https:// |sort
}
for i in $(parse1);do t=${i%\#*};t=${t#src=};echo $t;done
編輯 /etc/systemd/network/10-eth1.link
[Match]
MACAddress=00:11:22:33:44:55
[Link]
Name=eth1
方法二 UDEV設定方式
編輯 /etc/udev/rules.d/10-rename-it.rules
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:11:22:33:44:55", NAME="eth1"
Debian 網路命名規則通常在開機 initramfs 階段就決定,須更新 initramfs
update-initramfs -u