上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 28 下一页
摘要: 对于SQL开发人员和DBA来说,根据业务需求写出一条正确的SQL很容易。但是SQL的执行性能怎么样呢?能优化一下跑得更快吗?如果不是资深 DBA,估计很多人都没有信心。 幸运的是,自动化优化工具可以帮助我们解决这个难题。这就是今天要介绍的 Tosska SQ... 阅读全文
posted @ 2018-09-13 17:40 zclinux 阅读(77) 评论(0) 推荐(0)
摘要: find . -name "*" -mtime +365 -exec rm -rf {} \; -mtime +365 文件被修改的时间,最后一次发生到现在365天 -atime 文件被访问的时间 但是cat more less是不会改变atime的 ... 阅读全文
posted @ 2018-09-07 10:53 zclinux 阅读(330) 评论(0) 推荐(0)
摘要: Debian:(Ubuntu等) 先安装apt-file sudo apt-get install -y apt-fileapt-file update 查询命令:(已查询ifconfig为例) root@debian ~ # apt-file search ... 阅读全文
posted @ 2018-09-03 11:31 zclinux 阅读(357) 评论(0) 推荐(0)
摘要: 环境: CentOS 6.8 memory:1G Mysql 5.7 二进制安装包 1.安装相关的环境包 yum -y install gcc glibc libaio libstdc++ libstdc ncurses-libs 2.查看系统中是否存在已... 阅读全文
posted @ 2018-08-27 19:55 zclinux 阅读(209) 评论(0) 推荐(0)
摘要: 自建虚拟机,但是连接不上网络,只能通过下载rpm包进行安装docker 环境:CentOS 7.3.1611 x64 rpm镜像下载地址用的阿里的https://mirrors.aliyun.com/docker-ce/linux/centos/7/ 在这里能... 阅读全文
posted @ 2018-08-24 12:00 zclinux 阅读(294) 评论(0) 推荐(0)
摘要: 1. 使用vim的比较模式打开两个文件: vim -d file1 file2或vimdiff file1 file2 2. 如果已经打开了文件file1,再打开另一个文件file2进行比较: :vert diffsplit file2 如果没有用vert命... 阅读全文
posted @ 2018-08-23 14:02 zclinux 阅读(235) 评论(0) 推荐(0)
摘要: 环境:CentOS release 6.8 server 192.168.25.100 client1 192.168.25.101 client2 192.168.25.102 1.服务端操作 1.1 安装nfs需要的包 yum install -y n... 阅读全文
posted @ 2018-08-22 12:05 zclinux 阅读(194) 评论(0) 推荐(0)
摘要: ethtool命令用于获取以太网卡的配置信息,或者修改这些配置。这个命令比较复杂,功能特别多。 语法 ethtool [ -a | -c | -g | -i | -d | -k | -r | -S |] ethXethtool [-A] ethX [auton... 阅读全文
posted @ 2018-08-21 14:10 zclinux 阅读(362) 评论(0) 推荐(0)
摘要: 所有实验环境全部是新建的,如果不是新建的mysql一定要备份!!! 环境:CentOS release 6.8 x64 master:192.168.25.100 slave1: 192.168.25.101 slave2: 192.168.25.102... 阅读全文
posted @ 2018-08-21 12:19 zclinux 阅读(77) 评论(0) 推荐(0)
摘要: [root@zhang bin]# ./mysql_install_db --datadir=/usr/local/mysql/mydata/data/ 2018-08-18 03:09:14 [WARNING] mysql_install_db is dep... 阅读全文
posted @ 2018-08-20 19:23 zclinux 阅读(601) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 28 下一页