摘要: [root@test ~]# pvcreate /dev/sdc Physical volume "/dev/sdc" successfully created. [root@test ~]# vgcreate centos_home /dev/sdc Volume group "centos_ho 阅读全文
posted @ 2021-04-09 16:16 小菜鸟111 阅读(71) 评论(0) 推荐(0) 编辑
摘要: virsh qemu-monitor-command redis-slave-1.6 --hmp --cmd info balloonvirsh qemu-monitor-command redis-slave-1.6 --hmp --cmd balloon 28096virsh qemu-moni 阅读全文
posted @ 2020-11-05 15:04 小菜鸟111 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 问题:rpmbuild打包报错:Segmentation fault,实际上已经打包成功。 下面不执行了。 1、加sudo /usr/bin/rpmbuild --define '_topdir '`pwd` -ba SPECS/xxx.spec 2、sudo 问题:sorry, you must 阅读全文
posted @ 2020-04-28 15:46 小菜鸟111 阅读(504) 评论(0) 推荐(0) 编辑
摘要: ufw disable ufw enable ufw status sudo ufw statussudo ufw allow from 10.7.0.0/16sudo ufw status 阅读全文
posted @ 2020-03-10 11:08 小菜鸟111 阅读(1492) 评论(0) 推荐(0) 编辑
摘要: 1、把zabbix_agents_3.0.4.win.zip 解压在C盘下。2、导出windows性能计数器已管理员的方式运行命令提示符输入以下命令:typeperf -qx > c:\windows-item.txt此时C盘下出现windows-item.txt文件。3、 安装zabbix-age 阅读全文
posted @ 2020-02-24 10:53 小菜鸟111 阅读(341) 评论(0) 推荐(0) 编辑
摘要: #xtrabackup备份: #备份/data/mysql_backup/percona-xtrabackup-2.4.9-Linux-x86_64/bin/xtrabackup --defaults-file=/etc/my.cnf --backup --target-dir=/data/back 阅读全文
posted @ 2020-01-22 17:42 小菜鸟111 阅读(250) 评论(0) 推荐(0) 编辑
摘要: rewrite ^/$ $scheme://www.xxx.com$request_uri permanent;rewrite ^/.*\.html$ $scheme://www.xxx.com$request_uri permanent; 阅读全文
posted @ 2019-12-03 16:10 小菜鸟111 阅读(402) 评论(0) 推荐(0) 编辑
摘要: 原文链接:http://www.cnblogs.com/Tempted/p/9857711.html 1.停止数据库,并在mysql配置文件my.cnf中添加skip-grant-tables参数到[mysqld]配置块中 2. 执行 systemctl start mysqld 3. 执行 mys 阅读全文
posted @ 2019-12-03 13:22 小菜鸟111 阅读(570) 评论(0) 推荐(0) 编辑
摘要: 简介 Xtrabackup是由percona提供的mysql数据库备份工具,据官方介绍,这也是世界上惟一一款开源的能够对innodb和xtradb数据库进行热备的工具。特点: (1)备份过程快速、可靠; (2)备份过程不会打断正在执行的事务; (3)能够基于压缩等功能节约磁盘空间和流量; (4)自动 阅读全文
posted @ 2019-11-27 18:21 小菜鸟111 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 1.1 nfs01主机配置 1.1.1 安装rsync服务 1.安装rsync [root@nfs ~]# yum install rsync -y 2.配置rsync #创建密码表 [root@nfs01 ~]# echo "123456" > /etc/rsync.password [root@ 阅读全文
posted @ 2019-11-27 17:16 小菜鸟111 阅读(188) 评论(0) 推荐(0) 编辑