![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
centos系统问题
一只蜗牛慢慢爬
运维+开发
展开
-
centos 6.8重装YUM
一、重装原因:升级了python27,因为任性,又想降级python,卸载了原版本Py26及升级的Py27,同时不小心删除了yum。做了以下操作,结果yum不能用了。找了一堆资料,没有详细能照着做的,特总结。1、删除现有Python [root@test ~]# rpm -qa|grep python|xargs rpm -ev --allmatches --nodeps ##强制删除已安装程序及...原创 2018-07-11 16:51:09 · 1113 阅读 · 0 评论 -
Centos 7安装Tab键自动补全功能(使用systemctl如何补全服务名称,kubectl 自动补全)
因为Centos7的默认安装类型是最小安装,所以默认安装没有自动补全的功能。要已用这个功能,需要安装一个bash-completion包,然后退出bash,重新登录即可。 yum install bash-completion -y 转自:https://www.unixhot.com...原创 2018-08-26 21:31:08 · 1648 阅读 · 0 评论 -
UnixBench测试linux性能
#wget http://soft.laozuo.org/scripts/UnixBench5.1.3.tgz #tar zxf UnixBench5.1.3.tgz #cd UnixBench #sudo yum -y install gcc gcc-c autoconf gcc-c++ time perl-Time-HiRes #sed -i “s/GRAPHIC_TESTS = define...原创 2018-11-09 09:00:37 · 1709 阅读 · 0 评论 -
tar排除某些文件夹打包
-X 参数:将排除的文件(夹)写到文件里。 -X ExcludeList Excludes the file names or directories given in the ExcludeList from the tar archive being created, extracted or listed. The ExcludeList shall contain only one fil...原创 2019-03-20 17:54:24 · 453 阅读 · 0 评论 -
linux跟踪连接表nf_conntrack netfilter调优
转载: http://www.mamicode.com/info-detail-2422830.html原创 2019-08-07 12:35:17 · 1056 阅读 · 0 评论