会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
randywithj
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
2015年3月24日
[linux] 指令记录
摘要: 1> 查看linux版本号 lsb_release -a cat /etc/redhat-release
阅读全文
posted @ 2015-03-24 11:40 randywithj
阅读(133)
评论(0)
推荐(0)
2015年3月23日
[Mysql] 一些记录
摘要: 1> 修改表的字段alter table trade_market change reqype reqtype int(10) unsigned not null;alter table trade_market drop column reqtype;alter table trade_marke...
阅读全文
posted @ 2015-03-23 18:01 randywithj
阅读(120)
评论(0)
推荐(0)
2015年3月22日
[Mysql] mysql临时表corrupt
摘要: 问题描述机房临时硬件问题, 机器掉电. 恢复后, 重启mysql进程, 结果出现core dump. 而且一直循环, 无法终止, 只能kill掉. backtrace如下.# service mysqld restartStopping mysqld: ...
阅读全文
posted @ 2015-03-22 10:42 randywithj
阅读(586)
评论(0)
推荐(0)
2015年3月7日
[linux] Upgrading glibc for the GHOST Vulnerability
摘要: 1> Test if the problem exists, code: #include #include #include #include #include #define CANARY "in_the_coal_mine"struct { char buffer[1024]; ...
阅读全文
posted @ 2015-03-07 15:09 randywithj
阅读(157)
评论(0)
推荐(0)
[linux] shellshock
摘要: 1> Test if the system is vulnerable env X="() { :;} ; echo vulnerable" /bin/sh -c "echo completed"2> Fix it yum update bash -y
阅读全文
posted @ 2015-03-07 15:04 randywithj
阅读(180)
评论(0)
推荐(0)
2015年3月6日
[php] php图表显示
摘要: 使用jpgragh绘制php图表, 下载地址http://jpgraph.net/download/1> 服务器环境centos6.5, php5.0.2> linux环境下需要配置jpgragh依赖的gd库: yum install php-gd -y service http...
阅读全文
posted @ 2015-03-06 13:21 randywithj
阅读(362)
评论(0)
推荐(0)
[linux] mysql跨服务器访问, iptables设置
摘要: 跨服务器mysql访问, iptables配置1> 设置被访问机器的mysql权限 grant all privileges on *.* to root@"[ip]" identified by "[pass]" with grant option; // 授权, 可以根据情况设置不同权限,...
阅读全文
posted @ 2015-03-06 13:20 randywithj
阅读(953)
评论(0)
推荐(0)
上一页
1
2
公告