http://manpages.ubuntu.com/manpages/hardy/man5/ietd.conf.5.html
# apt-get install iscsitarget
# mkdir data
# dd if=/dev/zero of=/data/iscsi bs=1M count=256
# vi /etc/ietd.conf
Target iqn.2-11-09.org.weithenn:iscsi-ha
Lun 0 Path=/data/iscsi,Type=fileio
# /etc/init.d/iscsitarget start
connect this service from Windows 7 with "iscsi initiator"
2012年2月16日 星期四
2012年2月5日 星期日
cacti: poller table and runtime problem.
http://forums.cacti.net/about29135.html
http://forums.cacti.net/about25765.html
http://www.cacti.net/downloads/docs/html/cli_poller_output_empty.html
1. Change Cacti log level to HIGH, or DEBUG.
2. run `php -q poller_output_empty.php`.
3. If the table problem solves, RRD should be processed normaly which shows GREEN in log.
http://forums.cacti.net/about25765.html
http://www.cacti.net/downloads/docs/html/cli_poller_output_empty.html
1. Change Cacti log level to HIGH, or DEBUG.
2. run `php -q poller_output_empty.php`.
3. If the table problem solves, RRD should be processed normaly which shows GREEN in log.
2012年2月3日 星期五
one-way sync backup with unison
http://superuser.com/questions/97497/one-way-syncing-backup-with-unison
unison /folder1/ /folder2/ -silent -force /folder1/
unison /folder1/ /folder2/ -silent -force /folder1/
2012年2月1日 星期三
java chinese fonts
http://hugedream.blogspot.com/2009/09/java.html
# cd /usr/lib/jvm/java-6-sun/jre/lib/fonts/
# mkdir fallback
# cd fallback
# ln -s /usr/share/fonts/truetype/arphic/uming.ttc .
# cd /usr/lib/jvm/java-6-sun/jre/lib/fonts/
# mkdir fallback
# cd fallback
# ln -s /usr/share/fonts/truetype/arphic/uming.ttc .
訂閱:
文章 (Atom)