U E D R , A S I H C RSS

FrontPage king/2004-11

Nov 30, 2004
man page to pdf
Submitted by king @ 11-30 [09:55 pm]
# man -t 5 passwd > passwd_manual.ps
# ps2pdf14 passwd_manual.ps passwd_manual.pdf
\

/etc/make.profile »õ·Î °Å´Â¹ý !!!
Submitted by king @ 11-30 [06:31 pm]
cd /etc/
 rm make.profile
 ln -s ../usr/portage/profiles/default-linux/x86/2004.3 make.profile
\

emerge sync ¿À·ù
Submitted by king @ 11-30 [05:52 pm]
wrote 14361 bytes  read 3740411 bytes  33081.69 bytes/sec
total size is 78789417  speedup is 20.98

>>> Updating Portage cache...  ...done!



Performing Global Updates: /usr/portage/profiles/updates/4Q-2004
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db move'
  s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
..........................................s



 ** Skipping packages. Run 'fixpackages' or set it in FEATURES to fix the
    tbz2's in the packages directory. Note: This can take a very long time.
 * IMPORTANT: 42 config files in /etc need updating.
 * IMPORTANT: 13 config files in /usr/X11R6/lib/X11/xkb need updating.
 * Type emerge --help config to learn how to update config files.
\

iwlist scanning result
Submitted by king @ 11-30 [03:41 pm]
eth1      Scan completed :
          Cell 01 - Address: 00:02:8A:A8:9C:15
                    ESSID:"dpsdpdlcldps_ap1"
                    Protocol:IEEE 802.11b
                    Mode:Master
                    Channel:6
                    Encryption key:on
                    Bit Rate:11 Mb/s
                    Extra: Rates (Mb/s): 11 
                    Extra: Signal: -60  dBm 
                    Extra: Last beacon: 14ms ago
          Cell 02 - Address: 00:02:8A:9E:50:74
                    ESSID:"dpsdpdlcldps_ap1"
                    Protocol:IEEE 802.11b
                    Mode:Master
                    Channel:6
                    Encryption key:on
                    Bit Rate:11 Mb/s
                    Extra: Rates (Mb/s): 11 
                    Extra: Signal: -75  dBm 
                    Extra: Last beacon: 15ms ago
          Cell 03 - Address: 00:02:8A:9E:51:D0
                    ESSID:"dpsdpdlcldps_ap1"
                    Protocol:IEEE 802.11b
                    Mode:Master
                    Channel:6
                    Encryption key:on
                    Bit Rate:11 Mb/s
                    Extra: Rates (Mb/s): 11 
                    Extra: Signal: -49  dBm 
                    Extra: Last beacon: 14ms ago
          Cell 04 - Address: 00:02:8A:9E:50:AE
                    ESSID:"dpsdpdlcldps_ap1"
                    Protocol:IEEE 802.11b
                    Mode:Master
                    Channel:3
                    Encryption key:on
                    Bit Rate:11 Mb/s
                    Extra: Rates (Mb/s): 11 
                    Extra: Signal: -54  dBm 
                    Extra: Last beacon: 18ms ago

\

°¡»ó µ¥½ºÅ©Å¾ for windows
Submitted by king @ 11-30 [11:22 am]

Nov 29, 2004
ij½ºÆ®Á¾·ù
Submitted by king @ 11-29 [02:44 pm]
14:39 <@¹«ÇÑÆ÷¿Ë> À¯´Ïij½ºÆ®´Â ÀϹÝÀûÀ¸·Î host - host ±¸¿ä.
14:39 <@¹«ÇÑÆ÷¿Ë> ¸ÖƼij½ºÆ®´Â µ¿½Ã¿¡ ¿©·¯´ë·Î »Ñ¸®´Âµ¥ Àß ¾È¾²ÀÌ°í.
14:40 <@¹«ÇÑÆ÷¿Ë> broadcast´Â °°Àº network ´ë¿ªÀÇ ¸ðµç È£½ºÆ®¿¡ »Ñ¸®Áö¿ä..

