Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install lCentOS7 in a virtual machine

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

In this issue, the editor will bring you about how to install lCentOS7 in the virtual machine. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.

Install lCentOS7 in the virtual machine

1. Open the virtual machine and create a new virtual machine

two。 Click customize, next step

3. Hard compatibility is the version of the virtual machine, click next

4. Install the operating system later, next step

The 5.CentOS version chooses 7 64-bit, here I have its image file

6. Select Linux for the operating system. Next step

7. Virtual machine name according to personal habit, it is recommended to select the number of system information +, the location does not have Chinese, select a specified folder, click next

8. Virtual machine configuration, click next

9. Memory it is recommended to choose 2G memory to prevent future database installation in linux. Click next.

10. Select NAT for network type, and click next.

11. Click next as recommended

twelve。 Click next as recommended

13. To create a new virtual disk, click next

14. Change the disk size to 40G and click next.

15. Disk files are placed in the previously specified folder for easy management and deletion of mobile replication virtual machines in the future.

16. Click Custom hardware and click next

17. Optimize hardware configuration to remove unwanted sound cards and printers

18. In the new CD, use the image file, locate the ISO file location of CentOS7, and click close

19. Click finish

After the 20.CentOS7 is configured, click Open to install and configure.

21. Select the first direction key, enter and start the installation

twenty-two。 Enter the installation interface

23. Enter the installation configuration, select Chinese in the language, and click continue.

24. In the software selection, select the GNOME desktop and click finish

25. At this point the system begins to load

twenty-six。 Loading completed

twenty-seven。 Automatic partition is not selected for the installation location. Click on it and configure it yourself.

twenty-eight。 Click I want to configure the partition, click finish

twenty-eight。 After clicking finish, manual partition appears

twenty-nine。 Click the + sign to add a mount point

thirty。 Create a "/" root directory, enter 20g of capacity, and click add mount point

thirty-one。 At this point / directory creation is complete

thirty-two。 Create SWAP with a capacity of 2G, BOOT with a capacity of 6G, and HOME with a capacity of 10G

thirty-three。 Click finish, a summary of changes appears, and click to receive changes

Xfs, log file type

thirty-four。 Click KDUMP to enable kdump. This option is optional or not, depending on whether there is sufficient memory.

thirty-five。 Open the network, open the Ethernet ens33, and click finish

thirty-six。 To start the installation, you need to set the ROOT account name and password, and create a user.

thirty-seven。 Still in the process of installation

thirty-eight。 Done, click restart

thirty-nine。 After power on, you will enter this interface and open it to accept the license.

forty。 Check and click finish

forty-one。 Complete the configuration

forty-two。 Go to the user interface

forty-three。 Other users are not listed, such as ROOT

forty-four。 Enter user name and password

forty-five。 Click forward to start using

forty-six。 Welcome interface, just click it.

forty-seven。 Take an instant snapshot

forty-eight。 Open the browser and see if you can connect to the Internet.

forty-nine。 Access to the Internet; open the terminal, ifconfig to check the ip address, 192.168.139.132

fifty。 You can use XSHELL 6 to log in remotely and open shell

fifty-one。 New session

fifty-two。 The name is changed to the same as the virtual machine, and the host is the IP address, which is 192. 168.139.132

fifty-three。 Click on the keyboard and change the sequence to ASCII.

fifty-four。 Appearance, can adjust the color style, according to individual needs

fifty-five。 Once confirmed, enter the session interface, select CentOS7-1, and click Connect.

fifty-six。 SSH security warning appears, click accept and save

fifty-seven。 Enter the login user name, click to remember the user name, the user name is ROOT, and the password is set by yourself just now

Click to remember the password and make sure

fifty-eight。 View ip information, 192.168.139.132

fifty-nine。 Installation completed

The above is how to install lCentOS7 in the virtual machine. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report