Proxmox
Proxmoxとは
Proxmox VEとは、Proxmox Virtual Environmentという仮想化プラットフォーム。
Debianがベースであり、オープンソースで多くの機能が利用できる。
管理にはWebインターフェースが利用でき、ESXiと比較されることが多い。
仕組みとして、KVMとOpenVZが活用されているらしい。
Proxmox VEのインストール
環境:
富士通 PRIMERGY 1330 M1
まずはじめに、Proxmoxの公式ページのISOをダウンロードする。
DLが完了した後、ISOファイルをDVDやUSBに書き込む。
自分の場合はDVDに焼きました。
※2021/02/11時点の最新バージョンは6.3-1
インストール
モニターをスマホで録画したものになるので汚くてすみません。
最初に起動するとインストーラが表示されるため、「Install Proxmox VE」を選択

続いて、EULAに関してOKな場合は許可

続いて、インストール先のHDDを選択する。
自分の環境はRAID5を組んでいるので、特に変更せず、/dev/sdaにext4でインストール
次に進むとTimeZoneがでてくるのでお住まいの地域に。()

次にパスワードについて聞かれるので入力。
続いて、IPアドレス設定。これは固定、もしくはDHCPで割り当てる。

そして、インストールが進み、再起動。

以上でインストールが完了。
Webインターフェースから設定
インストールが完了すると、Webでアクセスできるようになるため、
「https://<ip>:8006」にアクセスするとサインインができます。
パスワードやユーザ名を入力し、ログイン。
有効なライセンスがありませんはとりあえず無視。


このようにWebインターフェースが表示されれば完了。
パッケージ類の更新
proxmoxではデフォルトでenterpriseリポジトリを参照するため、更新ができない。
したがって、まずは更新できるようにリポジトリを編集する。
enterprise用のリポジトリを無効にし、サブスクリプションなしリポジトリを追加する。
#vi /etc/apt/sources.list.d/pve-enterprise.list
- deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
+ #deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
#vi /etc/apt/souces.list
+ # PVE pve-no-subscription repository provided by proxmox.com,
+ # NOT recommended for production use
+ deb http://download.proxmox.com/debian/pve buster pve-no-subscription
#apt update && apt upgrade //更新