Nov 28, 2004
gnome mixer
Submitted by king @ 11-28 [09:28 pm]

¹è°æÈ­¸é site
Submitted by king @ 11-28 [06:03 pm]

Thinkpad wheel button on linux
Submitted by king @ 11-28 [03:48 pm]

±½°ÔÇ¥½ÃµÈ ºÎºÐ¸¸ Ãß°¡ÇØÁØ´Ù
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
# ¾Æ·¡ 1ÁÙ Ãß°¡
	InputDevice	"USB Mouse" "SendCoreEvents"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

...

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
# ¾Æ·¡ 4ÁÙÃß°¡
        Option	    "Emulate3Buttons""true"
        Option	    "Emulate3Timeout" "50"
        Option	    "EmulateWheel" "true"
        Option	    "EmulateWheelButton" "2"
EndSection

# ¾Æ·¡Ç׸ñ ´Ù Ãß°¡
Section	"InputDevice"
	Identifier	"USB Mouse"
	Driver		"mouse"
	Option		"Device"	"/dev/input/mice"
	Option		"Protocol"	"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection
\

Nov 27, 2004
for ipw2100 1.0.1 firmware
Submitted by king @ 11-27 [05:15 pm]

Nov 26, 2004
±Í¿©¿î msn À̸ðƼÄÜ 5°³
Submitted by king @ 11-26 [04:02 pm]

³ªÀÇ FireFox ÀͽºÅÙ¼Ç ¸ñ·Ï
Submitted by king @ 11-26 [10:47 am]

Nov 25, 2004
¾çÆÄ¿ËÀÌ ÁØ php ¼Ò½º
Submitted by king @ 11-25 [06:00 pm]
http://onionmixer.net/~onion/test1.php
echo ¹®À» È°¿ëÇÑ hello world
http://onionmixer.net/~onion/test2.php
$default_var º¯¼ö¿¡ ¹®ÀÚ¿­À» ´ëÀÔÇؼ­ echo ÇÑ hello world
http://onionmixer.net/~onion/test3.php
¹®ÀÚ¿­À» À̾îÁÙ¶§ »ç¿ëµÇ´Â ¿¬»êÀÚ "."
http://onionmixer.net/~onion/test4.php
º¯¼ö¸¦ ´õÇÒ¶§ »ç¿ëµÇ´Â ¿¬»êÀÚ "+"
http://onionmixer.net/~onion/test5.php
º¯¼ö¸¦ "" ·Î ¹­¾îµµ º¯¼ö·Î ÀνÄÇÏ´Â ¿¹Á¦
http://onionmixer.net/~onion/test6.php
¹®ÀÚ¿­°ú º¯¼ö¸¦ ´õÇßÀ»¶§ °á°ú´Â "º¯¼ö"¸¸ ³²À½
http://onionmixer.net/~onion/test7.php
test6.php ¿¹Á¦¸¦<html>, <body>, À¸·Î ¹­Àº ¿¹Á¦
http://onionmixer.net/~onion/test8.php
for¹®°ú "++" ¿¬»êÀÚ¸¦ »ç¿ëÇؼ­ 1ºÎÅÍ 10±îÁö ÁٹٲÞÇØ°¡¸é¼­ Ãâ·ÂÇÏ´Â ¿¹Á¦
http://onionmixer.net/~onion/test9.php
test8.php ¿¹Á¦¸¦ <php echo(" <html> <body>"); ·Î ¹­°í ´ÝÀº ¿¹Á¦
http://onionmixer.net/~onion/test10.php
test9.php ¿¹Á¦¿¡ echo ¹®À» Ãß°¡ÇÑ ¿¹Á¦
http://onionmixer.net/~onion/test11.php
if, else ¹®À» ÀÌ¿ëÇÏ¿© True, False °ª ¾ò¾î³»´Â ¿¹Á¦
http://onionmixer.net/~onion/test12.php
while ¹®À» ÀÌ¿ëÇÏ¿© 1ºÎÅÍ 10±îÁö ÁٹٲÞÇØ°¡¸é¼­ Ãâ·ÂÇÏ´Â ¿¹Á¦
http://onionmixer.net/~onion/test13.php
$_GET À» ÀÌ¿ëÇÑ if , else ¹® ¿¹Á¦
http://onionmixer.net/~onion/test14.php
for ¹®À» ÀÌ¿ëÇÏ¿© i °ª¿¡ 10º¸´Ù ÀÛÀ»¶§±îÁö 2¾¿ ´õÇÏ´Â ¿¹Á¦
http://onionmixer.net/~onion/test15.php
$_GET À» ÀÌ¿ëÇÑ echo ¹® ¿¹Á¦

