# OmvInPve **Repository Path**: ivanhao1984/OmvInPve ## Basic Information - **Project Name**: OmvInPve - **Description**: Install openmediavault4 in Proxmox VE ( 5.3 5.4 6.0) - **Primary Language**: Shell - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-17 - **Last Updated**: 2021-02-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 注意:此脚本为测试用途,强烈不建议直接在pve中安装omv,请使用systemd-nspawn版本: [systemd-v1.0](https://github.com/ivanhao/OmvInPve/tree/systemd-v1.0)或在pve的虚拟机中安装omv >This is a omv4 install in proxmox ve 5.3/5.4/6.0 shell script. ## new systemd-nspawn ## add new systemd-nspawn version in [systemd-v1.0](https://github.com/ivanhao/OmvInPve/tree/systemd-v1.0) use `./install.sh` to install. ## install guide ## 1. clone or download the code to your proxmox ve. `git clone https://github.com/ivanhao/OmvInPve.git` 2. cd to the path 3. execute the `chmod +x ./*.sh` command to make it have right permission to execute the install or uninstall. 4. `./OmvInPve.sh` to install. > Don't forget to make a snapshot for rpool before run it. > you must run this script as `root`. ## uninstall guide ## `apt-get autoremove openmediavault` or rollback your zfs rpool's snapshot and reboot. *** >这是一个在proxmox ve 5.3/5.4/6.0 中安装OMV的脚本 ## 新的systemd-nspawn版本 ## 增加一个新的systemd-nspawn版本: [systemd-v1.0](https://github.com/ivanhao/OmvInPve/tree/systemd-v1.0) 好处是不污染主系统,随用随抛,与主系统隔离。 用`./install.sh`来安装。 ## 安装说明 ## #### 感谢“proxmox研究”群的 灬心海ζ丶 提供的安装方式,我只是在他的基础上整理了一键安装的脚本。我是群里的龙天,如果这个脚本帮到你了,麻烦点一下右上角的star小星星^_^ #### 2020-11-19 感谢`电脑Doctor` 提供了pve6.2的安装方式更新 1. clone或下载安装包到proxmox ve里,例如在/root目录运行:`git clone https://github.com/ivanhao/OmvInPve.git`。 2. 命令行cd到安装包的路径里。 3. 执行`chmod +x ./*.sh`来让程序有执行的权限。 4. `./OmvInPve.sh`来安装,根据提示很快就完成了。然后刷新界面。 > 不要忘记执行前给rpool做个快照,以便恢复快照。 > 需要用root账号来运行 ## 卸载 ## `apt-get autoremove openmediavault` 来卸载。 或者 回滚你的rpool快照,重启。 ## Preview 预览 ## ![preview](./preview.png) > 如果用OMV共享pve的rpool,需要设置acl权限: ``` zfs set aclinherit=passthrough rpool zfs set acltype=posixacl rpool ``` #### 如果这个脚本帮到你了,麻烦点一下右上角的star小星星^_^ ## qq交流群: 878510703 ![qq](http://upload-images.jianshu.io/upload_images/4171480-e0204ead0fb41d5e.jpg) ## 如果觉得好的请捐赠一下^_^ ![alipay](https://upload-images.jianshu.io/upload_images/4171480-04c3ebb5c11cfdf9.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) 感谢捐赠人员! 捐赠列表: *韬祺(来源支付宝)