# man -t 5 passwd > passwd_manual.ps # ps2pdf14 passwd_manual.ps passwd_manual.pdf \
# man -t 5 passwd > passwd_manual.ps # ps2pdf14 passwd_manual.ps passwd_manual.pdf \
cd /etc/ rm make.profile ln -s ../usr/portage/profiles/default-linux/x86/2004.3 make.profile \
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. \
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 \
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 \
# awk -F'-' '{ print $NF $(NF-1) $(NF-2) }' \
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# \
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# \
# cd /usr/bin # ls -l # chmod 4750 /bin/su # chgrp wheel /bin/su # vi /etc/group wheel:x:10:root,tongseob ÀÌ·±½ÄÀ¸·Î Ãß°¡ \
./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! \
[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 \
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 \
[root@ns lib]# getconf GNU_LIBPTHREAD_VERSION NPTL 2.3.3 [root@ns lib]# \
# 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 \
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! \
# 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 \
[11:36] <@onion_athlon> emerge epm ÇϽŴÙÀ½ [11:36] <@onion_athlon> epm -qa | grep ÆÐÅ°Áö¸í [11:36] <@onion_athlon> ÀÌ·±½ÄÀ¸·Î ãÀº°É unmergeÇØÁÖ½Ã¸é µË´Ï´Ù \
[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 \
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 \
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/ \
[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); } \