随笔分类 -  linux

摘要:[root@host-172-20-105-194 ~]# cat /proc/versionLinux version 4.19.90-24.4.v2101.ky10.aarch64 (KYLINSOFT@localhost.localdomain) (gcc version 7.3.0 (GCC 阅读全文
posted @ 2023-12-04 15:28 tonggc1668 阅读(876) 评论(0) 推荐(0)
摘要:去除第一行tail -n +2sed "1d" 取最后一行 ps -p 127400 -o %cpu |tail -n 1 取最后2行 ps -p 127400 -o %cpu |tail -n 2 阅读全文
posted @ 2023-11-20 13:58 tonggc1668 阅读(78) 评论(0) 推荐(0)
摘要:VMware克隆虚拟机后修改UUID、MAC地址、IP和主机名 https://blog.csdn.net/weixin_44657888/article/details/130679813 (转载)VMWare VMNet 8 的配置使用 https://www.cnblogs.com/maila 阅读全文
posted @ 2023-06-09 15:02 tonggc1668 阅读(454) 评论(0) 推荐(0)
摘要:Linux 日志管理journald和rsyslog https://blog.csdn.net/weixin_42688499/article/details/124227031 设置日志的保存方式 在Centos7以后,因为引导方式改为了system.d,所以有两个日志系统同时在工作,默认的是r 阅读全文
posted @ 2023-01-01 13:03 tonggc1668 阅读(72) 评论(0) 推荐(0)
摘要:报Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-develyum install -y elfutils-libelf-devel报make[1]: * 阅读全文
posted @ 2022-12-16 11:26 tonggc1668 阅读(565) 评论(0) 推荐(0)
摘要:insmod提示invalid module format https://www.cnblogs.com/sciapex/p/13822447.html 正确解决 Invalid module format https://blog.csdn.net/shell812/article/detail 阅读全文
posted @ 2022-12-15 18:47 tonggc1668 阅读(36) 评论(0) 推荐(0)
摘要:Linux驱动的编译 http://t.zoukankan.com/magicdmer-p-4458369.html 内核必须懂(四): 撰写内核驱动 https://www.imooc.com/article/283983 linux指令 make -C ..... M =.... https:/ 阅读全文
posted @ 2022-12-15 18:45 tonggc1668 阅读(28) 评论(0) 推荐(0)
摘要:云计算底层技术-虚拟网络设备(Bridge,VLAN,VxLan) https://www.cnblogs.com/janeysj/articles/10755246.html 盘点Linux系统网络相关知识点 https://zhuanlan.zhihu.com/p/545000496 Linux 阅读全文
posted @ 2022-12-15 14:03 tonggc1668 阅读(23) 评论(0) 推荐(0)
摘要:一个TCP连接可以发送多少个HTTP请求? https://www.qiongling.com/tag/http%EF%BC%8Ctcp 阅读全文
posted @ 2022-12-13 10:19 tonggc1668 阅读(37) 评论(0) 推荐(0)
摘要:linux更改磁盘格式ext4-->xfs https://blog.csdn.net/weixin_46941625/article/details/118095599 阅读全文
posted @ 2022-12-12 10:54 tonggc1668 阅读(1262) 评论(0) 推荐(0)
摘要:EXT4文件与XFS文件系统磁盘配额 https://blog.51cto.com/u_15292540/3147068 Linux——磁盘配额及xfs/ext4配置(有手就行) https://blog.csdn.net/m0_61744194/article/details/123865971 阅读全文
posted @ 2022-12-11 21:11 tonggc1668 阅读(57) 评论(0) 推荐(0)
摘要:CentOS 7 启用 user namespaces(用户命名空间) https://www.123si.org/os/article/centos-7-enable-user-namespaces/ 2022-08-29 Podman for CentOS7 https://www.jiansh 阅读全文
posted @ 2022-12-09 16:30 tonggc1668 阅读(171) 评论(0) 推荐(0)
摘要:TCP Keepalive机制刨根问底 https://segmentfault.com/a/1190000021057175 理解TCP长连接(Keepalive) https://blog.csdn.net/chrisnotfound/article/details/80111559 TCP连接 阅读全文
posted @ 2022-12-07 13:06 tonggc1668 阅读(166) 评论(0) 推荐(0)
摘要:Linux下怎么查看MAC地址 https://www.yisu.com/zixun/668968.html https://blog.csdn.net/embelfe_segge/article/details/126595951linux 最常用的查看mac地址的方式 有很多种,下面给出4种方式 阅读全文
posted @ 2022-12-05 14:29 tonggc1668 阅读(440) 评论(0) 推荐(0)
摘要:卸载虚拟机自带的JDK 注意:如果你的虚拟机是最小化安装不需要执行这一步。 [root@hadoop100 ~]# rpm -qa | grep -i java | xargs -n1 rpm -e --nodeps rpm -qa:查询所安装的所有rpm软件包 grep -i:忽略大小写 xarg 阅读全文
posted @ 2022-09-01 16:17 tonggc1668 阅读(678) 评论(0) 推荐(0)
摘要:Linux shell 脚本中, $@ 和$# 分别是什么意思? https://zhidao.baidu.com/question/412833470.html Shell $*和$@的区别 http://c.biancheng.net/view/807.html 阅读全文
posted @ 2022-09-01 15:16 tonggc1668 阅读(27) 评论(0) 推荐(0)
摘要:Shell脚本判断目录是否为空 Shell 脚本判断某个目录是否为空,用来判断之后的运行逻辑该怎么执行。 已知该目录是存在的,在这个基础上进行下一步操作 ls -A 的命令是列出当前目录所有文件和目录,不包含 "." (目前目录) 及 ".." (父目录) ls -a 的命令会列出所有文件和目录," 阅读全文
posted @ 2022-08-05 19:04 tonggc1668 阅读(4285) 评论(0) 推荐(0)
摘要:宿主机调优方案 https://blog.csdn.net/weixin_44109082/article/details/102792922 tcp四次挥手相关选项 https://www.jianshu.com/p/bdc478147ff3 解决Linux服务器中TCP的FIN_WAIT2,CL 阅读全文
posted @ 2022-06-30 16:43 tonggc1668 阅读(28) 评论(0) 推荐(0)
摘要:Kube-proxy使用IPVS模式转发 https://blog.51cto.com/fengwan/2345983 yum -y install ipvsadmmodprobe br_netfiltercat > /etc/sysconfig/modules/ipvs.modules <<EOF 阅读全文
posted @ 2022-06-13 10:58 tonggc1668 阅读(96) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/dong281055686xin/article/details/118970806 阅读全文
posted @ 2022-06-10 18:18 tonggc1668 阅读(39) 评论(0) 推荐(0)