使用CentOS mini版,安装后一般做一些基本设置才能更好的使用。
版本:
http://mirrors.aliyun.com/centos/7.1.1503/isos/x86_64/CentOS-7-x86_64-Minimal-1503-01.iso
02 | CentOS Linux release 7.1.1503 (Core) |
05 | Linux localhost.localdomain 3.10.0-229.el7.x86_64 |
08 | /etc/sysconfig/network-scripts/ifcfg-enp5s0 |
11 | systemctl restart network.service |
13 | /etc/rc .d /init .d /network restart |
21 | mv /etc/yum .repos.d /CentOS-Base .repo /etc/yum .repos.d /CentOS-Base .repo.backup |
23 | wget -O /etc/yum .repos.d /CentOS-Base .repo http: //mirrors .aliyun.com /repo/Centos-7 .repo |
26 | yum install http: //dl .fedoraproject.org /pub/epel/7/x86_64/e/epel-release-7-5 .noarch.rpm |
28 | yum install http: //mirrors .ustc.edu.cn /epel/7/x86_64/e/epel-release-7-5 .noarch.rpm |
34 | yum -y install vim htop |
40 | yum -y install bind-utils |