½ºÆÔ ¹ß¼Û À¯µ¿ IP List
Submitted by king @ 11-25 [11:11 am]

Nov 24, 2004
µð·ºÅ丮º°·Î ¿ë·®È®ÀÎÇÒ¶§
Submitted by king @ 11-24 [10:47 am]
1. du -sh *
2. du -h --max-depth=1 µð·ºÅ丮

Nov 23, 2004
awk ¹®Àå Çϳª ´õ
Submitted by king @ 11-23 [04:35 pm]
# awk -F'-' '{ print $NF $(NF-1) $(NF-2) }'
\

-F '-' : ±¸ºÐÀÚ¸¦ '-' ·Î ÁöÁ¤ÇÑ´Ù, ±âº»°ªÀº ' ' ÀÌ´Ù (½ºÆäÀ̽º,ÅÇ)
NF : ÇʵåÀǼýÀÚ¸¦ ÁöÁ¤ÇØÁÜ (NF-1 Àº NF º¸´Ù Çϳª ÀûÀº ÀÚ¸´¼ö)

¿¹¹®) ms-kim-znc
°á°ú°ª) znckimms (°Å²Ù·Î -°¡ ¾øÀÌ ³ª¿­µÈ´Ù)

mysql ÆÄÀÏ¿¡¼­ ¿øÇϴ°͸¸ ÃßÃâÇϱâ
Submitted by king @ 11-23 [03:53 pm]
  • mysql ÆÄÀÏ

ns:/tmp# cat mysql
Mon Nov 22 04:00:00 KST 2004
Mon Nov 22 14:45:19 KST 2004
418-data/han662.pid
419-/bin/tar: Error exit delayed from previous errors
420-building file list ... done
421:han662data.gz
422:han662data.gz
423-wrote 6816186828 bytes  read 10818965 bytes  211143.42 bytes/sec
424-total size is 6813642151  speedup is 1.00
425-Mon Nov 22 14:45:19 KST 2004
Uptime: 2183641  Threads: 601  Questions: 128667057  Slow queries: 145
Opens: 1400  Flush tables: 1  Open tables: 127  Queries per second avg: 58.923
| Max_used_connections     | 649        |
| Key_reads                | 468        |
| Key_read_requests        | 8844554    |
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1              3099260   1795896   1145932  62% /
none                         0         0         0   -  /proc
usbdevfs                     0         0         0   -  /proc/bus/usb
none                         0         0         0   -  /dev/pts
/dev/sda6             25711124   7192752  17212292  30% /env
/dev/sda5              2063504     45800   1912884   3% /home
none                   1032220         0   1032220   0% /dev/shm
/dev/sda3              2063536    328340   1630372  17% /var
/dev/sdb1             70557052  23517372  43455584  36% /data
23G     /data/mysqldata/data
ns:/tmp#
\

  • get.sh

ns:/tmp# cat get.sh
#!/bin/sh
STARTTIME=`head -1 mysql | awk '{print }'`
echo "½ÃÀ۽ð£: $STARTTIME"
ENDTIME=`head --lines=2 mysql | tail -1 | awk '{print }'`
echo "³¡³­½Ã°£: $ENDTIME"
grep 'total size is' mysql | awk '{print }'
grep 'avg:' mysql | awk '{print }'
grep 'Max_used_connections' mysql | awk '{print }'
grep '\/data' mysql | awk '{print }'
ns:/tmp#
\

  • °á°ú°ª

