07 2021 档案

摘要:CentOS 8 无痕升级到 Rocky Linux1升级当前系统dnf upgrade -y2重启当前系统:reboot3下载脚本:curl -O https://raw.githubusercontent.com/rocky-linux/rocky-tools/main/migrate2rock 阅读全文
posted @ 2021-07-31 22:36 linuxTang 阅读(733) 评论(1) 推荐(0) 编辑
摘要:#处理图形页面字体乱码:1C:\Windows\Fonts拷贝一个字体到桌面,2拷贝字体至zabbix字体目录中[root@server ~]#cd /usr/share/zabbix/assets/fonts[root@server /usr/share/zabbix/assets/fonts]# 阅读全文
posted @ 2021-07-28 10:09 linuxTang 阅读(119) 评论(0) 推荐(0) 编辑
摘要:1了解触发器: 修改系统内置的模板System name的触发时间为10秒,当客户端修改主机名后,监控台就会出现报警 实例(修改主机名就报警): 1在web端:配置--主机--监控项--点击第二页System name--将更新间隔设置为10s--更新 2在客户端:[root@client ~]#h 阅读全文
posted @ 2021-07-27 17:56 linuxTang 阅读(75) 评论(0) 推荐(0) 编辑
摘要:1判断状态统计模块“ngx_http_stub_status_module是否有: [root@client ~]#nginx -V 2>&1 | grep -o 'with-http_stub_status_module'with-http_stub_status_module 2在配置文件中开启 阅读全文
posted @ 2021-07-27 10:45 linuxTang 阅读(213) 评论(0) 推荐(0) 编辑
摘要:官方安装文档地址: https://www.zabbix.com/download?zabbix=5.0&os_distribution=centos&os_version=8&db=mysql&ws=nginx 1安装前配置: //关闭防火墙: systemctl stop firewalld s 阅读全文
posted @ 2021-07-25 21:18 linuxTang 阅读(85) 评论(0) 推荐(0) 编辑
摘要:1编辑/etc/init.d/nginx [root@web01 ~]#cat /etc/init.d/nginx #! /bin/sh #chkconfig: - 85 15 PATH=/home/soft/nginx/sbin DESC="nginx service" NAME=nginx DA 阅读全文
posted @ 2021-07-23 16:11 linuxTang 阅读(826) 评论(0) 推荐(0) 编辑
摘要:1安装前的准备: [root@stu ~]#systemctl stop firewalld #关闭防火墙 [root@stu ~]#systemctl disable firewalld #禁止防火墙开机启动 [root@stu ~]#getenforce #查看selinux是否已关闭 Enab 阅读全文
posted @ 2021-07-21 17:46 linuxTang 阅读(156) 评论(0) 推荐(0) 编辑
摘要:1CentOS 8解决yum不能更新源问题 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-8.repo sed -i 's/$releasever/8/g' /etc/yum.repos 阅读全文
posted @ 2021-07-21 17:42 linuxTang 阅读(1259) 评论(0) 推荐(0) 编辑
摘要:1先停止服务: [root@instance-atfaffll ~]# systemctl stop zabbix-server zabbix-agent nginx php-fpm 2卸载zabbix: [root@instance-atfaffll ~]# yum remove zabbix 3 阅读全文
posted @ 2021-07-20 15:19 linuxTang 阅读(3036) 评论(1) 推荐(0) 编辑
摘要:1虚拟机设置: VMware--编辑--虚拟网络编辑器--更改设置--选择vmnet8(去掉勾选使用本地DHCP)--NAT设置--查看网关: 2windws设置: 右键win10左下角 网络连接--双击VMnet8--属性--双击ipv4--将默认网关设置和上面一致 3检查xentos8里面的网卡 阅读全文
posted @ 2021-07-14 12:32 linuxTang 阅读(2390) 评论(0) 推荐(0) 编辑
摘要:要求: 模板机我要使用的ip是10.0.0.8 过程: 1打开VMware虚拟机,执行(编辑--虚拟网络编辑器--VMnet8) 1将子网ip设置为:10.0.0.0 2将子网掩码设置为:255.255.255.0 3点击“NAT设置”按钮,将网关设置为10.0.0.254 2在虚拟机中查看本机网卡 阅读全文
posted @ 2021-07-09 18:07 linuxTang 阅读(149) 评论(0) 推荐(0) 编辑
摘要:[root@instance-atfaffll ~]# xtrabackup --defaults-file=/etc/my.cnf --host=localhost --user=root --password=123456 --port=3306 --backup --target-dir=/x 阅读全文
posted @ 2021-07-05 15:48 linuxTang 阅读(3737) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示