Proxmox VE
##S.M.A.R.T磁盘检测##
#开始检查 sdx为磁盘设备名
smartctl -t short /dev/sdx
#查看结果
smartctl -a /dev/sdx
##初次安装更新系统##
#删除付费版订阅
rm /etc/apt/sources.list.d/pve.enterprise.proxmox.com
#更新系统
apt update && apt -y full-upgrade
#新增社区版订阅
vi /etc/apt/source.list
#以下是我的订阅
deb http://download.proxmox.com/debian buster pve-no-subscription
#链接推荐的订阅
deb http://download.proxmox.com/debian buster pve-no-subscription
#再次更新系统
apt update && apt -y full-upgrade
#重启系统
reboot
##日常系统更新##
apt update && apt -y full-upgrade
##ZFS相关操作##
zpool status
zpool list
#检查磁盘状态
fdisk -l
#拷贝sda分区布局到新磁盘sdc
sgdisk /dev/sda -R /dev/sdc
Syncthing - 雲端Windows同步與傳輸文件
Port to open: 22000/TCP and UDP – 打開後,可以開始傳輸,并沒有開其他端口也可以廣播連接(參考資料)
CentOS 9 Stream in Virtualbox
Minimal install CentOS 9 Stream
Pre-required steps before install Virtualbox Additions CD
dnf -y install kernel-devel make automake gcc tar bzip2 &&
dnf -y update &&
reboot
Insert Virtualbox Additions CD
mount -o ro /dev/cdrom /mnt
cd /mnt
./VBOXLinuxAdditions.run
Disable SELinux and firewall
vi /etc/seLinux/config
...
#line 22
SELINUX=disabled
...
systemctl disble firewalld
reboot