甲骨文 ARM 安装PVE开LXC小鸡完整教程

项目地址 https://github.com/pimox/pimox7

重装成debian11

首先使用netboot重装系统为debian11,具体不多说了,大家都会

网络设置

想要安装后不断网,一定要先将网络设置为静态

先查看自己的内网IP

我这里是10.0.0.234

修改/etc/network/interfaces

iface enp0s3 inet static
	address 10.0.0.234
	netmask 255.255.255.0
	gateway 10.0.0.1

重启生效

修改hosts

添加一行

公网IP 主机名.proxmox.com 主机名

并注释掉其他的,只留下127.0.0.1 localhost和这一行

修改好后执行

hostname --ip-address

只返回你的公网IP即可,不然等会安装会报错

修改源并安装pve

rm /etc/apt/sources.list.d/*.list
rm /etc/apt/source.list

echo "# Raspberry Pi Bullseye Repoo
deb http://archive.raspberrypi.org/debian/ bullseye main

# Pimox7 Repo
deb https://raw.githubusercontent.com/pimox/pimox7/master/ dev/

# Debian Rep0
deb http://deb.debian.org/debian bullseye main contrib non-free

# Security Updated
deb http://security.debian.org/debian-security bullseye-security main contrib non-free" > /etc/apt/sources.list

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 82B129927FA3303E
curl https://raw.githubusercontent.com/pimox/pimox7/master/KEY.gpg | apt-key add -
apt update
apt install proxmox-ve -y

不要盲目复制粘贴,自己看着执行下去

安装中途会有弹窗,默认选项即可

等个几分钟就装好了,然后重启

浏览器输入https://ip:8006即可打开pve

但是会发现AppArmor报错,开小鸡时候也会报错

重新编译安装AppArmor

apt install git bison flex autoconf libtool swig gettext -y
git clone https://gitlab.com/apparmor/apparmor.git
cd apparmor
export PYTHONPATH=$(realpath libraries/libapparmor/swig/python)
export PYTHON=/usr/bin/python3
export PYTHON_VERSION=3
export PYTHON_VERSIONS=python3
cd ./libraries/libapparmor
./autogen.sh
./configure --prefix=/usr --with-perl --with-python
make
make install
cd ../../binutils/
make
make install
cd ../parser/
make
make install
cd ../utils/
make
make install

下载ARM模板开机

去这里下载arm的模板https://uk.lxd.images.canonical.com/images/

rootfs.tar.xz文件名,基本上什么系统都有

本站文章资源均来源自网络,除非特别声明,否则均不代表站方观点,并仅供查阅,不作为任何参考依据!
如有侵权请及时跟我们联系,本站将及时删除!
如遇版权问题,请查看 本站版权声明
THE END
分享
二维码
海报
甲骨文 ARM 安装PVE开LXC小鸡完整教程
项目地址 https://github.com/pimox/pimox7 重装成debian11 首先使用netboot重装系统为debian11,具体不多说了,大家都会 网络设置 想要安装后不断网,一定要……
<<上一篇
下一篇>>
文章目录
关闭
目 录