随笔分类 -  linux

摘要:在物理机(linux)里面,找它链接的交换机,及端口[root@EQUHST00005311 ~]# lldptool -n -t -i enp26s0f0Chassis ID TLV MAC: 70:6d:15:d4:4a:9ePort ID TLV Ifname: Ethernet1/27Tim 阅读全文
posted @ 2020-05-14 16:00 litton888 阅读(667) 评论(0) 推荐(0)
摘要:CentOS7 Linux Root忘记,进入救援模式更改密码(两种方法!) 请按照在下提供的代码进行修改 (在下亲自测试的结果!) Linux系统开机进入引导画面,选择:CentOS Linux(3.10.0-693.e17.x86_64)7 (Core) ,按字母 "E"键,进入Linux内核模 阅读全文
posted @ 2020-05-14 15:57 litton888 阅读(1058) 评论(0) 推荐(0)
摘要:1、route add -net 192.168.10.0/24 -gw 172.16.1.12、vim /etc/rc.d/rc.localroute add -net 192.168.10.0/24 -gw 172.16.1.13、vim /etc/sysconfig/static-routes 阅读全文
posted @ 2020-05-14 15:55 litton888 阅读(737) 评论(0) 推荐(0)