This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@host ~]# grub2-mkconfig -o /boot/grub2/grub.cfg | |
Generating grub configuration file ... | |
Found linux image: /boot/vmlinuz-3.10.0-229.14.1.el7.x86_64 | |
Found initrd image: /boot/initramfs-3.10.0-229.14.1.el7.x86_64.img | |
Found linux image: /boot/vmlinuz-3.10.0-229.4.2.el7.x86_64 | |
Found initrd image: /boot/initramfs-3.10.0-229.4.2.el7.x86_64.img | |
Found linux image: /boot/vmlinuz-3.10.0-229.el7.x86_64 | |
Found initrd image: /boot/initramfs-3.10.0-229.el7.x86_64.img | |
Found linux image: /boot/vmlinuz-0-rescue-605f01abef434fb98dd1309e774b72ba | |
Found initrd image: /boot/initramfs-0-rescue-605f01abef434fb98dd1309e774b72ba.img | |
done | |
#參考資料:https://wiki.centos.org/zh-tw/HowTos/Grub2 | |
#參考資料:http://blog.xuite.net/towns/hc/302507344-CentOS+7+%E5%AE%89%E8%A3%9D%E3%80%81%E6%9E%B6%E8%A8%AD%E8%88%87%E4%BD%BF%E7%94%A8 | |
[root@localhost ~]# nmcli d s | |
DEVICE TYPE STATE CONNECTION | |
eno16777736 ethernet connected eno16777736 | |
eno33554992 ethernet disconnected -- | |
lo loopback unmanaged -- | |
[root@localhost ~]# nmcli c s -a | |
NAME UUID TYPE DEVICE | |
eno16777736 00725176-7c31-45f0-b1ce-068b26f52793 802-3-ethernet eno16777736 | |
[root@localhost ~]# nmcli con add type ethernet con-name eno33554992 ifname eno33554992 | |
Connection 'eno33554992' (b771edf9-3a00-40b1-a81e-dd0ed5178941) successfully added. | |
[root@localhost ~]# ls /etc/sysconfig/network-scripts/ |grep eno33554992 | |
ifcfg-eno33554992 | |
[root@localhost ~]# nmcli c u eno33554992 |
沒有留言:
張貼留言