树莓派 ALL in ONE
更新 本文已经停止维护,请跳转最新地址 Maktub_Wiki/服务搭建 环境 Raspberry Pi OS Lite 配置开机自启动 auto.sh文件 1234567891011121314151617181920#开启混杂模式ip link set eth0 promisc on#docker macvlan互通ip link add macvlan_br link eth0 type macvlan mode bridgeip addr add 192.168.3.5 dev macvlan_brip link set macvlan_br upip link set macvlan_br promisc onip route add 192.168.3.9 dev macvlan_br#zerotier转发iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADEiptables -A FORWARD -i eth0 -o ztr2qvners -m state --state RELATED,ESTABL...
PVE-OSX-KVM黑苹果
环境 Proxmox 7 制作引导文件下载库1git clone https://github.com/kholia/OSX-KVM.git 下载并转换 OSX-KVM12345678#下载./fetch-macOS-v2.py#转换qemu-img convert BaseSystem.dmg -O raw BaseSystem.img#迁移mv BaseSystem.img /var/lib/vz/template/iso/ 提取opencore /OSX-KVM/OpenCore12345#解压7z x OpenCore.qcow2#迁移mv primary.img /var/lib/vz/template/iso/ 设置虚拟机(Intel)123456789101112131415161718192021args: -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -smbios type=2 -device u...
PVE-黑群晖安装
环境 Proxmox 7 dsm7.1 编译引导文件注册github,fork项目1https://github.com/tossp/redpill-tool-chain 修改配置 获取SataPortMap和DiskIdxMap 12345# 下载地址# https://github.com/pocopico/tinycore-redpill# 获取./rploader.sh satamap now sample_user_config.json 12345678910111213141516# "DiskIdxMap": "0100",第一个sata控制器的磁盘编号01,02,03,04,第二个sata控制器的磁盘编号00# "SataPortMap": "41",两个sata控制器,分别可以叉4个硬盘和1个硬盘{ "extra_cmdline": { "pid": "0x0001", ...
PVE-LXC-Plex服务安装
环境 Proxmox 7 Plex Server PVE安装创建CT配置 /etc/pve/lxc/103.conf 1234567891011arch: amd64cores: 4hostname: Plexmemory: 4096ostype: debianrootfs: local:103/vm-103-disk-0.raw,size=4Gswap: 0lxc.net.0.type: physlxc.net.0.link: enp12s0f0lxc.net.0.flags: uplxc.net.0.name: eth0 配置系统设置静态ip /etc/network/interfaces12345678auto loiface lo inet loopbackauto eth0iface eth0 inet staticaddress 192.168.3.4netmask 255.255.255.0gateway 192.168.3.1 安装依赖1apt install gnupg gnupg2 gnupg1 curl 安装Plex12345echo deb htt...
PVE-HomeAssistant安装配置
环境 Proxmox 7 HomeAssistant 8 配置IOMMU分组1234567891011121314151617#编辑 /etc/default/grub#AMD用户修改为GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on pcie_acs_override=downstream,multifunction"update-grub#编辑 /etc/modules#修改为vfiovfio_iommu_type1vfio_pcivfio_virqfd#最后重启reboot PVE安装创建虚拟机配置1系统->BIOS->OVMF(UEFI) 导入磁盘文件12qm importdisk 102 haos_generic-x86-64-8.0.rc3.img local 使用磁盘12双击磁盘->sata选项->启动引导->sata0 修改配置文件 /etc/pve/qemu-server/102.conf 12345678910111213141516bios: ovmfb...
PVE-LXC-Openwrt系统搭建与配置
环境 Proxmox 7 Openwrt 21.02.3 PVE安装Openwrt开启udp转发1echo 'xt_TPROXY' > /etc/modules-load.d/tproxy.conf 新建LXC123456789pct create 101 \ local:vztmpl/openwrt-21.02.3-x86-64-rootfs.tar.gz \ --rootfs local-lvm:2 \ --ostype unmanaged \ --hostname OpenWrt \ --arch amd64 \ --cores 4 \ --memory 2048 \ --swap 0 修改配置文件 /etc/pve/lxc/101.conf12345678910111213141516arch: amd64cores: 4hookscript: local:snippets/openwrt.plhostname: OpenWrtmemory: 2048ostype: unmanagedrootfs: local:101/vm-101-di...
PVE-RouterOS系统搭建与配置
环境 Proxmox 7 RouterOS 6 PVE安装RouterOS新建虚拟机12345678910111213常规->名称->RouterOS操作系统->客户机操作类型->类别->Linux操作系统->客户机操作类型->版本->5.x-2.6 kernel操作系统->不适用任何介质系统->无需修改系统->机型->q35磁盘->删除所有磁盘CPU->核心->4CPU->类别->hostCPU->CPU权重->2048内存->内存->2048网络->模型->VirtIO(半虚拟化)网络->防火墙->关 下载和导入磁盘 下载RouterOS云镜像的img镜像,并上传到PVE 导入磁盘到虚拟机 12// 104为虚拟机idqm importdisk 104 /var/lib/vz/template/iso/routeros.img local-lvm 虚拟机->硬件->双击磁盘添加 虚拟机->选项->...