succi0303 blog

This is my personal blog. All posts are my own.

Proxmox Helper ScriptsのPVE post installスクリプトでProxmoxを初期設定する

Proxmox VEをホストにインストールして初期設定した。設定の手段としてProxmox Helper ScriptsのPVE Post installスクリプトを使ってみた。

community-scripts.github.io

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/post-pve-install.sh)"

スクリプトを実行すると対話式で次のように設定を進めることができた。

Proxmox Helper Scripts
PVE Post Install
https://community-scripts.github.io/ProxmoxVE/scripts?id=post-pve-install

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/post-pve-install.sh)"

Start the Proxmox VE Post Install Script?
-> y

Deb822 sources detected
-> OK

'pve-enterprise' repository already exists.
What do you want to do?
-> disable

'Ceps enterprise' repository already exists.
What do you want to do?
-> disable

The 'pve-no-subscription' repository provides access to all of the open-source components of Proxmox VE.
Add 'pve-no-subscription' repository (deb822)?
-> yes

The 'pve-test' repository can give advanced users access to new features and updates before they are officially released.
Add (Usiabled) 'pvetest' repository (deb822)?
-> yes

This will disabled the nag message reminding you to purchase a subscription every time you log in to the web interface.
Disable subscription nag?
-> yes

Supporting the software's development team is essential. Check their official website's support Subscriptions for pricing. Without their dedicated work, we wouldn't have this exceptional software.
-> OK

If you plan to utilize a single node instead of a cluster environment, you can disable unnecessary high availability (HA) services, thus reclaiming system resources.
If HA become necessary at a later stage, the services can be re-enabled.
Disable high availability?
-. yes

Disable Corosync for Proxmox VE Cluster ?
-> yes

Update Proxmox VE now?
-> yes

If you have multiple Proxmox VE hosts in a cluster, please make sure to run this script on every node individually.
After completing these steps, it is atrongly recommended to REBOOT your node.
After the upgrade or post-install routines, an always clear your browser cache or perform a hard reload (Ctrl+Shift+R) before using the Proxmox VE Web UI to avoid UI display issues.
-> OK

Reboot Proxmox VE now? (Recommended)
-> yes

Aptのソースリポジトリの設定と、Web UIログイン時のサブスクリプション勧誘メッセージ非表示、高可用性関連サービスの無効化、パッケージ更新、ホストの再起動をまとめて実行できることが確認できた。