ns:/tmp# ./get.sh
½ÃÀ۽ð£: 04:00:00
³¡³­½Ã°£: 14:45:19
6813642151
58.923
649
36%

ns:/tmp#
\

³ª¸ÓÁöµµ ÀÌ·±½ÄÀ¸·Î ÇÏ¸é µÈ´Ù :)

wheel ±×·ì¸¸ su »ç¿ëÇϱâ
Submitted by king @ 11-23 [11:35 am]
# cd /usr/bin
# ls -l
# chmod 4750 /bin/su
# chgrp wheel /bin/su
# vi /etc/group
wheel:x:10:root,tongseob ÀÌ·±½ÄÀ¸·Î Ãß°¡
\

Nov 22, 2004
FC3 ¿¡¼­ mysql 4 ¼³Ä¡ÇÏ´Ù°¡ libcprts.so.5 ¾ø´Ù°í ÇÒ¶§
Submitted by king @ 11-22 [03:05 pm]
./bin/my_print_defaults: error while loading shared libraries: libcprts.so.5: cannot open shared object file: No such file or directory
Installing all prepared tables
./bin/mysqld: error while loading shared libraries: libcprts.so.5: cannot open shared object file: No such file or directory
Installation of system tables failed!
\

FC3 ¿¡¼­ SELinux ²ô´Â¹ý
Submitted by king @ 11-22 [11:40 am]
  • ¼³Á¤ÆÄÀÏÀ§Ä¡ : /etc/selinux/config

[root@wiki selinux]# cat config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
#SELINUX=enforcing
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted
\

  • ²ô´Â¹ý

# setenforce 0
\

  • Å°´Â¹ý

# setenforce 1
\

  • /boot/grub/grub.conf ¿¡¼­ selinux=0 ºÎÆ®Ç÷¡±× ¿É¼ÇÀ» ÁØ´Ù

Nov 18, 2004

