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
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#
[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
# 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]]>
# 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
[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/
#include <stdio.h> void main(){ printf("Hello World"\n); }