how does mysql create template table? if you running GROUP BY and some other kinds of queries MySQL needs to create temporary tables, which can be created in memory, using MEMORY storage engine or can be created on disk as MYISAM tables. Which one will be used depends on the allowed tmp_table_size a ...
  • 00:14
  • 浏览 (37)
  • 评论 (0)
ror app server thin "unable to delete epoll event" that bug is cause by eventmachine you need upgrade to eventmachine 0.11 version here is upgrade code sudo gem install eventmachine --source http://code.macournoyer.com terminate called after throwing an instance of 'std::runtime_error' what(): ...
  • 14:52
  • 浏览 (31)
  • 评论 (0)
do you know tee? sample cat access.log | grep -i 'bot' | tee ~/bot.log
  • 22:18
  • 浏览 (41)
  • 评论 (0)
2008-05-15

peace

peace
  • 13:04
  • 浏览 (48)
  • 评论 (0)
2008-05-07

ubuntu 7.10 Gutsy can not disable ipv6

关键字: ubuntu 7.10 gutsy can not disable ipv6
ok ubuntu 7.10 gutsy cannot disable ipv6 add this text to the end of /etc/modprobe.d/blacklist install ipv6 /bin/true then reboot normally disable ipv6 on linux add this text to the end of /etc/modprobe.d/blacklist blacklist ipv6 then reboot but that code can not work with 7.10 gutsy version oops ...
2008-05-05

ubuntu firewall shorewall quickstart

关键字: ubuntu firewall shorewall quickstart
1.apt-get install shorewall 2. cp /usr/share/doc/shorewall/default-config/policy /etc/shorewall/policy cp /usr/share/doc/shorewall/default-config/rules /etc/shorewall/rules cp /usr/share/doc/shorewall/default-config/interfaces /etc/shorewall/interfaces cp /usr/share/doc/shorewall/default-config/zon ...
2008-04-28

what does linux load average mean?

关键字: what does linux load average mean?
ok first how can we get load average info from linux use uptime cmd also you can get that info by top cmd the output will be: 19:11:40 up 6 days, 3:04, 2 users, load average: 5.55, 3.17, 2.34 the load average have three numbers each numbers mean 1min,5mins,15mins and the definition of load avera ...
  • 19:32
  • 浏览 (96)
  • 评论 (0)
2008-04-26

soft raid on ubuntu 7.10

关键字: soft raid on ubuntu 7.10
today I decide setup soft raid with my new 1u box the hardware config is: amd 4400 cpu 64bit harddisk 2 * sata 250g 8gb ram finally I decide to setup ubuntu 7.10 on my box though gentoo maybe good for performance the reason that I didn't choose gentoo for my production env cos 1. maybe need too muc ...
  • 00:52
  • 浏览 (94)
  • 评论 (0)
2008-04-24

the drawback of rails action cache

关键字: rails action cache
rails action cache can help performance a lot but there is a drawback with action cache, it just can output text/html header content-type, eg: can not output text/xml header content-type for your blog rss feed. I think there may need a hacker with reverse proxy server like nginx. the config will ...
  • 01:56
  • 浏览 (83)
  • 评论 (0)
2008-04-22

centos 5 x86 with 4gb ram how to

关键字: centos 5 x86 with 4gb ram
centos 5 x86 default do not support 4gb memory there is a way to solve that try to install kernel with PAE support cmd: yum install kernel-PAE kernel-PAE-devel changing one line in /etc/grub.conf then reboot your server
  • 16:22
  • 浏览 (94)
  • 评论 (0)
nathan.wu
搜索本博客
博客分类
最近加入圈子
存档
最新评论