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)
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
...
- 14:01
- 浏览 (179)
- 评论 (0)
- 发布在 Ubuntu For Fun 圈子
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 ...
- 23:06
- 浏览 (200)
- 评论 (0)
- 发布在 Ubuntu For Fun 圈子
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)
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)
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)
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)
- 浏览: 3331 次
- 性别:

- 来自: 南京

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
new rails app server thi ...
gem install thinas far as i know thin is ...
-- by nathan.wu -
new rails app server thi ...
兄弟,来点详细点的安装、配置介绍呀
-- by crag






评论排行榜