摘要: 转载:http://c.biancheng.net/view/1152.html 前面讲到,restorecon 命令可以将文件或目录恢复成默认的安全上下文,这就说明每个文件和目录都有自己的默认安全上下文,事实也是如此,为了管理的便捷,系统给所有的系统默认文件和目录都定义了默认的安全上下文。那么,默 阅读全文
posted @ 2021-03-29 16:01 千里追思 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 官网中文版:https://www.jenkins.io/zh/ Centos安装页面:https://pkg.jenkins.io/redhat-stable/ 下载yum源 sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkin 阅读全文
posted @ 2021-02-04 15:09 千里追思 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 安装 #安装阿里云epel wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo #安装ansible yum install ansible -y 测试 生成密钥,密码为空 ssh-keygen 阅读全文
posted @ 2021-01-20 11:09 千里追思 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 转载:https://www.cnblogs.com/architectforest/p/12911721.html 一,zabbix不能配置中文界面的问题: 1, zabbix5.0 系统安装后,web界面不能选择使用中文 系统提示: You are not able to choose some 阅读全文
posted @ 2021-01-18 13:44 千里追思 阅读(1064) 评论(0) 推荐(0) 编辑
摘要: 转载: https://www.cnblogs.com/hanglinux/p/11773255.html 方法一:通过设置client标签,直接编辑/etc/my.cnf文件 [client] user=root password=123456 port = 3306 我们直接输入mysql就可以 阅读全文
posted @ 2021-01-14 16:39 千里追思 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 转载:https://blog.csdn.net/mshxuyi/article/details/106667438 1、查看 Nginx 可以通过 with-http_stub_status_module 模块来监控 nginx 的一些状态信息 nginx -V # 显示 nginx versio 阅读全文
posted @ 2021-01-14 15:34 千里追思 阅读(418) 评论(0) 推荐(0) 编辑
摘要: 一、通过脚本安装snmp及相关工具 vim /server/scripts/install_snmp.sh 1、客户端安装net-snmpyum install -y net-snmp net-snmp-utils #2、修改配置文件 sed -i '/^.*com2sec notConfigUse 阅读全文
posted @ 2021-01-13 15:24 千里追思 阅读(130) 评论(0) 推荐(0) 编辑
摘要: #/bin/sh #卸载mariadb rpm -e --nodeps `rpm -qa|grep mariadb*` #a. Install Zabbix repositoryrpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zab 阅读全文
posted @ 2021-01-08 16:47 千里追思 阅读(588) 评论(0) 推荐(0) 编辑
摘要: SW2 [SW2][SW2]int eth 20 #创建eth-trunk20[SW2-Eth-Trunk20]mode? mode [SW2-Eth-Trunk20]mode ? #查看模式 lacp-static Static working mode #acp模式 manual Manual 阅读全文
posted @ 2020-10-31 03:56 千里追思 阅读(4301) 评论(0) 推荐(0) 编辑
摘要: 手工模式 SW1配置: [SW1]interface et [SW1]interface Eth-Trunk 10 #设置trunk虚拟端口[SW1-Eth-Trunk10]trunkport gi [SW1-Eth-Trunk10]trunkport GigabitEthernet 0/0/1 t 阅读全文
posted @ 2020-10-30 02:26 千里追思 阅读(1603) 评论(0) 推荐(0) 编辑