甲骨文ARM服务器安装PVE
设置host1.设置主机名hostnamectl set-hostname pve.example.com --static
2.设置host,xxx替换成自己IPrm /etc/hosts
echo "127.0.0.1 localhost" >> /etc/hosts
echo "::1 localhost ip6-localhost ip6-loopback" >&g...
2024-09-23
CentOS7过期源配置
CentOS7已于2024年6月30日正式停止维护备份旧的yum源mkdir -p /etc/yum.repos.d/bak
mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/bak/配置Centos7源#阿里源 x86
curl -o /etc/yum.repos.d/Centos7-aliyun.repo https://mirrors.wlnm...
2024-09-23
PVE下的LXC开启TUN模块
解决方案无特权容器在宿主机(母鸡)中修改文件 /etc/pve/lxc/id.conf:vim /etc/pve/lxc/id.conf在末尾添加如下代码:lxc.hook.autodev = sh -c "modprobe tun"
lxc.mount.entry=/dev/net/tun /var/lib/lxc/id/rootfs/dev/net/tun none bind,cre...
2024-09-22