以前装双系统只要先装Windows7,然后再装Centos7的话,grub会自动添加原有的Windows7系统.不过在新的Centos7中需要手动修改. 步骤如下 $ sudo vi /etc/grub.d/40_custom #!/bin/sh exec $ # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this
亚马逊平台创建ec2实例时默认创建一个网卡primary网卡,主网卡是不能分离的. 在ec2服务控制台为ec2附加网卡. 平台资料中为正在使用的ec2添加网卡用到的操作系统是Amazon Linux AMI .而当我们使用centos7 系统,附加网卡是可以的,但附加网卡后是需要在系统内进行添加网卡配置文件才能使用. 添加网卡配置文件时,无论你的eni(网络接口是否是dhcp都要按照下面方式配置,不然网络无法启动,如果你想试试,会导无法链接服务器,此时你需要把附加的网卡分离,从控制台重启系统后才
本文摘取自 Centos7系统配置上的变化(二)网络管理基础 一.ip route显示和设定路由 1.显示路由表 [root@centos7 ~]# ip route show default via 192.168.150.254 dev enp0s3 proto static metric 1024 192.168.150.0/24 dev enp0s3 proto kernel scope link src 192.168.150.110 太难看了,格式化一下(显示的是默认网关和局域网路由