VMware Workstation CentOS7 Road Linux learning (1)

 

  Foreword

  Linux a long time I wanted to learn, a lot of companies out of the interview would not have asked Linux, very embarrassed, Linux has never learned, the Internet has seen a lot of information, but also install the VM, find their own way to learn Linux, before look at some of the command-line operations of the meal, I was ignorant of the whole force, recent work is too busy finishing some of the Linux operating records and even try out for everyone to refer to the share.

Ready to work

 1. VMware Workstation15.X cracked version (with key)   extraction code: azgb

 2.CentOS7 Linux   can go to the official website to download: https://www.centos.org/download/

Create a virtual machine

1. Open the installed VM VM choose to create a new virtual machine

2. Here, I chose the typical next step

3. Select the downloaded CentOS Mirror

4. Set the name and the storage location of the virtual machine

5. Specify the disk size here is my default

6. Complete

 

Here, the virtual machine has been created, but the system is not installed

 

Install linux system

1. Start the installation interface

2. Select the language

3. Select automatic partition into points here need to select an exclamation point 

 

 3. Start the installation

4. Set Password preferably has sufficient strength uppercase to lowercase alphanumeric provided

After installation, linux system is installed the option to restart your ready to use

Here begin the login system

The default system is the root account

If you have a digital password is required to switch the numeric keypad Num successful login will display the time the login fails then let you log back in here that you enter a password when you install the settings are not displayed

 

Check IP

Enter the ip addr 

Here is your Linux IP after this time I encountered a problem here does not display the input ip addr IP

Such a display interface needs to be changed under Configuration

Here are the steps

1. Enter cd / etc / sysconfig / network-scripts / Enter

 Enter Enter ls

2. Select ifcfg-ens33

Input: vi ifcfg-ens33 carriage;

               输入:i   进行编辑;

                将最后ONBOOT=no改为yes即可;

               点击esc键,然后输入 :    :wq(注意这里是冒号加wq)    保存退出;

  3.保存后重启网卡,输入:sudo service network restart 

 4.再次输入:ip addr  ip就会正常显示了  

 

若此时ip没有正常显示 而是显示   inet6 addr :fe80::20c:29ff:fe47:fd61/64 scope:link1

此时是因为你网络适配器选择了桥接模式 需要去设置一下 NAT模式就可以了  (这是我遇到的,可能还有其他情况)

 

Guess you like

Origin www.cnblogs.com/LiChen19951127/p/10985302.html