RedHat 7.3 apt-get upgrade ³»¿ª
Submitted by king @ 11-18 [12:11 am]
The following packages will be upgraded
  Canna-devel Canna-libs LPRng WindowMaker WindowMaker-libs XFree86-100dpi-fonts XFree86-75dpi-fonts XFree86-ISO8859-15-100dpi-fonts
  XFree86-ISO8859-15-75dpi-fonts XFree86-ISO8859-2-100dpi-fonts XFree86-ISO8859-2-75dpi-fonts XFree86-doc XFree86-font-utils XFree86-tools
  XFree86-truetype-fonts apache apache-devel apache-manual ark arpwatch arts arts-devel balsa bind bind-devel bind-utils cervisia cpp cups cups-devel
  cups-libs cvs dateconfig ddskk-xemacs epic ethereal ethereal-gnome evolution fetchmail fetchmailconf file fileutils gaim gal gal-devel galeon gcc gcc-c++
  gcc-chill gcc-g77 gcc-java gcc-objc gdb gdm gettext gftp ggv gkrellm glibc glibc-common glibc-debug glibc-debug-static glibc-devel glibc-kernheaders
  glibc-profile glibc-utils gnupg grip gtkam gtkam-gimp gtkhtml gtkhtml-devel gv hanterm-xf hwdata iproute iptables iptables-ipv6 kaboodle kamera karm
  kcalc kcoloredit kde-i18n-Korean kdeaddons-noatun kdeadmin kdeartwork kdeartwork-kworldclock kdeartwork-locolor kdeartwork-screensavers kdegames
  kdegames-devel kdelibs kdelibs-devel kdemultimedia-arts kdemultimedia-devel kdemultimedia-kfile kdemultimedia-libs kdenetwork-devel kdenetwork-libs
  kdepasswd kdepim kdepim-cellphone kdepim-devel kdepim-pilot kdesdk-gimp kdesdk-kapptemplate kdesdk-kbabel kdesdk-kbugbuster kdesdk-kmtrace kdesdk-kompare
  kdesdk-kspy kdessh kdetoys kdevelop kdict kdvi kedit kfax kfile-pdf kfile-png kfloppy kfract kghostview khexedit kiconedit kit kjots kljettool klpq kmail
  kmid kmidi kmix knewsticker knode knotes koncd kooka korn kpaint kpf kppp krb5-devel krb5-libs krb5-server krb5-workstation kregexpeditor
  kregexpeditor-devel kruler kscd ksirc ksnapshot ktalkd ktimer kuickshow kview kviewshell kviewshell-devel kxmlrpcd lftp libao libao-devel libesmtp
  libesmtp-devel libgal19 libkscan libkscan-devel libmad libpcap libpng libpng-devel libstdc++ libstdc++-devel libusb libusb-devel lisa losetup lv lynx
  mailman man mgetty mgetty-sendfax mgetty-viewfax mgetty-voice micq mm mm-devel mod_auth_any mod_python mod_ssl modutils-devel mount mozilla mozilla-chat
  mozilla-devel mozilla-dom-inspector mozilla-js-debugger mozilla-mail mozilla-nspr mozilla-nspr-devel mozilla-nss mozilla-nss-devel mozilla-psm mysql
  mysql-devel mysql-server mysqlclient9 nasm nasm-doc nasm-rdoff nautilus nautilus-devel nautilus-mozilla netpbm netpbm-devel netpbm-progs netscape-common
  netscape-communicator netscape-navigator nfs-utils noatun nscd nss_ldap openldap openldap-clients openldap-devel openldap-servers openldap12 openssh
  openssh-askpass openssh-askpass-gnome openssh-clients openssh-server openssl openssl-devel openssl-perl openssl095a openssl096 pam pam-devel pam_smb pan
  perl perl-CGI perl-CPAN perl-DB_File perl-Digest-MD5 perl-NDBM_File perl-suidperl php-devel pine postfix postgresql postgresql-contrib postgresql-devel
  postgresql-docs postgresql-jdbc postgresql-libs postgresql-odbc postgresql-perl postgresql-python postgresql-server postgresql-tcl postgresql-tk psmisc
  pxe python python-devel python-docs python-tools python2 python2-devel python2-docs qt qt-MySQL qt-ODBC qt-PostgreSQL qt-Xt qt-designer qt-devel
  qt-static quota redhat-config-network redhat-lsb rhn_register rhn_register-gnome rsync rxvt samba samba-client samba-common samba-swat sane-backends
  sane-backends-devel scrollkeeper sendmail sendmail-cf sendmail-devel sendmail-doc shadow-utils sox-devel squid stunnel tar tcpdump tetex tetex-dvips
  tkinter tkinter2 ucd-snmp ucd-snmp-devel ucd-snmp-utils unzip up2date up2date-gnome util-linux vim-X11 vim-common vim-enhanced vim-minimal vnc vnc-doc
  vnc-server wget wordtrans wordtrans-kde wordtrans-qt wordtrans-web wu-ftpd xchat xinetd xpdf xpdf-chinese-simplified xpdf-chinese-traditional
  xpdf-japanese xpdf-korean ypserv yum zebra zlib zlib-devel
The following packages have been kept back
  XFree86 XFree86-Xnest XFree86-Xvfb XFree86-base-fonts XFree86-devel XFree86-libs XFree86-twm XFree86-xdm XFree86-xf86cfg XFree86-xfs ghostscript gnomeicu
  gphoto2 gphoto2-devel kcharselect kdeaddons-kate kdeaddons-kicker kdeaddons-knewsticker kdeaddons-konqueror kdebase kdebase-devel kdebindings
  kdebindings-devel kdebindings-kmozilla kdeutils-laptop kdf klprfax libogg libogg-devel libvorbis libvorbis-devel mpg321 php php-imap php-ldap php-manual
  php-mysql php-odbc php-pgsql php-snmp sox sylpheed vorbis-tools xine
\

Nov 16, 2004
Fedora Core 3 - nptl È®Àο©ºÎ
Submitted by king @ 11-16 [05:58 pm]
[root@ns lib]# getconf GNU_LIBPTHREAD_VERSION
NPTL 2.3.3
[root@ns lib]#
\

