随笔分类 -  Linux

摘要:原始问题:redhat可以利用kickstart.cfg文件的内容进行自动化安装,并且在kickstart.cfg文件中加入%post标签就可以在安装结束后执行一些脚本,这些脚本放在%post标签后面。 但一个问题是,当安装好OS后,如果我们想从原始的ISO镜像拷贝文件到安装好的系统,那么必需对其进 阅读全文
posted @ 2020-03-15 23:43 larry-peng 阅读(574) 评论(0) 推荐(0)
摘要:我们来看下关于网卡特性的解释,不过记住GSO和GRO两个特性就好。 TSO(TCP Segmentation Offload),是利用网卡对TCP数据包分片,减轻CPU负荷的一种技术,也有人叫 LSO (Large segment offload) ,TSO是针对TCP的,UFO是针对UDP的。如果 阅读全文
posted @ 2020-03-15 12:09 larry-peng 阅读(2938) 评论(0) 推荐(0)
摘要:转载于:https://www.cnblogs.com/danxi/p/6591885.html ethtool 常用命令如下,比如对eth0的操作: ethtool eth0 //查询ethx网口基本设置,其中 x 是对应网卡的编号,如eth0、eth1等等 ethtool –h //显示etht 阅读全文
posted @ 2020-03-15 09:57 larry-peng 阅读(2065) 评论(0) 推荐(0)
摘要:Centos6/7多网卡配置端口聚合1. 关闭NetworkManager服务systemctl stop NetworkManagersystemctl disable NetworkManager 2. 加载bond模块modprobe bonding miimon=100 mode=0echo 阅读全文
posted @ 2019-11-16 21:28 larry-peng 阅读(13212) 评论(0) 推荐(0)
摘要:CentOS 7修改网卡命名为ethx格式1、编辑 grub 配置文件vim /etc/sysconfig/grub 找到GRUB_CMDLINE_LINUX 行,为其增加 2 个参数,net.ifnames=0 biosdevname=0 如下所示:GRUB_CMDLINE_LINUX="cras 阅读全文
posted @ 2019-11-16 20:42 larry-peng 阅读(742) 评论(0) 推荐(0)
摘要:引用链接:https://www.cnblogs.com/ccit/p/10047904.html因某些修改操作,导致系统重启后无法正常启动,此时可进入救援模式,修复错误配置即可。OS:centos 71、重启系统后,进入grup引导页面,选中第一项然后按“e” 进入编辑模式: 2.、通过↓键找到如 阅读全文
posted @ 2019-11-14 10:53 larry-peng 阅读(2184) 评论(0) 推荐(0)
摘要:参考链接:https://baijiahao.baidu.com/s?id=1614000108255096283&wfr=spider&for=pc1. 首先,打开centos7,在选择进入系统的界面按“e”进入编辑页面。 2. 然后按向下键,找到以“Linux16”开头的行,在该行的最后面输入“ 阅读全文
posted @ 2019-11-13 17:42 larry-peng 阅读(1183) 评论(0) 推荐(0)
摘要:1. ifconfig命令配置IP、掩码(重启后失效) ifconfig eth4 192.168.4.2 netmask 255.255.255.0 配置路由 route add default gw 192.168.4.12. https://www.cnblogs.com/yhongji/p/ 阅读全文
posted @ 2019-09-24 13:28 larry-peng 阅读(482) 评论(0) 推荐(0)
摘要:参考链接: https://www.cnblogs.com/clsn/p/7833333.html 阅读全文
posted @ 2019-09-23 13:00 larry-peng 阅读(189) 评论(0) 推荐(0)
摘要:Centos 安装ixgbe网卡驱动参考链接: https://www.cnblogs.com/songhaibin/p/9608492.html1. 首先查看网卡类型 # lspci | grep Eth 07:00.0 Ethernet controller: Intel Corporation 阅读全文
posted @ 2019-09-23 10:25 larry-peng 阅读(3900) 评论(0) 推荐(0)
摘要:1.修改yum源 [base]name=CentOS-$releasever - Basebaseurl=http://mirrors.aliyun.com/centos/7.6.1810/os/x86_64/gpgcheck=0[updates]name=CentOS-$releasever - 阅读全文
posted @ 2019-09-12 17:05 larry-peng 阅读(4062) 评论(0) 推荐(0)
摘要:原文链接:https://blog.51cto.com/royals/1956165由于机房显示器分辨率过低,经常安装系统需要外借显示器或只能使用IPMI连接,略不方便。 可以在centos安装过程中设置分辨率自适应得到解决,具体过程如下: 1,系统读取安装信息后,选择到Install Centos 阅读全文
posted @ 2019-09-11 13:35 larry-peng 阅读(3476) 评论(0) 推荐(0)
摘要:参考链接:https://people.centos.org/jperrin/Kickstart2.html参考链接:https://www.linuxidc.com/Linux/2017-08/146168.htm# kstart file automatically generated by a 阅读全文
posted @ 2019-09-08 14:52 larry-peng 阅读(258) 评论(0) 推荐(0)
摘要:制作Centos6.5一键自动安装ISO镜像光盘 参考链接:https://pdf.us/2018/08/13/1710.html参考链接:https://www.jianshu.com/p/682308ba083e参考链接:Kickstart文件详解 https://www.cnblogs.com 阅读全文
posted @ 2019-09-08 14:50 larry-peng 阅读(1776) 评论(0) 推荐(0)