-
2009-12-17
Setting Up DHCP Service on Slackware
OS: Slackware 13.0
Installation: Full
Please refer to usb-and-pxe-installers/README_PXE.TXT on Installation CD for more information.
A simple /etc/dhcpd.conf for your DHCP Server where all computers are allowed to boot from the network using PXE.
# dhcpd.conf # # Configuration file for ISC dhcpd # # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. authoritative; ddns-update-style none; # Allow bootp requests allow bootp; # Point to the TFTP server: next-server 192.168.0.1; # Default lease is 1 week (604800 sec.) default-lease-time 604800; # Max lease is 4 weeks (2419200 sec.) max-lease-time 2419200; subnet 192.168.0.0 netmask 255.255.255.0 { option domain-name "my.lan"; option broadcast-address 192.168.0.255; option subnet-mask 255.255.255.0; option domain-name-servers 192.168.0.1; option routers 192.168.0.10; range dynamic-bootp 192.168.0.50 192.168.0.100; use-host-decl-names on; if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { filename "/slackware-13.0/pxelinux.0"; } }
-
2009-12-17
Setting Up NFS Service on Slackware
OS: Slackware 13.0
Installation: Full
# cp /etc/exports /etc/exports.default -pd
# vim /etc/exports
Add the following line:
/home/nfs 192.168.0.0/24(ro,sync,insecure,all_squash,subtree_check)
# mkdir /home/nfs/
# chmod a+x /etc/rc.d/rc.nfsd
# /etc/rc.d/rc.nfsd restart
For test, use the following command:
# mount -o nolock localhost:/home/nfs/ /your/nfs/mounted/dir/
-
2009-12-17
Setting Up FTP & TFTP Service on Slackware
OS: Slackware 13.0
Installation: Full
# cp /etc/inetd.conf /etc/inetd.conf.default -pd
# vim /etc/inetd.conf
Uncomment "tftp" line and edit "/tftpboot" to expected directory (/home/tftpboot).
Uncomment "vsftpd" line for FTP service.
# mkdir /home/tftpboot/
# /etc/rc.d/rc.inetd restart
TFTP will service with /home/tftpboot/ directory.FTP will service with /home/ftp/ directory. -
2009-12-10
键盘上的那些符号
遇到个小问题,需要查一下符号的发音以便搜索,转帖于此,以作参考。
这个带图的:
http://www.grassrootsdesign.com/intro/char.php
这个是一个 Word 文档:
http://www.maysstuff.com/offdocs/KeyboardSymbols.doc
内容简单复制于此,方便查找:
Symbol keys not requiring shift
` Left single quote
- Dash
= Equal sign
[ Left (opening) square bracket
] Right (closing) square bracket
\ Backslash
; Semi-colon
‘ Apostrophe
, Comma
. Period
/ Slash or Diagonal
Symbol keys requiring shift
~ Tilde
! Exclamation point
@ At symbol
# Number or Pound sign
$ Dollar sign
% Percent sign
^ Caret symbol
& Ampersand
* Asterisk
( Left (opening) parenthesis
) Right (closing) parenthesis
_ Underscore
+ Plus sign
{ Left (opening) bracket
} Right (closing) bracket
| Pipe symbol
: Colon
“ ” Quotation marks
< Less than symbol
> Greater than symbol
? Question mark
-
2009-07-07
遇到问题并不可怕
遇到问题并不可怕
可怕的是遇到问题后,怨天尤人、自怨自艾,或者束手无策。
-
2008-12-11
雪
昨天京城2008年首场雪。
好久没有见到这么大的雪了——虽然十年前我还觉得这只是一场小雪。
银装素裹,确实有些冬天的感觉。
上个月的运气也还算是不错,居然第一次发现发票里中奖5¥,不容易啊。
更可嘉的是,同时吃到一个双黄蛋。^_^
-
2008-11-17
偶感风寒
太久没有生活在北方了,似乎丧失了在北方生存的本能,不知道该在啥时候穿啥衣服——结果,感冒了……希望早点好。 -
2008-11-05
决策
前些天项目比较紧张,同一个项目中负责另外一部分功能开发的团队连续工作55个小时。还好,没有什么大的差错,总算赶在要求之前完工,出了一个 Demo 版。
赞赏同事们努力、认真、负责、等等等等的同时,也很让人寒心:为什么不能早些准备呢?何苦前面清闲的很,最后却折腾得筋疲力尽?
谁为大家的健康负责?显然,决策者的失误,需要执行者付出百倍的努力才有可能补偿。如何做出相对“正确”的决策?——做出决策的时候,谁又知道什么样的决策是“正确”的?
-
2008-11-05
Update Template
Update some details of my template.
Some Chinese words can't be replaced with English. ---- Beyond my control. What a pity!
-
2008-10-23
2 years, I'm back now
It hasn't been updated in the recent 2 years.
I am back now. Are you ready?

