centos7.6系统安装

    进去安装
    点击Tab,打开kernel启动选项,增加net.ifnames=0 biosdevname=0 回车后安装
    手动分区
    Standard Partition 创建根分区 /

    配置网络
    cd /etc/sysconfig/network-scripts
    vi ifcfg-eth0

    1. TYPE=Ethernet
    2. BOOTPROTO=static
    3. DEFROUTE=yes
    4. NAME=eth0
    5. DEVICE=eth0
    6. ONBOOT=yes
    7. IPADDR=192.168.68.100
    8. NETMASK=255.255.255.0
    9. GATEWAY=192.168.68.2

    systemctl restart network

    配置DNS
    vi /etc/resolv.conf
    nameserver 223.5.5.5

    添加数据盘
    image.png
    image.png

    系统重启reboot
    mkdir -p /data
    mkfs.xfs /dev/sdb
    mount /dev/sdb /data/
    vi /etc/fstab
    image.png