gentoo profile change
Submitted by king @ 11-16 [11:08 am]
To upgrade do the following steps:
# emerge -n '>=sys-apps/portage-2.0.51'
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default-linux/x86/2004.2 make.profile
or
# ln -s ../usr/portage/profiles/default-linux/x86/2004.3 make.profile
\

Nov 16, 2004
gentoo mirror
Submitted by king @ 11-16 [12:45 am]

ntsysv description file
Submitted by king @ 11-15 [11:49 am]

Nov 12, 2004
Ä«½º 1.5 ¸®½ºÆ®
Submitted by king @ 11-12 [05:22 pm]
all seeing eye import needs


Fedora Core 3
Submitted by king @ 11-12 [02:17 pm]

Nov 10, 2004
Æäµµ¶ó ÄÚ¾î2 -> ÄÚ¾î3 ¾÷±×·¹À̵å (ÀýÂ÷¿ä¾à)
Submitted by king @ 11-10 [11:51 am]
ÀýÂ÷ ¿ä¾à . (´õ ¿ä¾à ÇÒ °Íµµ ¾ø³×¿ä. ^^)

1. ¹é¾÷ Çضó.

2. rpm -q kernel kernel-smp
¾²Áö ¾Ê´Â Ä¿³ÎÀº »èÁ¦ Çضó.

3. yum clean all
yum dir À» ±ú²ýÀÌ ( »õ·Î¿î yum list ¸¦ ¾ò±â À§ÇØ )

4. rpm -Uvh yum-2.1.11-3.noarch.rpm
´Ù¿î¹ÞÀº »õ·Î¿î yum À¸·Î ¾÷±×·¹À̵å.

5. rpm -Uvh fedora-release-3-8.i386.rpm
¿ª½Ã ´Ù¿î¹ÞÀº fedora-release µµ ¾÷±×·¹À̵å

6. yum list updates
yum list ¾÷µ¥ÀÌÆ®

7. yum upgrade
ÀÌÁ¦ ¾÷±×·¹ÀÌµå ½ÃÀÛ..

8. Gnome À¯Àú´Â ÀÌ·¸°Ô.
yum groupupdate "GNOME Desktop Environment"
(ÀÌ·¸°Ôµµ °¡´ÉÇϱº¿ä. ¸ô¶úÀ½. )

9. ÀçºÎÆÃ.. ÀÌ»ó¾ø±â¸¦..


Ʋ¸°ºÎºÐ ÁöÀû ¹× ¼öÁ¤ÇØÁÖ¼¼¿ä.
À§ yum list ¸¦ ¼öÀÛ¾÷À¸·Î Ãß°¡ÇØ ÁÖ¾î¾ß ÇÒ °ÍÀÌ ÀÖ³ª¿ä?

apt-get À¸·Î ¾÷±×·¹À̵å ÇÏ´Â ¹æ¹ýµµ ÀÖ¾úÁÒ?

Fedora Core2 -> Core3 Upgrade
Submitted by king @ 11-10 [11:47 am]
Upgrading from Fedora Core 2 to Fedora Core 3 via Yum:
                                                                                                                                                           
In general, if you're not cramped for space/time/something you should use
anaconda to upgrade. You'll find you come out with a much more reliable
upgrade process and much less pain. However, if you'd like to try to 
upgrade the whole system via yum you should follow these instructions. 
                                                                                                                                                           
Before you start it would be a good idea to do the following:
- BACKUP YOUR DATA

- run rpm -q kernel kernel-smp
  compare the results to the kernel you are running (uname -r).
  run 'rpm -e' for each of the kernels that you are not using
   ex:
    rpm -e kernel-2.6.5-1.358 kernel-smp-2.6.5-1.358
 
   This will make things a lot easier on you, trust me, and it frees up a HUGE 
   amount of disk space.

- clean up your yum dirs:
  yum clean all
  
- download yum from the fedora core 3 tree and update it:
  rpm -Uvh yum-2.1.11-3.noarch.rpm

