Operations 7 min read

Step-by-Step Guide: Install CentOS 7.4 on a Virtual Machine

This tutorial walks you through every stage of installing CentOS 7.4 in a virtual machine—from mounting the ISO and configuring manual partitions to setting the root password and completing the first boot—providing clear instructions and screenshots for each step.

Python Crawling & Data Mining
Python Crawling & Data Mining
Python Crawling & Data Mining
Step-by-Step Guide: Install CentOS 7.4 on a Virtual Machine

The article provides a detailed, step‑by‑step tutorial for installing CentOS 7.4 on a virtual machine, covering ISO mounting, language selection, manual partitioning, root password setup, and final reboot.

1. Mount the ISO – Power on the VM, click the CD icon, and attach the CentOS 7.4 ISO file.

2. Start Installation – Press Enter in the VM console, select “Install CentOS Linux 7”, and press Enter again.

3. Loading Screen – Wait for the loading page to finish.

4. Choose Language – Keep the default English and click Continue .

5. Installation Destination – Proceed to the “Installation Destination” screen.

6. Manual Partitioning – Select “I will configure partitioning” (manual). The default 20 GiB disk is shown; it can be expanded later if needed.

7. Create Partitions – In the manual partitioning view, choose the standard partition scheme and click the + button.

8. Swap Partition – Set mount point /swap with size 2048 MB and click “Add mount point”.

After adding swap, the remaining free space is about 18 GiB.

9. Root Partition – Choose mount point /, assign the remaining 18 GiB, and click “Add mount point”.

10. Review Partitions – Verify that free space is nearly exhausted, then click “Done”.

11. Accept Changes – Choose “Accept changes”.

12. Begin Installation – Click “Begin Installation” to start the process.

13. Software Selection (Optional) – You may choose “Minimal Install” under Software Selection for a lightweight system.

14. Installation Progress – Wait while the installer copies files.

15. Set Root Password – Click the password field, enter a root password (minimum 8 characters recommended).

16. Confirm Password – Re‑enter the password to confirm.

If the password is too simple, the installer will prompt you to choose a stronger one.

17. Finish Configuration – Click “Finish configuration”.

18. Wait for System Setup – The installer completes configuration; be patient.

19. Reboot – Click “Reboot” to restart the VM.

20. Login – After reboot, log in with username root and the password you set.

21. Verify Installation – Open a terminal and run ls to list files, confirming the system is operational.

At this point, CentOS 7.4 is fully installed and ready for use.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Linuxvirtual machineTutorialInstallationCentOS
Python Crawling & Data Mining
Written by

Python Crawling & Data Mining

Life's short, I code in Python. This channel shares Python web crawling, data mining, analysis, processing, visualization, automated testing, DevOps, big data, AI, cloud computing, machine learning tools, resources, news, technical articles, tutorial videos and learning materials. Join us!

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.