Centos7.6 installation

Preface: Installation "Centos7.6" on "Intel Intel NUC6I7KYK mini-host"

First, make U disk boot disk
  refer to " make CentOS U disk boot disk ", " U disk boot disk creation CentOS7 of (turn) ", " CentOS7 versions mirror Download "
  to download the ISO file, remember to use domestic mirroring, or slow ... I use the open source cloud mirrored Ali, super fast.

Second, the installation Centos7
  (a) the U disk into your computer
  (b) set the boot U disk boot, ps: different machines, are not the same set, details, please Baidu, my server plug in the U disk directly own U disk started.

  (C) Under the bottom of the screen prompt, press "e" to enter the settings page. (Mostly by the online version of the "tab" key, please see the prompt on the screen !!!)

  (D) Set Startup Items

setparams 'Install CentOS 7'
linuxefi/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 quiet
initrdefi /images/pxeboot/initrd.img

  I was this, and finally refer to " install centos7 startup items Configuration " to complete the configuration. If your version is as follows, you can refer to this " U disk to start the installation CentOS7 ."

vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 rd.live.check quiet

  (E) If the above steps are successful, it will restart after installation interface.

  Installed, the most important point is that the partition. If not special needs, select the "Automatic Partitioning" is also excellent. If you have special requirements, refer to " the CentOS 7.0 System installation configuration diagram Tutorial "

  After the installation is complete, click "Restart", unplug the U disk, start normal, then, will be able to enter the system.

  Log in with a password previously set. The password must be careful when I accidentally opened the capital, and life and death can not log on. . .

Third, set up a network

  (A) to enter the network configuration file directory

  # cd  /etc/sysconfig/network-scripts/

  # ls

  Find the configuration file, I have here is "ifcfg-eno1", there may be different, it should be the beginning of the file "ifcfg-en".

  (B) edit the configuration file

  # Vi ifcfg-eno1

# Modify the following two configurations 
BOOTPROTO = static   # Enable static IP address 
ONBOOT = yes # Fi is turned on automatically enable 
# The following new configuration 
IPADDR0 = 192.168.21.128   # Set the IP address 
PREFIXO0 = 24-   # Set the subnet mask 
GATEWAY0 = 192.168 .21.2   # gateway set 
the DNS1 = 8.8.8.8   # set the primary DNS 
DNS2 = 8.8.4.4 set # secondary DNS

  The new configuration above, need to be modified according to the actual situation, save and exit, restart the network, test network.

  # service network restart

  # ping www.baidu.com

Fourth, set the hostname

  # Hostname cheng # Set the host name is Cheng
  # vi / etc / hostname # edit the configuration file
  # vi / etc / hosts # edit the configuration file
  # shutdown -r now # reboot the system

Summary: Reference is installed with all kinds of information made here simply combing process, the specific references have been listed in the text.

 

Guess you like

Origin www.cnblogs.com/xiancheng/p/11374816.html