http://download.fedora.redhat.com/pub/fedora/linux/core/3/i386/os/Fedora/RPMS/yum-2.1.11-3.noarch.rpm
  
- download fedora-release from the fedora core 3 tree and update it:
  rpm -Uvh fedora-release-3-8.i386.rpm                                        

http://download.fedora.redhat.com/pub/fedora/linux/core/3/i386/os/Fedora/RPMS/fedora-release-3-8.i386.rpm

- run a yum list updates to get the metadata and make sure everything is working:
  yum list updates
  you should see a lot of packages from that output.
  
- Now you're ready to run the update:
  yum upgrade
 

- Let yum do it's thing (confirming when prompted, of course).

- For gnome users you will want to run:
  yum groupupdate "GNOME Desktop Environment"
  to get the latest set of packages for GNOME.
  
- Then reboot your system and make sure you select the new kernel as the default.

Good luck!
\

md5sum check for windows
Submitted by king @ 11-10 [10:21 am]
  • ¸í·É ÇÁ·ÒÇÁÆ® ¹öÀü
Upload new Attachment "md5sum.exe"


Nov 09, 2004
¼³Ä¡µÈ Á¨Åõ ¹é¾÷¹Þ±â
Submitted by king @ 11-09 [04:01 pm]
  • ÅëÂ¥·Î ¹é¾÷Çϱâ

# tar cvzpf /mnt/backup/gentoobackup.tar.gz / --exclude=/mnt/backup 
\

  • µð·ºÅ丮 º°·Î ¹é¾÷Çϱâ

# tar cvpzf /mnt/backup/gentoo.tar.gz /(ÆÄƼ¼Çº° µð·ºÅ丮) -X exclude_list

ÆÄƼ¼Çº°·Î ¾ÐÃàÇÒ¶§¿¡ -X ¿É¼ÇÀ» »ç¿ëÇؼ­ exclude_list ÆÄÀϳ»¿¡ ¹é¾÷¿¡ ºÒÇÊ¿äÇÑ µð·ºÅ丮µéÀ»

/proc
/tmp
/usr/src/linux
/mnt 
\


Nov 09, 2004
vim ¿¡¼­ tab À» 4·Î ÁÙÀ̱â
Submitted by king @ 11-09 [01:11 am]

# vi $HOME/.vimrc
set ts=4

\

Nov 03, 2004
Á¨Åõ¿¡¼­ ÆÐÅ°Áö¸íÀ» Á¤È®È÷ ¸ð¸¦¶§...
Submitted by king @ 11-03 [11:38 am]
[11:36] <@onion_athlon> emerge epm ÇϽŴÙÀ½
[11:36] <@onion_athlon> epm -qa | grep ÆÐÅ°Áö¸í
[11:36] <@onion_athlon> ÀÌ·±½ÄÀ¸·Î ãÀº°É unmergeÇØÁÖ½Ã¸é µË´Ï´Ù
\

Fedora yum mirrors
Submitted by king @ 11-03 [10:33 am]
/etc/yum.conf

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20

[fedora-us-2]
name=Fedora Core 2 -- Fedora US mirror
baseurl=http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/2/i386/RPMS.os

[fedora-us-2-updates]
name=Fedora Core 2 updates -- Fedora US mirror
baseurl=http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/2/i386/RPMS.updates

[fedora-us-2-stable]
name=Fedora Linux (stable) for Fedora Core 2 -- Fedora US mirror
baseurl=http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/2/i386/RPMS.stable

[livna-stable]
name=Livna.org Fedora Compatible Packages (stable)
baseurl= http://rpm.livna.org/fedora/$releasever/$basearch/yum/stable

#[livna-unstable]
#name=Livna.org Fedora Compatible Packages (unstable)
#baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/unstable

#[livna-testing]
#name=Livna.org Fedora Compatible Packages (testing)
#baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/testing

[freshrpms]
name=Fedora Linux $releasever - $basearch - freshrpms
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms

\

/etc/sysconfig/rhn/source

