PR

AlmaLinux 9.5 をインストールしてみました

1. はじめに

CentOS はサポートが終了してしまったので、AlmaLinux に移行することにしました。
最初のインストールだけやり方がわからなく何度もやり直したのでインストールした手順をメモしておきます。

2. AlmaLinux 9.5 のダウンロード

Get AlmaLinux OS
AlmaLinux OS 9.5 Minimal ISO をダウンロードします。

3. 使用した環境

Windows 11 Pro
VMWare Workstation 17 Player
VNC Viewer

仮想マシンを使ってインストールしています。
メモリは 16GB、CPU は 4 つ割り当てています。
CD/DVD(IDE) にダウンロードした AlmaLinux 9.5 Minimal ISO を設定して起動します。

4. インストール

ここからが厄介で、環境によって以下のメッセージが表示されることがあります。

X did not start in the expected time, failling back to text mode. There are multiple ways to avoid this issue:
 * Do not load the stage2 image over a slow network link.
 * Wait longer for the X server startup with the inst.xtimeout=<SECONDS> boot option. The default is 60 seconds.
 * Load the stage2 image into memory with the rd.live.ram boot option to decrease access time.
 * Enforce text mode when installing from remote media with the inst.text boot option.
 * Use the customer portal download URL in ilo/drac devices for greater speed.
=================================================================================
=================================================================================
X was unable to start on your machine. Would you like to start VNC to connect to
this computer from another computer and perform a graphical installation or
continue with a text mode installation?

1) Start VNC
2) Use text mode

Please make a selection from the above ['c' to continue, 'q' to quit, 'r' to
refresh];

おそらく QNAP の NAS に ISO ファイルを置いているため、ネットワークの問題が原因だと思われます。
ローカルに持ってくるか、上手くいくまで何回も試すのもいいですが、選択できるため GUI でインストールしたいこともあり、1 を選択してみます。

選択すると VPN サーバーに接続するためのパスワード設定を求められるので設定します。
その後、VNC Viewer で接続するための IP アドレスとポートが表示されるのでメモしておきます。
メモした IP アドレスとポートで VNC Viewer で接続します。

が、・・・接続できず。

仕方ないので 2 を選択してテキストモードでインストールします。

1) [x] Language settings
2) [x] Time settings
3) [x] Installation source
4) [x] Software selection
5) [!] Installation Destination
6) [x] Kdump
7) [x] Network configuration
8) [x] Root password
9) [!] User creation

Please make a selection from the above ['b' to begin installation, 'q' to quit,
'r' to refresh]:

1 から 9 までの設定を行い、b を選択してインストールを開始します。

1) を Japanese に変更。
2) を Asia/Tokyo に変更。
3) を CD/DVD に変更。
4) では Minimal Install を選択すると、以下のメッセージが表示されます。

1) [ ] Standard
2) [ ] Development Tools
3) [ ] Headless Management
4) [ ] Legacy UNIX Compatibility
5) [ ] Network Servers
6) [ ] Scientific Support
7) [ ] Security Tools
8) [ ] Smart Card Support
9) [ ] System Tools

Please make a selection from the above ['c' to continue, 'q' to quit,
'r' to refresh]:

1, 2, 5, 9 を選択して c を選択します。

5) はデフォルトのままで c を選択します。
6) はそのまま何も選択せず。
7) もそのまま何も選択せず。
8) はルートのパスワードを設定します。
9) はユーザー作成なので今回はスキップします。

設定が終わったので b を選択してインストールを開始します。

Installation complete. Press ENTER to quit:

と表示されたらインストールが完了です。
再起動するとログイン画面が表示されました。

5. まとめ

AlmaLinux 9.5 をインストールしてみました。
VNC でインストールできず、テキストモードでインストールしましたが面倒なので、ローカルに持ってくるか何度も試すのがいいかもしれません。

今回の記事も、Github Copilot が7割くらい書いてくれました。

A. 参考サイト

AlmaLinux9をVNC viewerから接続してインストール

B. 参考書籍

コメント