fedora/linux yumÔ´ÏêϸÉèÖÃ
1.Ìí¼Órpm fusionÔ´
rpm -ivh
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
2.µ¼Èërpm fusion²Ö¿âµÄÃÜÔ¿
rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms
3.ÐÞ¸ÄÃÜÔ¿Îļþ
gedit /etc/yum.conf
ÔÚ´ò¿ªµÄÎļþβ²¿Ìí¼ÓÏÂÃ漸ÐУº
[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/f$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
4.Ìí¼ÓadobeÈí¼þ²Ö²¢µ¼ÈëÃÜÔ¿
rpm -ivh http://linuxdownload.adobe.com/linux/i386/adobe-release-i386-1.0-1.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
5.Ìí¼ÓÉϺ£½»´óµÄyum Ô´
vim /etc/yum.repos.d/sjtu.repo #²»Ï²»¶ÓÃvim µÄÈËÇëÓÃgedit
ÔÚ´ò¿ªµÄÎļþÖÐÌí¼ÓÈçÏÂÐУº
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=ftp://openware.byr.edu.cn/pub/mirror/fedora/linux/releases/$releasever/Everything/$basearch/os/
http://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/Everything/$basearch/os/
ftp://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/Everything/$basearch/os/
ftp://ftp.cuhk.edu.hk/pub/Linux/fedora/releases/$releasever/Everything/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
baseurl=ftp://openware.byr.edu.cn/pub/mirror/fedora/linux/updates/$releasever/$basearch/
http://ftp.sjtu.edu.cn/fedora/linux/updates/$releasever/$basearch/
ftp://ftp.cuhk.edu.hk/pub/Linux/fedora/updates/$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
È»ºó±£´æÍ˳ö¡£
6.¸üлº´æ
yum makecache
7.¸üÐÂyum²å¼þ£¬ÒÔ¼Ó¿ìÏÂÔØËÙ¶È
yum install yum-presto -y
yum -y install yum-fastestmirror
8.ÏÂÔØaxel²å¼þ£¨´Ë²å¼þʹyum¿ÉÒÔ¶àÏß³ÌÏÂÔØÎļþ£¬ÒÔ´ïµ½¸ü¿ìµÄËٶȣ©£¬ÏÂΪȫ¹ý³Ì£¬Ã¿ÐÐΪһÌõµ¥¶ÀµÄÃüÁ
cd axel/trunk
./configur
Ïà¹ØÎĵµ£º
¿ÉÒÔ½«Õâ¸ö½Å±¾·Å½øcrontab£¬ËûµÄÅäÖÆÎļþÔÚ /etc/crontabÖÐÿÌìÁ賿ִÐÐÒ»´Î£¬×Ô¶¯±¸·Ý Õâ¸ö½Å±¾Ã¿Ìì×î¶àÖ»Ö´ÐÐÒ»´Î£¬¶øÇÒÖ»±£Áô×î½üÎåÌìµÄ±¸·ÝÔÚ·þÎñÆ÷ÉÏ¡£
#!/bin/bash
#This is a ShellScript For Auto DB Backup
#Powered by aspbiz
#2004-09
#Setting
#ÉèÖÃÊý¾Ý¿âÃû£¬Êý¾Ý¿âµÇ¼Ãû£¬ÃÜÂ룬±¸·Ý·¾¶£¬ÈÕ־ ......
linux Öжϴ¦ÀíÁ÷³Ì
linuxÖжϴ¦Àí³ÌÐò·Ö½âΪÁ½¸ö°ë²¿£º¶¥°ë²¿(top half)ºÍµ×°ë²¿(bottom half)
1.
¶¥°ë²¿£ºÓÃÓÚÍê³É¾¡¿ÉÄÜÉٵıȽϼ±µÄ¹¦ÄÜ£¬ÍùÍùÖ»ÊǼòµ¥µØ¶ÁÈ¡¼Ä´æÆ÷ÖеÄÖжÏ״̬²¢Çå³ýÖжϱêÖ¾ºó½øÐГµÇ¼ÇÖжϔµÄ¹¤×÷¡£Ò»°ãÉè¼Æ³É²»
¿ÉÖжϡ£ÕâÑù¶¥°ë²¿µÄÖ´ÐÐËٶȻáºÜ¿ì£¬¿ÉÒÔÏìÓ¦·þÎñ¸ü¶àµÄÖжÏÇëÇó¡£ ......
(AIXÃüÁî)iostatÃüÁîÖ÷Ҫͨ¹ý¹Û²ìÎïÀí´ÅÅ̵ĻîԾʱ¼äÒÔ¼°ËûÃǵÄƽ¾ù´«ÊäËٶȣ¬¼à¿ØϵͳÊäÈë/Êä³öÉ豸¸ºÔØ.
iostat [¼ä¸ôʱ¼ä] [´òÓ¡´ÎÊý]
exp: iostat 5 2
psÃüÁîÊÇUNIXϵͳÖÐ×î³£¼ûµÄÃüÁËüÖ÷ÒªÏÔʾϵͳÖйØÓÚ½ø³ÌµÄͳ¼ÆºÍ״̬ÐÅÏ¢£¬Èç½ø³ÌID£¬I/OÐÐΪÒÔ¼°CPUÀûÓÃÂʵÈ.
ÏÔʾ10¸öÏûºÄCPU×î¶àµÄ½ø³Ì£º
ps aux |sort ......
Crontab:linux¼Æ»®ÈÎÎñ¡£·Ç³£ÓÐÓõÄÒ»¸öÃüÁ¿ÉÒÔÔÚÖÜÆÚÐԵĶ¨ÒåÒ»¸öÈÎÎñµÄÖ´ÐÐʱ¼ä¡£×î¶ÌµÄÖÜÆÚΪ1·ÖÖÓ¡£ÒòΪcrontabÊÇÊØ»¤½ø³Ì£¬Ã¿¹ý1·ÖÖÓ»á¼ì²éÒ»´Î¡£
Crontab –l: Áгöµ±Ç°µÄÈÎÎñÁÐ±í¡£
Crontab –e:±à¼µ±Ç°µÄÈÎÎñÁÐ±í¡£¿ÉÒÔͨ¹ývi±à¼Æ÷À´±à¼ÈÎÎñÁÐ±í¡£
¸ñʽÈçÏ£º
·Ö ʱ ÈÕ Ô ÖÜ ÃüÁî
¿´¼¸¸öÀý×Ó ......
²é¿´·¢ÐаæÐÅÏ¢£º
lsb_release -a Õâ¸ö×îÏêϸ
²é¿´Äں˺ͲÙ×÷ϵͳλÊý£º
uname -a
64λ²Ù×÷ϵͳÓÐÀàËÆÐÅÏ¢£º.... x86_64 x86_64 x86_64...
32λ²Ù×÷ϵͳÓÐÀàËÆÐÅÏ¢£º.... i686 i686 i386...
²é¿´cpuÐÅÏ¢£º
more /proc/cpuinfo
²é¿´ºÍ¿ØÖÆϵͳ·þÎñ£¨Èç iptables·À»ðǽµÄ¿ªºÍ¹Ø£©£º
chkconfig ²é¿´ºÍÉ趨·þÎñÔÚ²»Í¬ ......