USE="-arts -kde -qt -doc -debug 3dnow X aac aalib acl acpi alsa apache2 avi berkdb bmp bzlib cjk cdr crypt curl db2 fam ftp gdbm gnome gpm gtk gtk2 iconv java joystick maildir mmx mpeg mozilla msn mysql ncurses nls nptl opengl perl png python sasl sdl sqlite svga tiff usb wmf xine xv xvid zlib multichar ssl readline pam oggvorbis encode truetype freetype libg++ libwww mad mikmod motif imlib xml2 jpeg ithreads imap" \
FrontPage › king/2004-12
Dec 19, 2004 ¶
USE Flags ¶
Submitted by king @ 12-19 [03:57 pm]
Dec 16, 2004 ¶
unix time stamp to human time ¶
Submitted by king @ 12-16 [12:12 pm]
$ perl -e'$\="\n"; print scalar localtime(shift);' 1086628571.242 Mon Jun 7 13:16:11 2004 \
Dec 15, 2004 ¶
procps-3.2.4 ±ò¾ÒÀ»°æ¿ì ¾÷µ¥ÀÌÆ® µÇ´Â ÆÐÅ°Áö ¸®½ºÆ® ¶
Submitted by king @ 12-15 [04:33 pm]
[root@ns procps-3.2.4]# make install install -D --owner 0 --group 0 --mode a=rx uptime /usr/bin/uptime install -D --owner 0 --group 0 --mode a=rx tload /usr/bin/tload install -D --owner 0 --group 0 --mode a=rx free /usr/bin/free install -D --owner 0 --group 0 --mode a=rx w /usr/bin/w install -D --owner 0 --group 0 --mode a=rx top /usr/bin/top install -D --owner 0 --group 0 --mode a=rx vmstat /usr/bin/vmstat install -D --owner 0 --group 0 --mode a=rx watch /usr/bin/watch install -D --owner 0 --group 0 --mode a=rx skill /usr/bin/skill install -D --owner 0 --group 0 --mode a=rx snice /usr/bin/snice install -D --owner 0 --group 0 --mode a=rx kill /bin/kill install -D --owner 0 --group 0 --mode a=rx sysctl /sbin/sysctl install -D --owner 0 --group 0 --mode a=rx pmap /usr/bin/pmap install -D --owner 0 --group 0 --mode a=rx pgrep /usr/bin/pgrep install -D --owner 0 --group 0 --mode a=rx pkill /usr/bin/pkill install -D --owner 0 --group 0 --mode a=rx slabtop /usr/bin/slabtop install -D --owner 0 --group 0 --mode a=rx pwdx /usr/bin/pwdx install -D --owner 0 --group 0 --mode a=r uptime.1 /usr/share/man/man1/uptime.1 install -D --owner 0 --group 0 --mode a=r tload.1 /usr/share/man/man1/tload.1 install -D --owner 0 --group 0 --mode a=r free.1 /usr/share/man/man1/free.1 install -D --owner 0 --group 0 --mode a=r w.1 /usr/share/man/man1/w.1 install -D --owner 0 --group 0 --mode a=r top.1 /usr/share/man/man1/top.1 install -D --owner 0 --group 0 --mode a=r watch.1 /usr/share/man/man1/watch.1 install -D --owner 0 --group 0 --mode a=r skill.1 /usr/share/man/man1/skill.1 install -D --owner 0 --group 0 --mode a=r kill.1 /usr/share/man/man1/kill.1 install -D --owner 0 --group 0 --mode a=r snice.1 /usr/share/man/man1/snice.1 install -D --owner 0 --group 0 --mode a=r pgrep.1 /usr/share/man/man1/pgrep.1 install -D --owner 0 --group 0 --mode a=r pkill.1 /usr/share/man/man1/pkill.1 install -D --owner 0 --group 0 --mode a=r pmap.1 /usr/share/man/man1/pmap.1 install -D --owner 0 --group 0 --mode a=r sysctl.conf.5 /usr/share/man/man5/sysctl.conf.5 install -D --owner 0 --group 0 --mode a=r vmstat.8 /usr/share/man/man8/vmstat.8 install -D --owner 0 --group 0 --mode a=r sysctl.8 /usr/share/man/man8/sysctl.8 install -D --owner 0 --group 0 --mode a=r slabtop.1 /usr/share/man/man1/slabtop.1 install -D --owner 0 --group 0 --mode a=r pwdx.1 /usr/share/man/man1/pwdx.1 ldconfig cd /usr/bin/ && ln -f skill snice cd /usr/bin/ && ln -f pgrep pkill \
Dec 10, 2004 ¶
iptable »ç¿ë¹æ¹ý ¶
Submitted by king @ 12-10 [04:19 pm]
--begin script-- #!/bin/sh # ¿ì¼± ¸ðµç RuleÀ» Á¤¸®ÇÑ´Ù. /sbin/iptables -F # sshd ÀÀ´äÀ» ¹Þ¾ÆµéÀδÙ. /sbin/iptables -A INPUT -i eth0 -p tcp --source-port 22 -j ACCEPT # ´ÙÀ½À¸·Î °¢°¢¿¡ ´ëÇÑ Á¤Ã¥À» ¼¼¿î´Ù. * ÁÖÀÇ»çÇ× : ¿ø°Ý¿¡¼ ÀÛ¾÷ÇÏ¸é ¹Ù·Î DROP µÇ¹Ç·Î, ·ÎÄÿ¡¼ ÀÛ¾÷ÇؾßÇÑ´Ù ´Ü, À§¿Í°°ÀÌ sshd Æ÷Æ®ÀÎ 22¹øÀ» ¿¾îµÎ¾úÀ» °æ¿ì´Â ÀÛ¾÷°è¼Ó °¡´ÉÇÏ´Ù. /sbin/iptables -P INPUT DROP /sbin/iptables -P OUTPUT ACCEPT /sbin/iptables -P FORWARD DROP # localhost¿¡¼ÀÇ trafficÀ» ¹Þ¾ÆµéÀδÙ. /sbin/iptables -A INPUT -i lo -j ACCEPT # È®¸³µÈ ¿¬°á¿¡ ´ëÇÑ PacketÀ» ¹Þ¾ÆµéÀδÙ. /sbin/iptables -A INPUT -i eth0 -p tcp ! --syn -j ACCEPT # DNS ÀÀ´äÀ» ¹Þ¾ÆµéÀδÙ. /sbin/iptables -A INPUT -i eth0 -p tcp --source-port 53 -j ACCEPT /sbin/iptables -A INPUT -i eth0 -p udp --source-port 53 -j ACCEPT # ÀÎÁõ ¿¬°áÀ» °ÅºÎÇÑ´Ù(±×·¸Áö ¾ÊÀ» °æ¿ì ¸ÞÀϼ¹ö°¡ ¿À·§µ¿¾È ŸÀӾƿô »óÅ°¡ µÉ °ÍÀÌ´Ù.) /sbin/iptables -A INPUT -i eth0 -p tcp --destination-port 113 -j REJECT # echo³ª ¸ñÀûÁö¿¡ µµÂø ¸øÇϰųª ½Ã°£ ÃÊ°úµÈ icmp packetµéÀ» ¹Þ¾ÆµéÀδÙ. /sbin/iptables -A INPUT -i eth0 -p icmp --icmp-type 0 -j ACCEPT /sbin/iptables -A INPUT -i eth0 -p icmp --icmp-type 3 -j ACCEPT /sbin/iptables -A INPUT -i eth0 -p icmp --icmp-type 11 -j ACCEPT --end script— \
Dec 09, 2004 ¶
manpage »ç¿ë¹ý ¶
Submitted by king @ 12-09 [05:53 pm]
1 Commands Those commands that can be executed by the user from within a shell. 2 System calls Those functions which must be performed by the ker- nel. 3 Library calls Most of the libc functions, such as qsort(3). 4 Special files Files found in /dev. 5 File formats and conventions The format for /etc/passwd and other human-readable files. 6 Games 7 Conventions and miscellaneous A description of the standard file system layout, network protocols, ASCII and other character codes, this man page, and other things. 8 System management commands Commands like mount(8), many of which only root can execute. 9 Kernel routines This is an obsolete manual section. Once it was thought a good idea to document the Linux kernel here, but in fact very little has been documented, and the documentation that exists is outdated already. There are better sources of information for kernel developers. \
Dec 08, 2004 ¶
bluetux ¿ËÀÌ ¸¸µç ±Û²Ã ¶
Submitted by king @ 12-08 [03:48 pm]
15:47 <±î³ª¸®|A50> http://wiki.enterprise1.co.kr/~terry/jin3.pcf.gz
15:47 <±î³ª¸®|A50> http://wiki.enterprise1.co.kr/~terry/jin4.pcf.gz
15:47 <±î³ª¸®|A50>
15:47 <±î³ª¸®|A50> http://wiki.enterprise1.co.kr/~terry/jin4.pcf.gz
15:47 <±î³ª¸®|A50>
cvs¼¹ö ¼³Á¤Çϱ⠶
Submitted by king @ 12-08 [11:05 am]
¼³Á¤À̶ó±âº¸´Ù. À¢¸¸ÇÑ ¸®´ª½º¿¡´Â ´Ù ±ò·ÁÀÖÀ¸¹Ç·Î ±âµ¿ÇÏ´Â ¹ý Á¤µµ¸¦ Àû¾îº¾´Ï´Ù.
1. cvs °¡ ±ò·ÁÀÖ´ÂÁö È®ÀÎÇÑ´Ù.
3. /etc/xinetd.d/ ¿¡ ´ÙÀ½°ú °°Àº ÆÄÀÏÀ» Ãß°¡ ½ÃŲ´Ù.
4. /etc/init.d ¿¡ °¡¼ xinetd¸¦ ¸®·Îµå½ÃŲ´Ù.
rpm -q | grep cvs
±ò·ÁÀÖÁö ¾Ê´Ù¸é cvs rpmÀ» ¹Þ¾Æ ¼³Ä¡ÇÑ´Ù.
2. CVSROOT¸¦ ȯ°æº¯¼ö·Î Àâ¾ÆÁØ´Ù.±ò·ÁÀÖÁö ¾Ê´Ù¸é cvs rpmÀ» ¹Þ¾Æ ¼³Ä¡ÇÑ´Ù.
export CVSROOT=/home/cvs/
cvspserver
service cvspserver
{
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/bin/cvs
server_args = -f --allow-root=/home/cvs pserver
log_on_failure += USERID
}flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/bin/cvs
server_args = -f --allow-root=/home/cvs pserver
log_on_failure += USERID
./xinetd reload
5. cvs¸¦ ÃʱâÈÇÑ´Ù.cvs init
6. /home/cvs/CVSROOT¿¡ °¡º¸¸é µð·ºÅ丮°¡ »ý¼ºµÇ¾î ÀÖ´Ù.Dec 06, 2004 ¶
emerge error ¶
Submitted by king @ 12-06 [10:07 pm]
x31 nabi # emerge nabi-0.15.ebuild emerging by path implies --oneshot... adding --oneshot to options. *** emerging by path is broken and may not always work!!! Calculating dependencies *** You are emerging a masked package. It is MUCH better to use *** /etc/portage/package.* to accomplish this. See portage(5) man *** page for details. >>> Waiting 10 seconds before starting... >>> (Control-C to abort)... Continuing... in: 10 9 8 7 6 5 \
- ÇØ°á¹æ¹ý
ACCEPT_KEYWORDS="~x86" emerge \=nabi-0.15 \ÀÌ·±½ÄÀ¸·Î ÀÔ·ÂÀ» ÇÏ¸é µÈ´Ù !!!
2004³â 12¿ù 6ÀÏ ÇöÀç ÇѾƾ⾾ ä³Î ÀÚµ¿Á¶ÀÎ ¸®½ºÆ® ¶
Submitted by king @ 12-06 [04:32 pm]
/j #blue
/j #debian
/j #gentoo
/j #gnome
/j #kida_ÆÒŬ·´
/j #kldp
/j #linux
/j #onion
/j #perky
/j #soojung
/j #is.mina
/j #gentoo_doc
/j #CodeFest
/j #debian
/j #gentoo
/j #gnome
/j #kida_ÆÒŬ·´
/j #kldp
/j #linux
/j #onion
/j #perky
/j #soojung
/j #is.mina
/j #gentoo_doc
/j #CodeFest
Dec 03, 2004 ¶
gaim icon ¹Ù²Ù±â ¶
Submitted by king @ 12-03 [01:42 am]
<±î³ª¸®|X31> onion_x31win: /usr/share/pixmaps/gaim/status/default/msn.png À̳ðÀÌ ¹öµð¾ÆÀÌÄÜ <±î³ª¸®|X31> (±³Ã¼ÇØ ÁֽøéµÇ¿ä) <±î³ª¸®|X31> onion_x31win: /usr/share/pixmaps/gaim/icons/online.png À̳ðÀº Æ®·¹ÀÌ ¾ÆÀÌÄÜ <±î³ª¸®|X31> Ä«ÇǸ¸ ÇÏ¸é ³¡ -0- \