Tags: fast basic configuration

1.Fixed IP address

echo

TYPE=Ethernet

BOOTPROTO=static

DEFROUTE=yes

PEERDNS=yes

PEERROUTES=yes

IPADDR=IP

PRIFIX=24

GATEWAY=192.168.50.254

DNS1=192.168.1.196

DNS2=202.96.209.133

NAME=eth0

UUID=6c78dbf3-af64-47ee-a162-b2cbfc64e350

DEVICE=eth0

ONBOOT=yes  > /etc/sysconfig/network-scripts/ifcfg-eth0

2.Specify server name and configure Yum source

hostname server && echo server > /etc/hostname && curl http://mirrors.aliyun.com/repo/Centos-7.repo > Centos7-Base.repo

3.Update the yum source

yum makecache

4.Installation software

yum install wget vim -y 

This article is from the “IT Technology Blog” blog. Be sure to keep it at http://weonline.blog.51cto.com/1467072/1882641

CentOS7、Minimize installation server basic steps

Tags: fast basic configuration

Original address: http://weonline.blog.51cto.com/1467072/1882641

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *