Now that you have downloaded the necessary files, it is time for Part 2: Configuring and Installing Your Free Local CentOS 9 Server. In this section, we will walk through setting up your virtual environment step by step so you can host websites, run applications, and manage system resources efficiently.
1. Preparing the Virtual Machine in VMware
First, search for "CentOS 9 ISO download" on Google, click the official link, and download the x86_64 ISO file. Once the download finishes, launch VMware Workstation.
1.Start the Wizard:VMware Interface.
Click on Create a New Virtual Machine. When the wizard window pops up, select the default Typical (recommended) configuration and click Next.
2.Load the ISO:OS Selection.
Choose Installer disc image file (iso), click Browse to select your downloaded CentOS 9 ISO file, and click Next.
3.Account & Machine Details:Naming & Paths.
Enter your desired Full Name, Username, and Password. On the next screen, name your virtual machine and choose a secure folder path to store its files.
4.Allocate Storage:Disk Options.
Set the maximum disk size. A minimum of 50 GB is recommended for smooth operations. Keep the default option Split virtual disk into multiple files selected and click Next.
5.Finalize VM Creation:Pre-boot Stage.
Untick the box that says "Power on this virtual machine after creation" and click Finish.
2. Optimizing the Server Hardware Settings
Before powering on the machine, you need to adjust a few settings to ensure maximum stability and prevent conflicts. Click on Edit virtual machine settings.
-
Memory: Allocate at least 2 GB (2048 MB) of RAM.
-
Processors: Allocate 2 to 4 cores, depending on your host computer's capabilities.
-
Network Adapter: Change the connection type to Bridged so the server gets its own unique IP address on your local network.
-
Remove Auto-Install Conflict: Select the second CD/DVD drive labeled autoinst.iso and click Remove at the bottom of the menu. This ensures you can customize the installation manually. Click OK to save.
3. Installing CentOS Stream 9
Click Power on this virtual machine. Click inside the black console screen, use your keyboard's up-arrow key to highlight Install CentOS Stream 9, and press Enter.
After the system loads the necessary drivers, the Welcome to CentOS Stream 9 screen will appear. Select your preferred language and click Continue to open the Installation Summary dashboard.
Critical Configuration Steps:
-
Installation Destination: Click this option. You will see the 50 GB virtual disk you created earlier. Simply click Done in the top-left corner to confirm automatic partitioning.
-
Root Password: Click here to set a strong password for your administrator (
root) account. Crucially, untick the option that says "Lock root account" so you can log in directly. Click Done.
(Note: Creating a standard user account under "User Creation" is optional at this stage, so you can skip it for now).
Click Begin Installation. The system will now write the OS to your virtual disk. Once the progress bar fills up, click Reboot System.
4. Welcome to Your Server!
After the reboot, you will be greeted by the CentOS Stream 9 login screen. Log in using the root credentials you just created. You now have a fully functional enterprise-grade Linux server running locally for free!
Quick FAQ for Server Management
What are the system requirements for CentOS Stream 9?
For a basic command-line server, a minimum of 2 cores, 2 GB RAM, and 20 GB of disk space is recommended.
What is the difference between CentOS Stream and the old CentOS Linux?
CentOS Linux was a stable downstream rebuild of Red Hat Enterprise Linux (RHEL). CentOS Stream is now an upstream development platform, meaning it receives updates just ahead of RHEL, making it highly modern yet incredibly stable.
How do I monitor my new server's performance?
Once logged in, you can use the built-in commands top or htop (if installed) to track real-time CPU and RAM utilization.