2020年2月18日
摘要: 查看一个数据库中表的大小select table_name, (data_length+index_length)/1024/1024 as total_mb,table_rows from information_schema.tables where table_schema='zabbix'; 阅读全文
posted @ 2020-02-18 20:44 happylive-888 阅读(201) 评论(0) 推荐(0)
  2020年2月14日
摘要: #!/bin/bash# Filename: centos7-init.sh# Author: zy#判断是否为root用户if [ `whoami` != "root" ];thenecho " only root can run it"exit 1fi#执行前提示echo -e "\033[31 阅读全文
posted @ 2020-02-14 00:25 happylive-888 阅读(749) 评论(0) 推荐(0)
  2020年2月11日
摘要: 1.安装git 2.注册用户并查看 3.创建一个data目录并初始化本地仓库 4.生成秘钥 5.在github建立一个仓库并将公钥复制粘贴如下图所示 6.点击 ADD SSH KEY如下图所示 7.测试 (01) 在data目录下创建index.html文件并推到master分支 (02)在本地添加 阅读全文
posted @ 2020-02-11 19:16 happylive-888 阅读(418) 评论(0) 推荐(1)