Duke Yin's Technology database

PVE脚本合辑

PVE系统

Proxmox Clean Orphaned LVM

此脚本帮助Proxmox用户识别并删除不再与任何虚拟机或LXC容器关联的孤立LVM卷。它扫描所有LVM卷,检测未使用的卷,并提供一个交互式提示以安全地删除它们。为了防止意外删除,系统关键卷如根、交换和数据被排除。

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/clean-orphaned-lvm.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/tools/pve/clean-orphaned-lvm.sh)"

Proxmox VE Kernel Clean

清理未使用的内核映像有助于缩短GRUB菜单的长度并释放磁盘空间。通过删除旧的、未使用的内核,系统可以节省磁盘空间并简化启动过程。

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/kernel-clean.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/tools/pve/kernel-clean.sh)"

Proxmox VE LXC Cleaner

此脚本提供了删除日志和缓存以及重新填充 Ubuntu 和 Debian 系统的 apt 列表的功能。

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/kernel-clean.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/tools/pve/clean-lxcs.sh)"

Proxmox VE LXC Filesystem Trim

这通过管理未使用的块来维护SSD性能。超量配置的存储系统也需要管理以防止不必要的存储使用。虚拟机自动执行fstrim,而LXC容器需要手动或自动的fstrim过程以获得最佳性能。

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/fstrim.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/tools/pve/fstrim.sh)"

Proxmox VE Kernel Pin

内核固定是轻松管理内核固定和解锁的必备工具。

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/kernel-pin.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/tools/pve/kernel-pin.sh)"

操作系统虚拟机

Debian12

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/debian-vm.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/vm/debian-vm.sh)"

Debian13

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/debian-13-vm.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/vm/debian-13-vm.sh)"

Docker

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/docker-vm.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/vm/docker-vm.sh)"

Username: root

Password: docker

OpenMediaVault

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/omv.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/omv.sh)"

Username: admin

Password: openmediavault

OpenWrt

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/openwrt-vm.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/vm/openwrt-vm.sh)"

Ubuntu 25.04

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/ubuntu2504-vm.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/vm/ubuntu2504-vm.sh)"

安全

Vaultwarden

Alpine Linux版本

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-vaultwarden.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/alpine-vaultwarden.sh)"

通常

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/vaultwarden.sh)"
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-vaultwarden.sh)"

文档和笔记

Cloudreve

Cloudreve是一个开源的、由社区驱动的云存储系统,提供文件共享、同步和管理功能。它支持广泛的存储后端,并与各种通知和日志平台集成。

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/cloudreve.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/cloudreve.sh)"

config file /opt/cloudreve/data/conf.ini

Memos LXC

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/memos.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/memos.sh)"

ONLYOFFICE Docs LXC

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/onlyoffice.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/onlyoffice.sh)"

Username: admin

Password: admin

Syncthing LXC

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/syncthing.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/syncthing.sh)"

Alphine Linux版本

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-syncthing.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/alpine-syncthing.sh)"

Wiki.jsLXC

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/wikijs.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/wikijs.sh)"

Config: /opt/wikijs/config.yml

媒体

Jellyfin Media Serverv10.10.7LXC

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/jellyfin.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/jellyfin.sh)"

Config: /etc/jellyfin/

Navidrome

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/navidrome.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/navidrome.sh)"

Config: /etc/navidrome/navidrome.toml

摄像头

Frigate

Frigate是一款基于实时AI物体检测的开源NVR。所有处理都在您的硬件上本地进行,您的摄像头视频从未离开您的家。

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/frigate.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/frigate.sh)"

go2rtc Interface port:1984

物联网和智能家居

ESPHome

ESPHome是一个使用配置文件控制基于ESP8266/ESP32的设备并使其与智能家居系统集成的平台。它提供了一种简单灵活的方式来设置和管理这些设备的功能,包括定义和自动化操作、监控传感器以及连接到网络和其他服务。ESPHome旨在用户友好且易于使用,并支持广泛的特性和集成,使其成为智能家居项目和物联网应用的流行选择。

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/esphome.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/esphome.sh)"

Home Assistant OS

此脚本自动使用Home Assistant团队提供的官方KVM(qcow2)磁盘镜像创建虚拟机(VM)。它包括查找、下载和提取镜像、定义用户自定义设置、导入和挂载磁盘、设置启动顺序以及启动虚拟机。它支持各种存储类型,且不涉及任何隐藏安装。脚本完成后,点击虚拟机,然后点击摘要选项卡,以找到虚拟机的IP。

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/haos-vm.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/vm/haos-vm.sh)"

AI 与编程

Gitea LXC

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/gitea.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/gitea.sh)"

Alpine Linux

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-gitea.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/alpine-gitea.sh)"

Ollama

Ollama是一款允许您在您的电脑上本地运行大型语言模型的工具。这意味着您可以在无需互联网连接或依赖云服务的情况下,对这些AI模型进行实验和使用。它简化了管理和运行这些模型的过程,提供了一种保护您的数据隐私并可能提高工作效率的方法。1您可以使用Ollama创建本地聊天机器人、进行AI研究、开发注重隐私的AI应用,以及将AI集成到现有系统中。

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/ollama.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/ollama.sh)"

LibreTranslate

免费且开源的机器翻译API,完全自托管。与其他API不同,它不依赖于谷歌或Azure等专有服务提供商来进行翻译。相反,它的翻译引擎由开源的Argos Translate库提供动力。

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/libretranslate.sh)"
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/libretranslate.sh)"

#

发布评论

评论

标注 * 的为必填项。