会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
study notes
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2014年11月26日
sum()函数和count()函数的区别
摘要: mysql> select * from result;+------+---------+-------+| name | subject | score |+------+---------+-------+| a | a-1 | 60 || b | b-1 |...
阅读全文
posted @ 2014-11-26 09:55 study-notes
阅读(1223)
评论(0)
推荐(0)
2014年11月25日
生产环境SVN完美部署文档
摘要: ======================================================================================环境:Centos 5.5x86svn-server:10.0.0.99web-server:10.0.0.105=======...
阅读全文
posted @ 2014-11-25 21:38 study-notes
阅读(373)
评论(0)
推荐(0)
枚举 set 以及表联合查询实例
摘要: 枚举 set 以及表联合查询实例CREATE TABLE `enum_set` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(20) NOT NULL, `acl` set('x',...
阅读全文
posted @ 2014-11-25 19:00 study-notes
阅读(185)
评论(0)
推荐(0)
Vim 风格设置
摘要: vimrc 配置详解#-----------------------------------------------------------------------------------------------------set history=5000 #命令行历史纪录set hl...
阅读全文
posted @ 2014-11-25 12:30 study-notes
阅读(174)
评论(0)
推荐(0)
2014年11月17日
MySQL DDL DML DCL
摘要: mysql 5.6之前数据库alter table 原理:ALTER TABLE运行时会对原表进行临时复制,在副本上进行更改,然后删除原表,再对新表进行重命名。在执行ALTER TABLE时,其它用户可以阅读原表,但是对表的更新和修改的操作将被延迟,直到新表生成为止。新表生成后,这些更新和修改信息会...
阅读全文
posted @ 2014-11-17 15:54 study-notes
阅读(399)
评论(0)
推荐(0)
2014年11月13日
git+gitosis+gitweb 完整部署文档
摘要: 一:安装gityum install -y gituseradd git二:安装gitosis1:服务器端yum install python-setuptoolsgit clone git://github.com/res0nat0r/gitosis.gitcd gitosissudo pytho...
阅读全文
posted @ 2014-11-13 18:06 study-notes
阅读(377)
评论(0)
推荐(0)
MySQL datetime和timestamp的区别以及实例测试
摘要: datetime1. 占用8个字节2. 允许为空值,可以自定义值,系统不会自动修改其值。3. 实际格式储存(Just stores what you have stored and retrieves the same thing which you have stored.)4. 与时区无关(It...
阅读全文
posted @ 2014-11-13 17:36 study-notes
阅读(512)
评论(0)
推荐(0)
2014年11月11日
Fastdfs安装部署文档v1.0(2014-11-11)
摘要: #-----------------------------------------------------------------------------------------------------FastDFS服务端有两个角色:跟踪器(tracker)和存储节点(storage)跟踪器主要做...
阅读全文
posted @ 2014-11-11 22:04 study-notes
阅读(185)
评论(0)
推荐(0)
2013年10月31日
Haproxy日志配置详解
摘要: 由于数据分析的需要,我们必须打开Haproxy日志,并记录相关的503错误信息进行汇总统计,所以有了下文:在配置前,我们先来了解下日志的level: local0~local7 16~23保留为本地使用emerg 0 系统不可用alert 1 必须马上采取行动的事件crit 2 关键的事件err 3 错误事件warning 4 警告事件notice 5 普通但重要的事件info 6 有用的信息debug 7 调试信息好了 别的就不多说了,下面开始实际配置:vi haproxy.conf(在default处添加如下信息)#####################...
阅读全文
posted @ 2013-10-31 00:27 study-notes
阅读(3058)
评论(0)
推荐(0)
2013年9月23日
shell 账户批量管理脚本
摘要: 1 [root@CHN-BJ-01-DR720-VPN script]# cat account_auto.sh 2 #!/bin/bash 3 #Date:2013-08-29 4 #Author:ZhangLuYa 5 #Version 1.5 6 7 Port="51022" 8 Work="/work/script" 9 ip_list="${Work}/test.txt" 10 Password=$(cat /dev/urandom|head -1|md5sum|head -c 10) 11 12 Public(){ 13
阅读全文
posted @ 2013-09-23 12:10 study-notes
阅读(162)
评论(0)
推荐(1)
上一页
1
2
3
4
5
6
7
下一页
公告