heal

导航

 

摘要: linux下使用yum安装mysql 1、安装 查看有没有安装过: yum list installed mysql* rpm -qa | grep mysql* 查看有没有安装包: yum list mysql* 安装mysql客户端: yum install mysql 安装mysql 服务器端 阅读全文
posted @ 2017-02-22 09:16 heal 阅读(3238) 评论(0) 推荐(0) 编辑
 

2018年6月4日

摘要: server { listen 80; server_name 域名或IP; rewrite ^(. )$ https://$host$1 permanent; } server { listen 443 ssl; server_name 域名或IP; access_log /var/log/ngi 阅读全文
posted @ 2018-06-04 19:15 heal 阅读(1797) 评论(0) 推荐(0) 编辑
 

2018年1月17日

摘要: 使用说明 Git命令行 Git使用http协议提交时报错,设置http缓存大小为500M git config http.postBuffer 524288000 修改已有的远程库地址 git remote set url origin 列出哪些分支包含某个commit git branch con 阅读全文
posted @ 2018-01-17 17:48 heal 阅读(199) 评论(0) 推荐(0) 编辑
 

2018年1月3日

摘要: GRANT 所需权限 ON .`表名` TO '账号'@'允许访问的IP地址'; 把中文按需替换掉 所需权限:select、insert、delete、update按需要来。 上面那个允许访问IP '%' 是通配符 表示任意地址都能访问到数据库 阅读全文
posted @ 2018-01-03 15:51 heal 阅读(452) 评论(0) 推荐(0) 编辑
 

2017年11月28日

摘要: 1、创建sftp组: groupadd sftp 2、创建测试账户: useradd g sftp s /bin/false testuser 修改密码: passwd sftp 3、修改测试账户HOME路径: usermod d /opt/sftp/testuser testuser 4、配置ss 阅读全文
posted @ 2017-11-28 16:06 heal 阅读(207) 评论(0) 推荐(0) 编辑
 

2017年11月21日

摘要: git reset soft commit id 阅读全文
posted @ 2017-11-21 14:36 heal 阅读(338) 评论(0) 推荐(0) 编辑
 
摘要: $ npm install save node sass registry=https://registry.npm.taobao.org disturl=https://npm.taobao.org/dist sass binary site=http://npm.taobao.org/mirro 阅读全文
posted @ 2017-11-21 14:35 heal 阅读(579) 评论(0) 推荐(0) 编辑
 

2017年9月8日

摘要: 晚上收到紧报警,一台数据库服务器磁盘空间使用快速从50%使用率到80%。我们生产的数据库都磁盘是 2T 登录机器发现 .myd文件异常大 登入数据库查询进程 mysql showprocesslist; 查到异常进程后进行杀掉 阅读全文
posted @ 2017-09-08 09:35 heal 阅读(412) 评论(0) 推荐(0) 编辑
 
摘要: 问题一:取消挂载失败 问题现象: umount /opt/data umount.nfs: /opt/data: device is busy umount.nfs: /opt/data: device is busy 方法一: ffuser m v /opt/sarli USER PID ACCE 阅读全文
posted @ 2017-09-08 09:27 heal 阅读(336) 评论(0) 推荐(0) 编辑
 

2017年8月17日

摘要: 1、邮件格式过滤 pre recieive rev_type=commit Only check the first commit information due to a lot of committer email is incorrect in exist git repo committer 阅读全文
posted @ 2017-08-17 15:51 heal 阅读(431) 评论(0) 推荐(0) 编辑
 

2017年8月13日

摘要: 首先,我们用pip安装virtualenv: 一、使用与启动: $ pip3 install virtualenv 然后,假定我们要开发一个新的项目,需要一套独立的Python运行环境,可以这么做: 第一步,创建目录: Mac:~ michael$ mkdir myproject Mac:~ mic 阅读全文
posted @ 2017-08-13 21:18 heal 阅读(173) 评论(0) 推荐(0) 编辑