Tim K.C. Leung & Sin Y.S. Tin

轉:做「通渠佬」,畢竟比「IT 人」好

by on May.12, 2012, under 生活

做「通渠佬」,畢竟比「IT 人」好,通渠通常很暢快,雖然臭一點,但最起碼立竿見影,通就通,唔通就唔通,一兩個鐘就可以走人;另一方面,朋友們總不好意思叫你免費通渠,也不會在通渠失敗之時,叫你拆了馬桶回家再慢慢通--眼不見為乾淨,你在家修理三十個鐘,對方隨時連一句有誠意的「多謝哂」都沒有,反過來再遇到問題,立即又詛咒你:「乜果個大學讀電腦的友仔咁渣o架,呢頭修理完果頭又壞!」即使通渠不久後又爆屎渠,大家都會怪罪於亂拋垃圾的人,至多都是怪罪於馬桶,而不會怪罪於那個不幸的通渠佬。

轉自:

Leave a Comment :, more...

No more ‘php_value mbstring.func_overload’ in .htaccess

by on Apr.18, 2012, under Linux, web programming

Since to the patch of php bug #43227
There is no more effect on .htaccess ‘php_value mbstring.func_overload’ setting.

The work-around is to set func_overload into Apache virtualhost config file.
php_admin_value mbstring.func_overload X
X is the value that you want to set.

Leave a Comment :, , , more...

How to solve “Out of resources when opening file”

by on Apr.03, 2012, under Linux

When you got “23: Out of resources when opening file” or “1016: Can’t open file” from Directadmin backup output or mysqldump output, it is all about open-file-limit

what you need to do is increase the open-file-limit and set it into /etc/my.cnf
open_files_limit=14096
then restart the mysql service
/etc/init.d/mysqld restart

Leave a Comment :, , more...

Complete the unfinished yum update

by on Mar.22, 2012, under Linux

Sometime, you have to Ctrl-C the running yum update.
However, it will make the yum or some software brake the dependency and make problem.
You may use yum-complete-transaction to resume the yum update and solve the problem

Leave a Comment : more...

Startup with full text mode in CentOS 6

by on Mar.22, 2012, under Linux

delete rhgb and quiet from /etc/grub.conf

Leave a Comment : more...

mdadm – mismatch_cnt is not 0 on /dev/md0

by on Feb.12, 2012, under 生活

/etc/cron.weekly/99-raid-check:
WARNING: mismatch_cnt is not 0 on /dev/md0
if uncounted the title's warning in weekly check. We have to do the following to repair and check the array.

echo repair >/sys/block/md0/md/sync_action
echo check >/sys/block/md0/md/sync_action

Ref: http://www.centos.org/modules/newbb/viewtopic.php?topic_id=23164&forum=37
Apparently, a non-zero number is common on RAID-1 and RAID-10 due to
various (harmless?) issues like aborted writes in a swap file.

So my take on all of that is, if you see it on RAID-5 or RAID-6, you
should worry. But if it's on an array with memory mapped files or swap
files/partitions that is RAID-1 or RAID-10, it's less of a worry.
Leave a Comment :, , more...

Directadmin mail forward for 1st (master) account

by on Jan.05, 2012, under Linux, 電腦

In directadmin, mail can be forwarded to other mail box / e-mail address by setting forarder.

However, the setting for master account and virtual account are different. here is the tips.

For master account:

iammaster@domains.com  iammaster,somebody@yahoo.com.hk

For virtual account:

iamvirtual@starfls.com  somebody@yahoo.com.hk

The different is that for virtual e-mail forwarder, a copy must be sent to the virtual account and forward another copy to the forwarder address. However master e-mail forwarder doesn’t.

Leave a Comment :, more...

Disable dmraid support when installing CentOS 6.x

by on Dec.28, 2011, under 生活

When the Centos installation disk ask for the choice of text mode or graphic mode, use “Tab” to edit and add the following at the end.

nodmraid

Leave a Comment more...

Norton DNS

by on Dec.19, 2011, under Networking, 電腦

198.153.192.1
198.153.194.1

Leave a Comment more...

Install VMware Tools in Linux

by on Dec.11, 2011, under VMware, 電腦

# yum install gcc gcc-c++ kernel-devel
# ln -s /usr/src/kernels/[your kernel version] /usr/src/linux

# mkdir /mnt/cdrom
# mount /dev/cdrom /mnt/cdrom
# cd /mnt/cdrom
# cp VMwareTools-[version].tar.gz /tmp
# cd /tmp
# umount /mnt/cdrom
# tar zxf VMwareTools-[version].tar.gz
# cd /tmp/vmware-tools-distrib
# ./vmware-install.pl

From: http://www.thewebhostinghero.com/tutorials/install-centos-on-vmware-part3.html

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...

  • Oracle PL/SQL Tutorial