Scripts for Proxmox VE and Proxmox BS
Find a file
2021-12-29 20:14:34 +01:00
emby_container.sh Added emby_container.sh emby_setup.sh 2021-12-29 15:21:12 +01:00
emby_setup.sh Added emby_container.sh emby_setup.sh 2021-12-29 15:21:12 +01:00
jellyfin_container.sh Added jellyfin_container.sh jellyfin_setup.sh 2021-12-29 15:03:41 +01:00
jellyfin_setup.sh Added jellyfin_container.sh jellyfin_setup.sh 2021-12-29 15:03:41 +01:00
LICENSE Added LICENSE 2021-12-29 14:37:35 +01:00
pbs2_post_install.sh Updated pbs2_post_install.sh and pve7_post_install.sh 2021-12-29 16:08:54 +01:00
postgresql_container.sh Added PostgreSQL LXC Container scripts 2021-12-29 20:14:15 +01:00
postgresql_pgadmin4_container.sh Added PostgreSQL LXC Container scripts 2021-12-29 20:14:15 +01:00
postgresql_pgadmin4_setup.sh Added PostgreSQL LXC Container scripts 2021-12-29 20:14:15 +01:00
postgresql_setup.sh Added PostgreSQL LXC Container scripts 2021-12-29 20:14:15 +01:00
pve7_post_install.sh Updated pbs2_post_install.sh and pve7_post_install.sh 2021-12-29 16:08:54 +01:00
README.md Updated README.md 2021-12-29 20:14:34 +01:00

Proxmox Scripts

Inspired by tteck's Proxmox helper scripts

Scripts for Proxmox VE and Proxmox BS.

Note: The LXC Contrainer are currently untested. But they should work. I'll test them soon.

Proxmox VE 7 Post Install

Proxmox Server Solutions

Proxmox VE 7 Post Install

This script will Disable the Enterprise Repo, Add & Enable the No-Subscription Repo and attempt the No-Nag fix.

Run the following in the Proxmox Web Shell. ⚠️ PVE7 ONLY

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.


Proxmox BS 2 Post Install

Proxmox Server Solutions

Proxmox BS 2 Post Install

This script will Disable the Enterprise Repo and Add & Enable the No-Subscription Repo.

Run the following in the Proxmox Web Shell. ⚠️ PBS2 ONLY

bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/pbs2_post_install.sh)"

Jellyfin Server LXC

Jellyfin Server LXC

To create a new Proxmox Jellyfin Server LXC, run the following in the Proxmox web shell.

bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/jellyfin_container.sh)"

Default Settings: 2GB RAM - 8GB Storage - 2vCPU

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


Emby Server LXC

Emby Server LXC

To create a new Proxmox 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)"

Default Settings: 2GB RAM - 8GB Storage - 2vCPU

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


PostgreSQL (**without** pgadmin4) LXC

PostgreSQL

Proxmox PostgreSQL (**without** pgadmin4) LXC Container

To create a new Proxmox PostgreSQL (without pgadmin4) LXC Container, run the following in the Proxmox web shell.

bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/postgresql_container.sh)"

Default Settings: 1GB RAM - 4GB Storage - 1vCPU

To enable PostgreSQL to listen to remote connections, you need to edit the configuration file. To do this, open the console in your PostgreSQL LXC:

nano /etc/postgresql/14/main/postgresql.conf

Chnage listen_addresses='localhost' to listen_addresses='*' Save and exit the editor with "Ctrl+O", "Enter" and "Ctrl+X".

Restart PostgreSQL with

sudo systemctl restart postgresql 

Change password of postgres user:

sudo -u postgres psql

\password postgres

\q

Create a new user (e.g. for Nextcloud):

sudo -u postgres createuser -P -d nextcloud

Create a new databse (e.g. for Nextcloud):

sudo -u postgres createdb -O nextcloud nextcloud_db

This create the database nextcloud_db and set the ownership to the user nextcloud


PostgreSQL (**with** pgadmin4) LXC

PostgreSQL

Proxmox PostgreSQL (**with** pgadmin4) LXC Container

To create a new Proxmox PostgreSQL (with pgadmin4) LXC Container, run the following in the Proxmox web shell.

bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/postgresql_pgadmin4_container.sh)"

Default Settings: 2GB RAM - 8GB Storage - 2vCPU

To enable PostgreSQL to listen to remote connections, you need to edit the configuration file. To do this, open the console in your PostgreSQL LXC:

nano /etc/postgresql/14/main/postgresql.conf

Chnage listen_addresses='localhost' to listen_addresses='*' Save and exit the editor with "Ctrl+O", "Enter" and "Ctrl+X".

Restart PostgreSQL with

sudo systemctl restart postgresql 

Change password of postgres user:

sudo -u postgres psql

\password postgres

\q

Create a new user (e.g. for Nextcloud):

sudo -u postgres createuser -P -d nextcloud

Create a new databse (e.g. for Nextcloud):

sudo -u postgres createdb -O nextcloud nextcloud_db

This create the database nextcloud_db and set the ownership to the user nextcloud.

To setup pgadmin4, open the console in your PostgreSQL LXC and run the following command:

/usr/pgadmin4/bin/setup-web.sh

Follow the instructions