Get the App
SLTechnology News&Howtos  ›  Development  › 

How to deploy CentOS

Shulou Source: shulou.com Published: 2022-06-02 15:05:20 09月23日 Update

This article will explain in detail how CentOS is deployed. Xiaobian thinks it is quite practical, so share it with you for reference. I hope you can gain something after reading this article.

1. CentOS deployment

1.1 Win7/Win10 Install VM

1.2 Win7-->Linux left mouse button mouse will enter the linux interface

Linux-->win7 Ctrl+alt mouse will come out of linux interface

1.3 CentOS empty disk deployment Create an empty disk of centOS, and configure the corresponding properties and settings

1.4 CentOS empty disk mount ISO image, pre-install Select IOS image file, deploy, install is complete.

1.5 initialization

1.6 Access the desktop via root to gain maximum privileges.

2. CentOS hostname modification is divided into permanent modification and temporary modification

Permanently required restart takes effect:

vi /etc/sysconfig/network

I (insert)--> Edit Modify hadoop001-->ruozehadoop001

ecs --> Command Line

shift+: --> Enter wq to save the modification

Temporary:

hostname ruozehadoop001

3. Configure CentOS virtual machine fixed ip and access to external network

Extranet--> Win7--->VM-->CentOS

Since it is through VM to Win7 and then to the external network, it is necessary to close the firewall of Win7 and VM.

About "CentOS how to deploy" this article is shared here, I hope the above content can be of some help to everyone, so that you can learn more knowledge, if you think the article is good, please share it to let more people see.

Tags: Articles mouse more interface mirror permanent configuration good practical maximum content commands trails properties files articles permissions desktop users knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Docker macOS Apple Xiaomi