31HOST SUPPORT » Manuals » LINUX
» How To Install Virtualmin on Rocky Linux 9 / AlmaLinux 9

How To Install Virtualmin on Rocky Linux 9 / AlmaLinux 9

How To Install Virtualmin on Rocky Linux 9 / AlmaLinux 9

系統管理員的主要工作圍繞著系統和軟件的安裝、升級和監控,以確保所有軟件和硬件組件都健康並按預期工作。 大多數 Linux 系統管理員更喜歡從命令行工作,這可能是因為 GUI 工具需要更多的系統資源。

但是,您可能會發現自己需要 GUI 工具來簡化管理,或者您沒有記住特定任務的適當命令。 有幾個 GUI 管理工具可以幫助您。 它們包括 MySQL Workbench、phpMyAdmin、cPanel、Cockpit、Zenmap、YaST、CUPS、Shorewall、Webmin 等。

在本教程中,我們將學習在 Rocky Linux 9 / AlmaLinux 9 上安裝和使用 Virtualmin。Virtualmin 是一個域託管和網站控制面板,允許用戶創建和管理許多域、Web 應用程序、郵箱和數據庫。 Virtualmin 建立在 Webmin 之上,幾乎與所有基於 UNIX 的操作系統兼容。

Virtualmin 有兩個版本:
Virtualmin GPL:不需要許可證的免費開源版本
Virtualmin Professional:此版本需要訂閱費,但具有高級功能與 Virtualmin 相關的功能是:

數據庫管理:它提供了用於管理數據庫以及將管理委派給帳戶持有人的綜合工具。在 UI 中,您可以添加、刪除、導出和導入數據庫轉儲等。
    Webmin 集成:Virtualmin 由同一團隊基於 Webmin 構建,並與其用戶管理、監控功能、軟件管理、ACL 和安全功能完全集成。
    Linux 防火牆管理:它包含並集成了 Webmin 的防火牆管理功能,以幫助管理系統防火牆。
    提高安全性:它提供了多種工具來幫助您保護系統和數據的安全。所有產品都是通過系統標準軟件包存儲庫(CentOS/RHEL 上的 yum/dnf 或 Debian/Ubuntu 上的 apt)提供的,因此更新它們很容易並且可以自動化。
    警報、圖形和日誌記錄:用於輕鬆查看和搜索系統和 Web 服務器日誌、服務和網絡狀態的高級監控和電子郵件/文本警報、系統軟件和 Web 應用程序更新通知以及當前使用詳情。
    可擴展:Virtualmin 可以使用源自腳本或其他程序的新模塊和主題進行擴展、腳本化和定制。
    
Getting Started

在我們開始之前,建議運行系統更新;

#sudo dnf update -y
Reboot the system for the updates to take effect;
#sudo shutdown -r now
Once the system boots set the hostname for your system.
#sudo hostnamectl set-hostname virtualmin.techviewleo.com

@@1. Download the Virtualmin install script

Virtualmin offers an automated installation script. This makes it easy to install and run Virtualmin on the supported operating systems.

n this guide, we will install the Rocky Linux 9 / AlmaLinux 9 installation script with the command:

#wget https://raw.githubusercontent.com/virtualmin/virtualmin-install/master/virtualmin-install.sh

Once downloaded, make the script executable:
#chmod a+x virtualmin-install.sh

@@2. Install Virtualmin Rocky Linux 9 / AlmaLinux 9

We will use the downloaded script to automate Virtualmin installation on Rocky Linux 9 / AlmaLinux 9 as shown:
#sudo ./virtualmin-install.sh
The installation will start as shown, agree to continue;
Running Virtualmin 7 pre-installation setup:
####
Running Virtualmin 7 pre-installation setup:
  Syncing system time ..
  .. done
  Updating CA certificates ..
  .. done

  Welcome to the Virtualmin GPL installer, version 7.0.0-RC12

  This script must be run on a freshly installed supported OS. It does not
  perform updates or upgrades (use your system package manager) or license
  changes (use the "virtualmin change-license" command).

  The systems currently supported by install script are:

    Red Hat Enterprise Linux derivatives
      - Alma and Rocky 8 and 9 on x86_64
      - CentOS and RHEL 7 on x86_64
      
    Debian Linux derivatives
      - Ubuntu 20.04 LTS and 22.04 LTS on i386 and amd64
      - Debian 10 and 11 on i386 and amd64

  If your OS/version/arch is not listed, installation will fail. More
  details about the systems supported by the script can be found here:

    https://www.virtualmin.com/os-support

  The selected package bundle is LAMP and the size of install is
  full. It will require up to 650 MB of disk space.

  Exit and re-run this script with --help flag to see available options.

 Continue? (y/n) y
####

The installation will then continue, and the required package and configurations will be made. Once complete, you will see this:

https://techviewleo.com/install-virtualmin-on-rocky-almalinux/

整合亞、歐、美三大洲高性能高性價比的伺服器,滿足學生、站長、中小企業的各需球。提供各種VPS、獨立主機方案,讓您透過ROOT權限,完全主宰您的伺服器,肆意揮灑您在全世界的影響力。
31HOST是您尋尋覓覓,架構高性價比的最佳夥伴。

效能第一,性價第一,服務第一
超過20年伺服器配置與維護專業,經驗豐富與充滿熱情的服務團隊,讓步同預算與需要的每一個人,都能擁有最合適的網站架構計畫以及網站性能表現。