Gene Leung's Blog
  • Home
  • About
  • Collection
  • Author
  • Portal
  • Sign in
  • Subscribe

Bookmarks

You haven't yet saved any bookmarks. To bookmark a post, just click .

Menu

Social

Uncategorized

A collection of 25 posts

Zabbix – “is the ultimate open source availability and performance monitoring solution. Zabbix offers advanced monitoring, alerting, and visualization features today which are missing in other monitoring systems, even some of the best commercial ones.” Here we have used it for all of my clients’ offices.

Zabbix - the network cybercop

28 November 2012
network
Just type in the following command: [root@mail ~]# for d in `ls /workplace/imap/user/`; do du -s -h /workplace/imap/user/$d; done; That’s all.

Checking Cyrus Mail Box Directory Size

30 May 2011
bash
Here is the code for MacTex Chinese Support under Mac OS X 10.6.6, MacTEX-2010: %!TEX encoding = UTF-8 Unicode \documentclass[12pt]{article} \usepackage{CJKutf8} \begin{document} \begin{CJK}{UTF8}{bsmi} This is a test. 中文字測試。 \end{CJK} \end{document}

MacTeX, Chinese Support

21 March 2011
43
Here’s a quick way to downgrade rubygems: gem uninstall rubygems-update -v 1.5.2 gem install rubygems-update -v 1.4.2 gem -v

Downgrade Rubygems

22 February 2011
programming
Problem: 1. The mysqli error was: Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2). 2. Click the “Open phpMyAdmin”, it yields the following error: For security reasons, the link to the phpMyAdmin interface from Zend Server is locked for remote

Zend Server CE on Mac OS X 10.6

20 September 2010
database
Syntax:  dd if=/dev/sda | gzip | ssh root@target ‘gzip -d | dd of=/dev/sda’ Example: dd if=/dev/xenvg/ss_mail_root bs=32M |gzip |ssh root@192.168.168.4 ‘gzip -d | dd of=/dev/xenvg/yfmail_root bs=32M’ The authenticity of host

Disk Cloning with dd and ssh tunnel

17 July 2010
backup
First, download the code: cd /tmp wget http://www.skype.com/go/getskype-linux-beta-static mkdir /usr/share/skype tar jxvf skype_static-2.1.0.81.tar.bz2 cd skype_static-2.1.0.81/ less README cp skype /usr/bin/skype cp -r avatars/* /usr/share/skype/ cp -r lang/* /usr/share/

Installation Skype on CentOS 5.5

16 July 2010
im
Add these two lines to the httpd.conf and it can hide away the server info for security sake. ServerTokens Prod ServerSignature Off

Secure Apache

14 July 2010
apache
Load more posts

1 of 4
Older Posts

Copyright © 2026, Gene Leung's Blog. All Right Reserved.