FrontPage › king/2004-11
Nov 26, 2004 ¶
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.phptest6.php ¿¹Á¦¸¦<html>, <body>, À¸·Î ¹Àº ¿¹Á¦
http://onionmixer.net/~onion/test8.phpfor¹®°ú "++" ¿¬»êÀÚ¸¦ »ç¿ëÇؼ 1ºÎÅÍ 10±îÁö ÁٹٲÞÇØ°¡¸é¼ Ãâ·ÂÇÏ´Â ¿¹Á¦
http://onionmixer.net/~onion/test9.phptest8.php ¿¹Á¦¸¦ <php echo(" <html> <body>"); ·Î ¹°í ´ÝÀº ¿¹Á¦
http://onionmixer.net/~onion/test10.phptest9.php ¿¹Á¦¿¡ echo ¹®À» Ãß°¡ÇÑ ¿¹Á¦
http://onionmixer.net/~onion/test11.phpif, else ¹®À» ÀÌ¿ëÇÏ¿© True, False °ª ¾ò¾î³»´Â ¿¹Á¦
http://onionmixer.net/~onion/test12.phpwhile ¹®À» ÀÌ¿ëÇÏ¿© 1ºÎÅÍ 10±îÁö ÁٹٲÞÇØ°¡¸é¼ Ãâ·ÂÇÏ´Â ¿¹Á¦
http://onionmixer.net/~onion/test13.php$_GET À» ÀÌ¿ëÇÑ if , else ¹® ¿¹Á¦
http://onionmixer.net/~onion/test14.phpfor ¹®À» ÀÌ¿ëÇÏ¿© i °ª¿¡ 10º¸´Ù ÀÛÀ»¶§±îÁö 2¾¿ ´õÇÏ´Â ¿¹Á¦
http://onionmixer.net/~onion/test15.php$_GET À» ÀÌ¿ëÇÑ echo ¹® ¿¹Á¦
Nov 24, 2004 ¶
µð·ºÅ丮º°·Î ¿ë·®È®ÀÎÇÒ¶§ ¶
Submitted by king @ 11-24 [10:47 am]
1. du -sh *
2. du -h --max-depth=1 µð·ºÅ丮
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 º¸´Ù Çϳª ÀûÀº ÀÚ¸´¼ö)
NF : ÇʵåÀǼýÀÚ¸¦ ÁöÁ¤ÇØÁÜ (NF-1 Àº NF º¸´Ù Çϳª ÀûÀº ÀÚ¸´¼ö)
¿¹¹®) ms-kim-znc
°á°ú°ª) znckimms (°Å²Ù·Î -°¡ ¾øÀÌ ³ª¿µÈ´Ù)
°á°ú°ª) 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 ¶
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! \
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 ¶
ÈÀÌÆ®¹Ú½º(WBEL) iso ¶
Submitted by king @ 11-18 [01:32 am]
- ÈÀÌÆ®¹Ú½º ¸®´ª½º WBEL http://www.whiteboxlinux.org/
- ISO ¹Þ´Â°÷
http://3es.atomicrocketturtle.com/iso/
(2004³â 11¿ù 18ÀÏ ÇöÀç ÀÌ°÷¿¡´Â FC2, FC3, WBEL, RH 7,3µîÀÌ ÀÖÀ½)
http://3es.atomicrocketturtle.com/iso/liberation-respin1-binary-i386-2.iso
http://3es.atomicrocketturtle.com/iso/liberation-respin1-binary-i386-3.iso
http://www.whiteboxlinux.org/liberation-respin1-md5sums
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 ¶
Nov 12, 2004 ¶
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 ¸¦ ¾ò±â À§ÇØ )
yum dir À» ±ú²ýÀÌ ( »õ·Î¿î yum list ¸¦ ¾ò±â À§ÇØ )
4. rpm -Uvh yum-2.1.11-3.noarch.rpm
´Ù¿î¹ÞÀº »õ·Î¿î yum À¸·Î ¾÷±×·¹À̵å.
´Ù¿î¹ÞÀº »õ·Î¿î yum À¸·Î ¾÷±×·¹À̵å.
5. rpm -Uvh fedora-release-3-8.i386.rpm
¿ª½Ã ´Ù¿î¹ÞÀº fedora-release µµ ¾÷±×·¹À̵å
¿ª½Ã ´Ù¿î¹ÞÀº fedora-release µµ ¾÷±×·¹À̵å
6. yum list updates
yum list ¾÷µ¥ÀÌÆ®
yum list ¾÷µ¥ÀÌÆ®
7. yum upgrade
ÀÌÁ¦ ¾÷±×·¹ÀÌµå ½ÃÀÛ..
ÀÌÁ¦ ¾÷±×·¹ÀÌµå ½ÃÀÛ..
8. Gnome À¯Àú´Â ÀÌ·¸°Ô.
yum groupupdate "GNOME Desktop Environment"
(ÀÌ·¸°Ôµµ °¡´ÉÇϱº¿ä. ¸ô¶úÀ½. )
yum groupupdate "GNOME Desktop Environment"
(ÀÌ·¸°Ôµµ °¡´ÉÇϱº¿ä. ¸ô¶úÀ½. )
9. ÀçºÎÆÃ.. ÀÌ»ó¾ø±â¸¦..
Ʋ¸°ºÎºÐ ÁöÀû ¹× ¼öÁ¤ÇØÁÖ¼¼¿ä.
À§ yum list ¸¦ ¼öÀÛ¾÷À¸·Î Ãß°¡ÇØ ÁÖ¾î¾ß ÇÒ °ÍÀÌ ÀÖ³ª¿ä?
À§ 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! \
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 ¶
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/ \
Âü°í »çÀÌÆ® http://kr.blog.yahoo.com/mineout/657217.html
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>À» Ä¡¸é ÇØ´çµÇ´Â À¯Æ¿¸®Æ¼µéÀÌ ÁÖ¿í ³ª¿É´Ï´Ù.
(ÆÐÅ°Áö ¼³Ä¡½Ã ÀÌ·¯ÇÑ °ÍµéÀº ÁÖ·Î ÆÐÅ°Áö³»ÀÇ ½ºÅ©¸³Æ®µé¿¡ ÀÇÇؼ
ÀúÀý·Î ½ÇÇà/¼³Ä¡µÇ¸ç, ÀÌ ½ºÅ©¸³Æ®µéÀº /var/lib/dpkg/info¿¡
"ÆÐÅ°Áö¸í.È®ÀåÀÚ(preinst,prerm,postinst,postrm,conffile,..)"
À¸·Î µé¾îÀÖ½À´Ï´Ù.)
¿¹¸¦ µé¸é, update-menus, update-rc.d, update-alternatives, .., µî
"update-"Ä¡°í <tab>À» Ä¡¸é ÇØ´çµÇ´Â À¯Æ¿¸®Æ¼µéÀÌ ÁÖ¿í ³ª¿É´Ï´Ù.
- Âü°í·Î start-stop-daemon µµ ÀÖ´Ù°íÇÔ (from sCag)