Server installation Centos tutorial

1. First download Floppy Disk and Centos system

insert image description hereinsert image description here

2. Make a boot U disk

  • Open Floppy, select Open, and find the corresponding system image
    insert image description here

  • Select boot - write hard disk image
    insert image description here

  • Select the corresponding U disk and writing method (recommended to use USB-HDD+), and check the burn verification at the same time
    insert image description here

  • Select Write, select Yes in the pop-up box
    insert image description here

  • Screenshot of burning success
    insert image description here

After the boot disk is created, you need to modify the U disk drive letter to COS7 (because the corresponding boot drive letter needs to be modified when the server is started), so that the server can be started from the U disk conveniently.
insert image description here

3. Start the server and make related settings

  • Modify the startup item to make the server start from the U disk (press break at startup to view the startup options of different brands of servers), F12 in the figure below is the shortcut key for the startup options of Lenovo servers
    insert image description here

  • After entering, select the corresponding U disk boot item
    insert image description here

  • After entering, move the cursor to the Install CentOS option
    insert image description here

  • Press e on the keyboard to edit the relevant startup options, and modify the corresponding startup drive letter to the U disk drive letter
    insert image description here

  • After modification, press ctrl+x to enter startup
    insert image description here
    insert image description here

  • After entering the installer, configure according to the default language
    insert image description here

  • After entering the configuration interface, you need to configure and partition the hard disk first

insert image description here

  • Enter the relevant partition interface, select the corresponding hard disk (if not found, you need to check whether the relevant server RAID is normal) generally we need to delete the original partition, and then re-partition
    insert image description here
    insert image description here

  • Select the manual partition option, click Done in the upper left corner to enter the manual partition interface
    insert image description here
    insert image description here

  • Click the system automatic partition option (blue text with links) to perform automatic partitioning
    insert image description here

  • Delete the generated / /home partition. After the deletion is complete, manually create the / directory and allocate all the remaining space to /
    insert image description here

To delete the corresponding partition, select the relevant partition and click the - sign to delete it; to create a partition, click the + sign directly to create a partition

  • After the creation is complete, click done in the upper left corner, and after the dialog box pops up, click Accept changes to make the relevant partitions take effect
    insert image description here
  • Select the NETWORK & HOSTNAME option to configure the relevant server and hostname
    insert image description here
  • Select the corresponding network card name, click the configure option, and configure the corresponding IP address
    insert image description here
    insert image description here
    insert image description here
    insert image description here
  • Enable the network card corresponding to the configuration
    insert image description here
  • If you see the information on the right, the configuration is successful.
    insert image description here
  • In the lower left corner, configure the corresponding host name according to the on-site server. After the configuration is complete, you need to click apply
    insert image description here
  • After the configuration is complete, click Begin Installation
    insert image description here
  • Set the server ROOT password, create a new admin user, and set a unified password for later management
    insert image description here
  • Add the admin user to the administrator group
    insert image description here
  • Wait for the server installation to complete, then click Reboot
    insert image description here
  • After starting, enter the relevant user name and password to log in (due to CentOS security factors, you cannot see it when entering the password)
    insert image description here

4. Modify the network command after booting

  • Modify IP
vi /etc/sysconfig/network-scripts/ifcfg-eno1

insert image description here

  • view ip
ip a | more

The server installed through the above is the default minimal installation without a graphical interface.
Please refer to the tutorial for related configurations. Please use the internal password of the company uniformly

Guess you like

Origin blog.csdn.net/jinba225/article/details/117663981