yum fedora-us-core-2 http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/2/i386/RPMS.os
yum fedora-us-updates-2 http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/2/i386/RPMS.updates
yum fedora-us-stable-2 http://mirrors.usc.edu/pub/linux/fedora//fedora/fedora/2/i386/RPMS.stable

yum livna-stable-fc2 http://rpm.livna.org/fedora/2/i386/yum/stable
#yum livna-testing-fc2 http://rpm.livna.org/fedora/2/i386/yum/testing
#yum livna-unstable-fc2 http://rpm.livna.org/fedora/2/i386/yum/unstable

yum freshrpms http://ayo.freshrpms.net/fedora/linux/2/i386/freshrpms
\

Fedora mirrors
Submitted by king @ 11-03 [10:30 am]

Âü°í·Î Çѱ¹Àº
Korea

    * ftp://ftp.kreonet.re.kr/pub/Linux/fedora/core/
    * rsync://ftp.kreonet.re.kr/fedora/core/
    * ftp://mirror.hostway.co.kr/pub/fedora/
    * ftp://ftp.kaist.ac.kr/pub/fedora/linux/core/
\


Nov 03, 2004
¸ð´ÏÀ§Å°¿¡¼­ C ÄÚµå ³ÖÀ»¶§
Submitted by king @ 11-03 [01:57 am]
[01:55] <hyungoo_Zilla> {{{#!vim c   
[01:55] <hyungoo_Zilla> ¼Ò½ºÄÚµå 
[01:55] <hyungoo_Zilla> \\}}}
[01:56] <hyungoo_Zilla> ¸ð´ÏÀ§Å°¿¡¼­ ÀÌ·¸°Ô ÇØÁÖ¸é µÇ³×¿ä :)
\

#include <stdio.h>
void main(){
    printf("Hello World"\n);
}
\

Nov 01, 2004
µ¥ºñ¾È runlevel °ü¸®Çϱâ
Submitted by king @ 11-01 [04:35 pm]
: ±×¸®°í ½ÃÀÛÇÁ·Î±×·¥(-_-a) µî·ÏÇÒ¶§ Á¨Åõ¿¡¼­´Â 'rc-update'¸¦ »ç¿ëÇϴµ¥ ¿ä.
:
: µ¥ºñ¾È¿¡µµ ±×·± ÇÁ·Î±×·¥ÀÌ ÀÖ´ÂÁö¿ä.
:
: °øºÎ°¡ ºÎÁ·Çؼ­ ¾îÀ̾ø´Â Áú¹® µå¸°°Ô ¾Æ´ÑÁö.. ^-^;;;

µ¥ºñ¾È¿¡¼­ À¯»çÇÑ ÇÁ·Î±×·¥À¸·Î´Â update-rc.d°¡ ÀÖ½À´Ï´Ù.
(ÆÐÅ°Áö ¼³Ä¡½Ã ÀÌ·¯ÇÑ °ÍµéÀº ÁÖ·Î ÆÐÅ°Áö³»ÀÇ ½ºÅ©¸³Æ®µé¿¡ ÀÇÇؼ­
ÀúÀý·Î ½ÇÇà/¼³Ä¡µÇ¸ç, ÀÌ ½ºÅ©¸³Æ®µéÀº /var/lib/dpkg/info¿¡
"ÆÐÅ°Áö¸í.È®ÀåÀÚ(preinst,prerm,postinst,postrm,conffile,..)"
À¸·Î µé¾îÀÖ½À´Ï´Ù.)

update°¡´ÉÇÑ ·ù´Â ´ëºÎºÐ "update-"·Î ½ÃÀ۵˴ϴÙ.
¿¹¸¦ µé¸é, update-menus, update-rc.d, update-alternatives, .., µî
"update-"Ä¡°í <tab>À» Ä¡¸é ÇØ´çµÇ´Â À¯Æ¿¸®Æ¼µéÀÌ ÁÖ¿í ³ª¿É´Ï´Ù.

  • Âü°í·Î start-stop-daemon µµ ÀÖ´Ù°íÇÔ (from sCag)

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2004-11-30 21:55:42
Processing time 0.2679 sec