發表文章

目前顯示的是 12月, 2024的文章

pve網路配置 虛擬機外部連服務

修改/etc/network/interfaces   # Loopback interface auto lo iface lo inet loopback # 主網卡配置 auto eno1 iface eno1 inet static         address 120.120.XXX.XXX         netmask 255.255.255.0         gateway 120.126.XXX.XXX         post-up echo 1 > /proc/sys/net/ipv4/ip_forward # 虛擬網橋配置 auto vmbr0 iface vmbr0 inet static         address 192.168.1.1         netmask 255.255.255.0         bridge-ports none         bridge-stp off         bridge-fd 0 --------------------- auto lo iface lo inet loopback auto eno1 iface eno1 inet static         address 120.120.XXX.XXX         netmask 255.255.255.0         gateway 120.120.XXX.XXX auto vmbr0 iface vmbr0 inet static         address 192.168.1.1         netmask 255.255.255.0...

PVE安裝centOS6 yum問題

無法使用yum的處理   https://handle.idv.tw/centos6%E4%B8%AD%E7%84%A1%E6%B3%95%E4%BD%BF%E7%94%A8yum%E7%9A%84%E8%99%95%E7%90%86/ # vi /etc/yum.repos.d/CentOS-Base.repo # CentOS-Base.repo [base] name=CentOS-$releasever - Base #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra baseurl=https://vault.centos.org/6.10/os/$basearch/ http://mirrors.aliyun.com/centos-vault/6.10/os/$basearch/ gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 #released updates [updates] name=CentOS-$releasever - Updates #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra baseurl=https://vault.centos.org/6.10/updates/$basearch/ http://mirrors.aliyun.com/centos-vault/6.10/updates/$basearch/ gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 #additional packages that may be useful [extras] name=CentOS-$releasever - Extras #mirrorlist=http://mirrorlist.c...