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
```
2022-01-20 19:41:38 +00:00
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/other/pve7_post_install.sh)"
2021-12-29 14:27:42 +00:00
```
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
```
2022-01-20 19:41:38 +00:00
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/other/pbs2_post_install.sh)"
2021-12-29 14:40:28 +00:00
```
____________________________________________________________________________________________
< / details >
2022-04-10 00:25:25 +00:00
< details >
< summary markdown = "span" > Proxmox CPU Scaling Governor< / summary >
< h1 align = "center" id = "heading" > Proxmox CPU Scaling Governor < / h1 >
You can change the CPU Scaling Governor to save power or improve performance.
[Generic Scaling Governors ](https://www.kernel.org/doc/html/latest/admin-guide/pm/cpufreq.html?#generic-scaling-governors )
Run the following in the Proxmox Shell.
```
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/other/set_cpu_governor.sh)"
```
____________________________________________________________________________________________
< / 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
```
2022-01-20 19:41:38 +00:00
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/vm/haos_vm.sh)"
2021-12-30 11:40:26 +00:00
```
2022-01-15 10:51:49 +00:00
< h3 align = "center" id = "heading" > Default Settings: 4GB RAM - 32GB Storage - 2vCPU< / h3 >
2021-12-30 11:40:26 +00:00
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.
```
2022-01-20 19:41:38 +00:00
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/ct/pihole_container.sh)"
2021-12-30 11:40:26 +00:00
```
2022-01-16 18:40:05 +00:00
< h3 align = "center" id = "heading" > Default Settings: 512MiB RAM - 4GB Storage - 1vCPU< / h3 >
2021-12-30 11:40:26 +00:00
2022-01-05 22:04:04 +00:00
**Change Pi-hole password:**
2021-12-30 11:40:26 +00:00
Run from the LXC console
```
pihole -a -p
```
____________________________________________________________________________________________
< / details >
2022-01-16 18:40:05 +00:00
< details >
< summary markdown = "span" > Pi-hole with cloudflared LXC< / summary >
< h1 align = "center" id = "heading" > Pi-hole with cloudflared LXC < / h1 >
2022-01-16 18:53:34 +00:00
**Please note:** I don't want discussions about cloudflared in the Issues.
2022-01-16 18:40:05 +00:00
To create a new Proxmox Pi-hole with cloudflared LXC, run the following in the Proxmox web shell.
```
2022-01-20 19:41:38 +00:00
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/ct/pihole_cloudflared_container.sh)"
2022-01-16 18:40:05 +00:00
```
< h3 align = "center" id = "heading" > Default Settings: 1024MiB RAM - 4GB Storage - 1vCPU< / h3 >
**Change Pi-hole password:**
Run from the LXC console
```
pihole -a -p
```
You must configure Pi-hole to use the local cloudflared service as the upstream DNS server by specifying "127.0.0.1#5053" as the "Custom DNS 1 (IPv4)".
____________________________________________________________________________________________
< / 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.
```
2022-01-20 19:41:38 +00:00
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/ct/emby_container.sh)"
2022-01-01 22:06:12 +00:00
```
< 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
```
2022-01-20 19:41:38 +00:00
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/ct/jellyfin_container.sh)"
2021-12-29 14:08:43 +00:00
```
2022-04-10 00:35:50 +00:00
< h3 align = "center" id = "heading" > Default Settings: 2GB RAM - 32GB 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 >
2022-01-10 03:57:57 +00:00
< details >
< summary markdown = "span" > Tvheadend Server LXC< / summary >
< h1 align = "center" id = "heading" > Tvheadend Server LXC < / h1 >
To create a new Tvheadend Server LXC, run the following in the Proxmox web shell.
```
2022-01-20 19:41:38 +00:00
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/ct/tvheadend_container.sh)"
2022-01-10 03:57:57 +00:00
```
< 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.
2022-01-10 04:31:18 +00:00
**You must setup Tvheadend in LXC console first**
Run from the LXC console and follow the instructions:
```
dpkg-reconfigure tvheadend
```
**Tvheadend Server Interface - IP:9981**
2022-01-10 03:57:57 +00:00
____________________________________________________________________________________________
< / details >
2022-01-15 09:54:15 +00:00
< details >
2022-01-15 10:53:32 +00:00
< summary markdown = "span" > jdownloader2 Server LXC< / summary >
2022-01-15 09:54:15 +00:00
2022-01-15 10:53:32 +00:00
< h1 align = "center" id = "heading" > jdownloader2 Server LXC < / h1 >
2022-01-15 09:54:15 +00:00
2022-01-20 21:22:15 +00:00
To create a new jdownloader2 Server LXC, run the following in the Proxmox web shell.
2022-01-15 09:54:15 +00:00
```
2022-01-20 19:41:38 +00:00
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/ct/jdownloader2_container.sh)"
2022-01-15 09:54:15 +00:00
```
< h3 align = "center" id = "heading" > Default Settings: 2GB RAM - 32GB 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.
2022-01-15 10:48:15 +00:00
**You must setup jdownloader2 in LXC console first**
Run from the LXC console and follow the instructions:
```
sudo -u jdown2 java -jar /opt/jdown2/JDownloader.jar -norestart
```
2022-01-20 21:22:15 +00:00
____________________________________________________________________________________________
< / details >
< details >
2022-01-25 21:41:57 +00:00
< summary markdown = "span" > LanguageTool Server LXC< / summary >
2022-01-20 21:22:15 +00:00
< h1 align = "center" id = "heading" > LanguageTool Server LXC < / h1 >
To create a new LanguageTool Server LXC, run the following in the Proxmox web shell.
```
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/ct/languagetool_container.sh)"
```
< h3 align = "center" id = "heading" > Default Settings: 2GB RAM - 64GB Storage - 2vCPU< / h3 >
2022-02-05 09:15:15 +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-20 21:22:15 +00:00
2022-02-05 08:49:44 +00:00
____________________________________________________________________________________________
< / details >
< details >
< summary markdown = "span" > Logitech Media Server LXC< / summary >
< h1 align = "center" id = "heading" > Logitech Media Server LXC < / h1 >
To create a new Logitech Media Server LXC, run the following in the Proxmox web shell.
```
bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/ct/lms_container.sh)"
```
< h3 align = "center" id = "heading" > Default Settings: 2GB RAM - 64GB Storage - 2vCPU< / h3 >
2022-02-05 09:15:15 +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-02-05 08:49:44 +00:00
2022-01-15 09:54:15 +00:00
____________________________________________________________________________________________
< / details >