การติดตั้ง CentOS Stream 10 บน VMware แบบ Step-by-Step โดย Mr.Jodoi
Table of Contents
Introduction
This tutorial provides a step-by-step guide to installing CentOS Stream 10 on VMware. CentOS Stream is a rolling-release distribution that serves as a preview of the next minor release of RHEL (Red Hat Enterprise Linux), making it an excellent choice for developers and system administrators. This guide will help you set up CentOS Stream 10 in a virtualized environment, allowing you to explore its features without affecting your primary operating system.
Step 1: Prepare Your Environment
- Download VMware Workstation or Player: Ensure you have VMware installed on your machine. You can download it from the official VMware website.
- Download CentOS Stream 10 ISO: Visit the CentOS website and download the latest ISO file for CentOS Stream 10.
Step 2: Create a New Virtual Machine
- Open VMware and select Create a New Virtual Machine.
- Choose Custom (advanced) for more configuration options.
- Select the hardware compatibility (default is usually fine).
- Choose the ISO image file option and browse to the location of the CentOS Stream 10 ISO you downloaded.
- Click Next.
Step 3: Configure Virtual Machine Settings
- Name and Location: Give your virtual machine a name (e.g., CentOS Stream 10) and select a location to store the VM files.
- Processor Configuration: Choose the number of processors and cores to allocate to the VM.
- Memory Allocation: Allocate at least 2GB of RAM for optimal performance (4GB or more is recommended).
- Network Configuration: Use NAT or Bridged networking, depending on your use case.
- Disk Configuration:
- Select Create a new virtual disk.
- Choose the disk size (20GB minimum recommended).
- Opt for Allocate all disk space now for better performance.
Step 4: Install CentOS Stream 10
- Start the virtual machine.
- When prompted, select the Install CentOS Stream 10 option.
- Follow the installation wizard:
- Language Selection: Choose your preferred language.
- Installation Destination: Select the virtual disk created earlier.
- Network Configuration: Configure network settings if needed (ensure you have internet access).
- Click Begin Installation.
Step 5: Set Up User Accounts
- During installation, you will be prompted to set the root password and create a user account.
- Ensure your passwords meet the security requirements (at least eight characters, including numbers and special characters).
Step 6: Complete Installation
- Once the installation completes, reboot the virtual machine.
- Remove the installation media when prompted.
- Log in using the credentials you set up during installation.
Step 7: Post-Installation Configuration
- Update System:
- Open a terminal and run:
sudo dnf update
- Open a terminal and run:
- Install Essential Packages: Depending on your needs, you can install additional packages. For example:
sudo dnf install vim git
- Configure Firewall: Ensure your firewall settings are appropriate for your use case.
Conclusion
You have successfully installed CentOS Stream 10 on VMware. This setup allows you to explore and utilize CentOS Stream's features in a secure and isolated environment. For further exploration, consider installing additional software or configuring your VM for specific projects. Always remember to keep your system updated and secure.