Optimize PHP, Apache & MySQL for performance « webjawns.com
http://webjawns.com/2010/01/optimize-php-apache-mysql-with-tuner-scripts-best-practices-and-more/
Install htop in FreeBSD
make install in /usr/ports/sysutils/htop will get an error message :
***********************************************************
htop(1) requires linprocfs(5) to be mounted. If you don't
have it mounted already, please add this line to /etc/fstab
and run `mount linproc`:
linproc /compat/linux/proc linprocfs rw 0 0
***********************************************************
By message :
$ echo "linproc /compat/linux/proc linprocfs rw 0 0" >> /etc/fstab
$ mount linproc
Then make install again.
硬碟炸了
上週學校主機突然當掉,請朋友重新開機還是沒起來。回到學校自己開機可以跑,但是跑了幾個小時以後又掛了,跳出一些錯誤訊息:
ad0: FAILURE - READ_MUL, status=51 error=4 , LBA=191g_vfs_done() , ad0s1 [READ] error=5
error issuing READ_DMA command
exec /sbin/init : error 5
在 PTT 上面爬了文,感覺情況並不是很樂觀,看起來應該是硬碟差不多要換新了。明天拿個開機光碟 mount 看看,不行的話就想辦法救資料吧。
ps. 原來乖乖被老鼠吃掉會當機,乖乖「全部」被吃掉硬體會掛………。