proxmox-scripts/README.md

156 lines
5.4 KiB
Markdown
Raw Normal View History

2021-12-29 13:37:54 +00:00
## Proxmox Scripts
2021-12-30 11:40:26 +00:00
Inspired by and based on [tteck's Proxmox helper scripts](https://github.com/tteck/Proxmox)
2021-12-29 14:08:43 +00:00
2021-12-29 15:10:39 +00:00
Scripts for Proxmox VE and Proxmox BS.
2021-12-29 14:54:48 +00:00
- Proxmox VE = [Proxmox Virtual Environment](https://proxmox.com/en/proxmox-ve)
- Proxmox BS = [Proxmox Backup Server](https://proxmox.com/en/proxmox-backup-server)
2021-12-29 14:27:42 +00:00
<details>
<summary markdown="span">Proxmox VE 7 Post Install</summary>
<h1 align="center" id="heading"> Proxmox VE 7 Post Install </h1>
2021-12-29 14:40:28 +00:00
This script will Disable the Enterprise Repo, Add & Enable the No-Subscription Repo and attempt the *No-Nag* fix.
2021-12-29 14:27:42 +00:00
2021-12-30 11:40:26 +00:00
Run the following in the Proxmox Web Shell.
2021-12-29 14:27:42 +00:00
```
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/pve7_post_install.sh)"
```
It's recommended to update Proxmox **after** running this script, **before** adding any VM/CT.
____________________________________________________________________________________________
</details>
2021-12-29 14:08:43 +00:00
2021-12-29 14:40:28 +00:00
<details>
<summary markdown="span">Proxmox BS 2 Post Install</summary>
<h1 align="center" id="heading"> Proxmox BS 2 Post Install </h1>
2021-12-29 15:10:39 +00:00
This script will Disable the Enterprise Repo and Add & Enable the No-Subscription Repo.
2021-12-29 14:40:28 +00:00
2021-12-30 11:40:26 +00:00
Run the following in the Proxmox Web Shell.
2021-12-29 14:40:28 +00:00
```
2021-12-29 15:11:22 +00:00
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/pbs2_post_install.sh)"
2021-12-29 14:40:28 +00:00
```
____________________________________________________________________________________________
</details>
2021-12-29 14:08:43 +00:00
<details>
2021-12-30 11:40:26 +00:00
<summary markdown="span">Home Assistant OS VM</summary>
2021-12-29 14:08:43 +00:00
2021-12-30 11:40:26 +00:00
<h1 align="center" id="heading"> Home Assistant OS VM </h1>
To create a new Proxmox VM with the latest version of Home Assistant OS, run the following from Proxmox web shell
With 32GB Storage:
```
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/haos_vm_32gb.sh)"
```
With 64GB Storage:
```
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/haos_vm_64gb.sh)"
```
2021-12-29 14:08:43 +00:00
2021-12-30 11:40:26 +00:00
<h3 align="center" id="heading">Default Settings: 4GB RAM - 32GB or 64GB Storage - 2vCPU</h3>
After the script completes, If you're dissatisfied with the default settings, click on the VM, then on the **_Hardware_** tab and change the **_Memory_** and **_Processors_** settings to what you desire. Once all changes have been made, **_Start_** the VM.
**Home Assistant Interface - IP:8123**
____________________________________________________________________________________________
</details>
<details>
<summary markdown="span">Pi-hole LXC</summary>
<h1 align="center" id="heading"> Pi-hole LXC </h1>
To create a new Proxmox Pi-hole LXC, run the following in the Proxmox web shell.
```
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/pihole_container.sh)"
```
<h3 align="center" id="heading">Default Settings: 512MiB RAM - 4GB Storage - 1vCPU</h3>
⚙️ **To set your password:**
Run from the LXC console
```
pihole -a -p
```
____________________________________________________________________________________________
</details>
2022-01-01 22:06:12 +00:00
<details>
<summary markdown="span">Emby Server LXC</summary>
<h1 align="center" id="heading"> Emby Server LXC </h1>
To create a new Emby Server LXC, run the following in the Proxmox web shell.
```
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/emby_container.sh)"
```
<h3 align="center" id="heading">Default Settings: 2GB RAM - 8GB Storage - 2vCPU</h3>
After the script completes, If you're dissatisfied with the default settings, click on the LXC, then on the **_Resources_** tab and change the **_Memory_**, **_Cores_** and **_Root Disk_** (Resize disk) settings to what you desire. Changes are immediate.
**Emby Server Interface - IP:8096**
____________________________________________________________________________________________
</details>
2021-12-30 11:40:26 +00:00
<details>
<summary markdown="span">Jellyfin Server LXC</summary>
2021-12-29 14:08:43 +00:00
<h1 align="center" id="heading"> Jellyfin Server LXC </h1>
2022-01-01 22:06:12 +00:00
To create a new Jellyfin Server LXC, run the following in the Proxmox web shell.
2021-12-29 14:08:43 +00:00
```
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/jellyfin_container.sh)"
```
2021-12-30 11:40:26 +00:00
<h3 align="center" id="heading">Default Settings: 2GB RAM - 8GB Storage - 2vCPU</h3>
2021-12-29 14:08:43 +00:00
After the script completes, If you're dissatisfied with the default settings, click on the LXC, then on the **_Resources_** tab and change the **_Memory_**, **_Cores_** and **_Root Disk_** (Resize disk) settings to what you desire. Changes are immediate.
**Jellyfin Server Interface - IP:8096**
____________________________________________________________________________________________
</details>
2021-12-29 14:21:28 +00:00
2021-12-29 14:22:44 +00:00
<details>
2022-01-01 22:06:12 +00:00
<summary markdown="span">Plex Media Server LXC</summary>
2021-12-29 14:21:28 +00:00
2022-01-01 22:06:12 +00:00
<h1 align="center" id="heading"> Plex Media Server LXC </h1>
2021-12-29 14:21:28 +00:00
2022-01-01 22:06:12 +00:00
To create a new Plex Media Server LXC, run the following in the Proxmox web shell.
2021-12-29 14:21:28 +00:00
```
2022-01-01 22:06:12 +00:00
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/plex_container.sh)"
2021-12-29 14:21:28 +00:00
```
2021-12-30 11:40:26 +00:00
<h3 align="center" id="heading">Default Settings: 2GB RAM - 8GB Storage - 2vCPU</h3>
2021-12-29 14:21:28 +00:00
After the script completes, If you're dissatisfied with the default settings, click on the LXC, then on the **_Resources_** tab and change the **_Memory_**, **_Cores_** and **_Root Disk_** (Resize disk) settings to what you desire. Changes are immediate.
2022-01-01 22:06:12 +00:00
**Plex Media Server Interface - IP:32400/web**
2021-12-29 14:21:28 +00:00
____________________________________________________________________________________________
</details>