摘要: SysRqSysRq组合键是一组"魔术组合键",只要内核没有被完全锁住,键盘还能够使用,不管内核在做什么事情,使用这些组合键可以立即打印出内核的信息。使用sysrq组合键是了解系统目前运行情况的最好方式。如果系统出现挂起的情况或者在诊断一些和内核相关,比较怪异,比较难重现的问题的时候,使用sy... 阅读全文
posted @ 2015-07-12 17:34 李庆喜 阅读(455) 评论(0) 推荐(0) 编辑
摘要: #!/bin/shecho " enable ip forward...."echo 1 >/proc/sys/net/ipv4/ip_forwardmodprobe ip_tablesmodprobe iptable_natmodprobe ip_conntrackmodprobe ip_c... 阅读全文
posted @ 2015-07-12 17:30 李庆喜 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://zhumeng8337797.blog.163.com/blog/static/100768914201172125444948/SSH的端口转发:本地转发LocalForward和远程转发Remote Forward关于使用sshportforwarding来进行FQ... 阅读全文
posted @ 2015-07-12 17:14 李庆喜 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 参考文档:关于ubuntu安装之后系统grub被破坏了之后进行修复的总结 如果找到了正确的grub目录,设法临时性将grub的两部分关联起来,方法如下:以下是/boot没有单独分区的命令:引用:grub rescue>set root=(hd0,msdos1)grub rescue>set p... 阅读全文
posted @ 2015-07-12 17:04 李庆喜 阅读(212) 评论(0) 推荐(0) 编辑
摘要: Haproxy示例之访问内网mongoDB请参考官方doc/usr/share/doc/haproxy-1.4.24/环境:CentOS6.5 x64+haproxy-1.4.24一.安装haproxy#yum -y install haproxy二.配置haproxy#vim /etc/ha... 阅读全文
posted @ 2015-07-12 16:50 李庆喜 阅读(675) 评论(0) 推荐(0) 编辑
摘要: 原文链接如下:http://www.chnlanker.com/web-server/3760.htmlhttp://blog.chinaunix.net/uid-20639775-id-154441.htmlhttp://linuxme.blog.51cto.com/1850814/3729... 阅读全文
posted @ 2015-07-12 16:45 李庆喜 阅读(334) 评论(0) 推荐(0) 编辑
摘要: Ubuntu安装使用iptablessudo apt-get installiptables-persistentiptables-save >/etc/iptables.up.rules 接着修改 /etc/network/interfaces脚本自动应用这些规则(末行是添加的) auto ... 阅读全文
posted @ 2015-07-12 16:43 李庆喜 阅读(2186) 评论(0) 推荐(0) 编辑
摘要: 参考文档:http://blog.chinaunix.net/uid-10915175-id-3381754.htmliptablesraw表" title="iptables raw表">5链:PREROUTING,INPUT,FORWARD,OUTPUT,POSTROUTING4表:优先级... 阅读全文
posted @ 2015-07-12 16:27 李庆喜 阅读(1512) 评论(0) 推荐(0) 编辑
摘要: MariaDB字符集编码查看数据库支持的所有字符集SHOW CHARACTER SET;SHOW COLLATION;一.查看编码 Welcome to the MariaDB monitor. Commands endwith ; or \g.Your MariaDB connection... 阅读全文
posted @ 2015-07-12 16:21 李庆喜 阅读(606) 评论(0) 推荐(0) 编辑
摘要: Centos,Redhatip link set dev eth0 mtu 1454echo “MTU=1454” >>/etc/sysconfig/network-scripts/ifcfg-eth0Ubuntusudo ip link set dev eth0 mtu 1454sudo s... 阅读全文
posted @ 2015-07-12 16:15 李庆喜 阅读(3221) 评论(0) 推荐(0) 编辑
摘要: I/O性能测试---fio 官方网站:http://freecode.com/projects/fiohttp://brick.kernel.dk/snaps/ 简介:fio is an I/Otool meant to be used both for b... 阅读全文
posted @ 2015-07-12 16:10 李庆喜 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 请参看:LNMP源码安装配置WordPress安装配置Discuz!X官方链接:http://www.discuz.net/thread-3570835-1-1.html以Discuz!X3.2 UTF8简体中文版为例:说明:Discuz!X的编码要和数据库的编码格式保持一致,不一致很可能会出... 阅读全文
posted @ 2015-07-12 15:01 李庆喜 阅读(470) 评论(0) 推荐(0) 编辑
摘要: 参考文档:使用 Crash 工具分析 Linux dump 文件深入探索 Kdump,第 1 部分:带你走进 Kdump 的世界深入探索 Kdump,第 4 部分: kdump 的亲密战友 crash相关链接:http://debuginfo.centos.org/6/注意:kernel-de... 阅读全文
posted @ 2015-07-12 14:44 李庆喜 阅读(1666) 评论(0) 推荐(0) 编辑
摘要: 参考文档:http://blog.eood.cn/web-performance-testing-gor相关链接:https://github.com/buger/gorhttps://github.com/doubaokun/node-abhttps://github.com/session... 阅读全文
posted @ 2015-07-12 13:43 李庆喜 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 参考文档:http://blog.eood.cn/web-performance-testing-gor相关链接:https://github.com/buger/gorhttps://github.com/doubaokun/node-abhttps://github.com/session... 阅读全文
posted @ 2015-07-12 13:43 李庆喜 阅读(416) 评论(0) 推荐(0) 编辑