摘要:
1> 查看linux版本号 lsb_release -a cat /etc/redhat-release 阅读全文
摘要:
1> 修改表的字段alter table trade_market change reqype reqtype int(10) unsigned not null;alter table trade_market drop column reqtype;alter table trade_marke... 阅读全文
摘要:
问题描述机房临时硬件问题, 机器掉电. 恢复后, 重启mysql进程, 结果出现core dump. 而且一直循环, 无法终止, 只能kill掉. backtrace如下.# service mysqld restartStopping mysqld: ... 阅读全文
摘要:
1> Test if the problem exists, code: #include #include #include #include #include #define CANARY "in_the_coal_mine"struct { char buffer[1024]; ... 阅读全文
摘要:
1> Test if the system is vulnerable env X="() { :;} ; echo vulnerable" /bin/sh -c "echo completed"2> Fix it yum update bash -y 阅读全文
摘要:
使用jpgragh绘制php图表, 下载地址http://jpgraph.net/download/1> 服务器环境centos6.5, php5.0.2> linux环境下需要配置jpgragh依赖的gd库: yum install php-gd -y service http... 阅读全文
摘要:
跨服务器mysql访问, iptables配置1> 设置被访问机器的mysql权限 grant all privileges on *.* to root@"[ip]" identified by "[pass]" with grant option; // 授权, 可以根据情况设置不同权限,... 阅读全文