- 换源:
- 修改 IP 地址
- Use Tailscale to connect
- Template:
- Right click to clone
- Base image
- CT: Operating system container
- Docker
- Use
xterm.js
:- Add serial port on hardware
- Change display to serial terminal
- Resize disk:
qm resize 1001 scsi0 +18G
- Firewall - Proxmox VE
Force Quit VM
rm /var/lock/qemu-server/lock-1001.conf
qm unlock 1001
# then stop the vm
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
cat << EOF >> ~/.bashrc
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
EOF
Power Consomption
# 下载编译
sudo apt install git
sudo apt install libpci-dev cmake gcc g++
git clone https://github.com/FlyGoat/RyzenAdj
cd RyzenAdj
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
# 查询功耗
sudo ./ryzenadj -i
Cloud Init
-
GitHub - canonical/cloud-init: Official upstream for the cloud-init: cloud instance initialization
-
Index of /images/cloud/bullseye
Cloud images are operating system templates and every instance starts out as an identical clone of every other instance. It is the user data that gives every cloud instance its personality and cloud-init is the tool that applies user data to your instances automatically. -
virt-customize
LXC
- resize CT’s volume
QEMU
- Resize vm disk
NFS
Cache
-
apt-cacher-ng
: Docker
Gnome
apt install gnome-core
systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target