[Linux Ladder] Chapter 2 · Linux system environment setup

write in front


Hello everyone, my name is kikokingzz. My name is too long to remember. You can call me kiko~

Starting today, I will officially start a new check-in topic——【Linux Ladder】, that’s right! This is the ladder plan, which aims to combine practical combat with theory through a series of special explanations.Thorough grasp of theoretical knowledge of operating systemsBe proficient in Linux skills at the same time;There will be more laterServer setupWebsite architectureComprehensive application part! want toGet it done, get the operating system figured outclassmates,The [Linux Ladder] series is worthy of your choice!

Welcome to continue to pay attention!

Blog homepage:The background of kikoking🍊


Must read in previous issues

🔥[Linux Ladder] Chapter 1: First encounter with Linux 🔥

Table of contents

write in front

1. What is VMware?

2. VMware installation steps

3.What is CentOS?

CentOS 7 download resources

4. Detailed steps to create Linux on a virtual machine

write at the end

Summary of this articleVirtual machine installation tutorial + Virtual machine download resources + CentOS 7 installation tutorial +CentOS 7 download address  

Xiao Ming:What are we learning today? What does environment construction mean?

kiko:Haha, to put it simply, I will teach you how to install Linux on your computer!

Xiao Ming:But my computer already has Windows installed. If I install Linux, will Windows become unusable?

kiko:little fool,There is something called a virtual machine,have you heard of it?

1. What is VMware?


VMware Workstation is a professional virtual machine designed by VMware Company.Can run another operating system on any operating system, build multiple virtual computer systems, on that computerThe operating system originally installed is called the main operating system, and the operating system installed on the virtual machine is called the guest operating system.


Q1: Why use a virtual machine?

A1:Linux is powerful, but most computers on the market use Windows or Mac operating systems. As a junior user, it is unrealistic to transfer all the existing operating systems to Linux at once, but virtual machines can complete the current tasks. There is any switching between operating system and Linux operating system.

Q2: What can we learn from using VMware to install the operating system?

A2: Its purpose is fourfold:

  • Build a network environment on a single machine: Under one computer, users can build a small network environment between the host and multiple virtual operating systems, and can perform network configuration, debugging, network programming test applications, etc.
  • Software development cross-platform porting: It can be developed in Windows environment and then transplanted to Linux or UNIX for cross-platform testing and application.
  • systematic learning: You can switch to the Linux environment at any time to learn operations from the Windows environment.
  • Carry out dangerous operations: Formatting the Linux partition on the virtual machine will not affect the real Windows system partition.

2. VMware installation steps


step1. Right click and run as administrator;

step2. Click Next;

step3. Click I accept, then click Next;

step4. It is installed on the C drive by default. My C drive is running out of space. Click “Change”;

step5. After changing the installation path to the D drive, click Next;

step6. Do not check the two on the left, just click Next;

step7. Check the box as shown below, and then click Next;

step8. Click to start installation;

···Installing···

step9. Click on the license;

step10. Open the key license key in the installation package;

step11. Copy a secret key and fill it in, then click Enter to complete the installation;

step12. Find the VMware software on the desktop, right-click and run as administrator;

step13. Enter the interface and the tutorial ends;

Xiao Ming:Now that the download is complete, we can start learning Linux!

kiko:Hey, hey, I didn’t pay attention, VMware is just a virtual machine.Linux needs to be installed by ourselves!

Xiao Ming:So there are so many different distributions of Linux, which one should we choose?

kiko:In fact, I specifically hid a foreshadowing in the previous lecture. What we chose wasCentOS

3.What is CentOS?


CentOS is one of the Linux distributions, which is compiled from the source code released by Red Hat Enterprise Linux in accordance with open source regulations. Because it comes from the same source code, some servers that require high stability use CentOS instead of the commercial version of Red Hat Enterprise Linux.The difference between the two is that CentOS does not contain closed source software.

Xiao Ming:It turns out that the Red Hat Enterprise Linux we learned yesterday is its awesome version.

kiko:Hahaha, I can’t say that I’m awesome.It’s just that CentOS does not contain closed source code functions, so it is not suitable for profit!

CentOS 7 download resources


·Currently, the installation program ISO image files of various latest versions of the Linux operating system can be downloaded for free online, and the latest CentOS release version can also be obtained by visiting the official website.

·Official website link:CentOS Mirror

We can find that CentOS is now available in CentOS 8. You can choose different versions to install according to your needs. Unfortunately, this website is not very friendly to friends with average Internet speeds, so I will also provide a link to the one I originally downloaded:

Reply on the public account:CentOS 7; you can get

kiko:After we have downloaded CentOS and VMware, it is time to proceed with the final installation steps!

Xiao Ming:Are you finally going to start installing the Linux operating system on a virtual machine?

kiko:That’s right, the ultimate installation begins now!

4. Detailed steps to create Linux on a virtual machine


step1. Find the downloaded CentOS 7 folder and remember the location, which will be used later;

step2. Click [Create a new virtual machine];

step3. Click [Typical], then click Next;

step4. Select [Later…] and click Next;

step5. After completing the selection as shown below, click Next;

step6. Click [Browse] to set the path, select a disk to create a folder, and then click Next;

step7. After completing the settings as shown below, click Next;

step8. Click [Customize Hardware], select [Memory], and modify the memory to the appropriate size;

step9. Follow the arrow sequence in the figure below, click [Browse], find the downloaded CentOS 7 file, and click [Open];

step10. Click [Network Adapter] and select [Host Only…];

step11. Click [USB Controller] and click [Remove];

step12. Click [Printer] and click [Remove];

step13. Click [Finish];

step14. Click [Start this virtual machine];


If you’re lucky, you can make it directly tostep15! But if you are unfortunate enough to encounter the following interface like me, then I can only say that luckily you have seen this, and I have a solution here!

Solution: Adjust Intel Virtual Technology from Disabled to Enabled


step15. Use the up and down keys on the keyboard to select [Install CentOS 7] and press the Enter key;

···Waiting···

step16. Select [Chinese] and click [Continue];

step17. Click [Software Options]

step18. Select [Server with GUI] and click [Finish];

step19. Click [Network and Host Name];

step20. Click [Finish];

step21. Click [Installation Location];

step22. Click [Finish];

step23. Click [Start Installation];

step24. Click [ROOT Password];

step25. Set the ROOT password and click [Finish];

···Waiting···

step26. After the installation is completed, click [Restart];

···Waiting···

step27. Click [LICENSE INFORMATION]

step28. Check [I agree to the license agreement] and click [Finish];

step29. Click [Complete Configuration];

step30. Select [Chinese] and click [Forward];

step31. Click [Forward];

step32. Select the time zone as Shanghai and click [Forward];

step33. Click [Skip];

step34. Set the user name and click [Forward];

step35. Set the password and click [Forward];

step36. Click [Start using CentOS Linux];

step37. Close the following picture;

step38.Complete;

write at the end


kiko:Finally, we should summarize today. What have we learned today? Sort out a knowledge map!

Xiao Ming:Hehe, I feel like I learned a lot from today’s content!So satisfying o(* ̄︶ ̄*)o

kiko:See you in the next chapter~

Related Posts

Ruijie – Use username and password to log in to the router when logging in with Telent

SSH key

1+X intermediate mall cluster construction (three hosts)

Linux system-process concept

[Set Sail] OpenHarmony Expedition 01

Developers, what exactly are Docker images, containers and repositories?

Where can I view the system logs of Windows system servers?

Kali system learning: practical demonstration of vulnerability scanning tool NMAP

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*