Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Linux RPM ÃüÁî²ÎÊýʹÓÃÏê½â£Û½éÉܺÍÓ¦ÓãÝ


RPMÊÇRedHat Package Manager£¨RedHatÈí¼þ°ü¹ÜÀí¹¤¾ß£©ÀàËÆWindowsÀïÃæµÄ¡°Ìí¼Ó/ɾ³ý³ÌÐò¡±
 
rpm Ö´Ðа²×°°ü
¶þ½øÖÆ°ü£¨Binary£©ÒÔ¼°Ô´´úÂë°ü£¨Source£©Á½ÖÖ¡£¶þ½øÖÆ°ü¿ÉÒÔÖ±½Ó°²×°ÔÚ¼ÆËã»úÖУ¬¶øÔ´´úÂë°ü½«»áÓÉRPM×Ô¶¯±àÒë¡¢°²×°¡£Ô´´úÂë°ü¾­³£ÒÔsrc.rpm×÷Ϊºó׺Ãû¡£
 
³£ÓÃÃüÁî×éºÏ£º
 
£­ivh£º°²×°ÏÔʾ°²×°½ø¶È--install--verbose--hash
£­Uvh£ºÉý¼¶Èí¼þ°ü--Update£»
£­qpl£ºÁгöRPMÈí¼þ°üÄÚµÄÎļþÐÅÏ¢[Query Package list]£»
£­qpi£ºÁгöRPMÈí¼þ°üµÄÃèÊöÐÅÏ¢[Query Package install package(s)]£»
£­qf£º²éÕÒÖ¸¶¨ÎļþÊôÓÚÄĸöRPMÈí¼þ°ü[Query File]£»
£­Va£ºÐ£ÑéËùÓеÄRPMÈí¼þ°ü£¬²éÕÒ¶ªÊ§µÄÎļþ[View Lost]£»
£­e£ºÉ¾³ý°ü
 
rpm -q samba //²éѯ³ÌÐòÊÇ·ñ°²×°
 
rpm -ivh /media/cdrom/RedHat/RPMS/samba-3.0.10-1.4E.i386.rpm //°´Â·¾¶°²×°²¢ÏÔʾ½ø¶È
rpm -ivh --relocate /=/opt/gaim gaim-1.3.0-1.fc4.i386.rpm    //Ö¸¶¨°²×°Ä¿Â¼
 
rpm -ivh --test gaim-1.3.0-1.fc4.i386.rpm¡¡¡¡¡¡ //ÓÃÀ´¼ì²éÒÀÀµ¹Øϵ£»²¢²»ÊÇÕæÕýµÄ°²×°£»
rpm -Uvh --oldpackage gaim-1.3.0-1.fc4.i386.rpm //а汾½µ¼¶Îª¾É°æ±¾
 
rpm -qa | grep httpd¡¡¡¡¡¡¡¡¡¡ ££[ËÑË÷Ö¸¶¨rpm°üÊÇ·ñ°²×°]--allËÑË÷*httpd*
rpm -ql httpd¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡££[ËÑË÷rpm°ü]--listËùÓÐÎļþ°²×°Ä¿Â¼
 
rpm -qpi Linux-1.4-6.i368.rpm¡¡££[²é¿´rpm°ü]--query--package--install packageÐÅÏ¢
rpm -qpf Linux-1.4-6.i368.rpm¡¡££[²é¿´rpm°ü]--file
rpm -qpR file.rpm¡¡¡¡¡¡¡¡¡¡¡¡¡¡££[²é¿´°ü]ÒÀÀµ¹Øϵ
rpm2cpio file.rpm |cpio -div    ££[³é³öÎļþ]
 
rpm -ivh file.rpm ¡¡££[°²×°ÐµÄrpm]--install--verbose--hash
rpm -ivh http://mirrors.kernel.org/fedora/core/4/i386/os/Fedora/RPMS/gaim-1.3.0-1.fc4.i386.rpm
rpm -Uvh file.rpm    ££[Éý¼¶Ò»¸örpm]--upgrade
rpm -e file.rpm      ££[ɾ³ýÒ»¸örpm°ü]--erase
 
³£ÓòÎÊý£º
 
Install/Upgrade/Erase options:
-i, --install                     install package(s)
-v, --verbose          &n


Ïà¹ØÎĵµ£º

Linux²é¿´Ó²¼þÐÅÏ¢ÃüÁî

Linux²é¿´Ó²¼þÐÅÏ¢ÃüÁî
1.²é¿´CPUÐÅÏ¢
cat /proc/cpuinfo
2.²é¿´ÄÚ´æÐÅÏ¢
cat /proc/meminfo
free
vmstat
3.²é¿´Ó²ÅÌÐÅÏ¢
fdisk -l
df -lh
4.²é¿´Äں˰汾ÐÅÏ¢
cat /proc/version
uname -r
lsb_release -a
5.²é¿´ÎļþÕ¼Óÿռä
du
6.²é¿´ÏµÍ³ÐÅÏ¢
dmesg
7.²é¿´¶Ë¿ÚÐÅÏ¢
netstat
8.²é¿´32λ»¹ÊÇ64λ
ge ......

LinuxÉ豸 £¨×ª£©

5.3.2  É豸ÀàÐÍ·ÖÀà
×ÝÀÀlinux/driversĿ¼£¬´ó¸Å»¹ÓÐ35¸öÒÔÉϵÄ×ÓĿ¼£¬Ã¿¸ö×ÓĿ¼»ù±¾ÉϾʹú±íÁËÒ»ÖÖÉ豸Çý¶¯£¬ÓÐatm¡¢block¡¢char¡¢misc¡¢input¡¢net¡¢usb¡¢sound¡¢videoµÈ¡£ÕâÀïÖ»ÃèÊöÔÚǶÈëʽϵͳÀïÃæÓõÃ×îΪ¹ã·ºµÄ3ÖÖÉ豸¡£
1£®×Ö·ûÉ豸£¨char device£©
×Ö·ûÉ豸ÊÇLinux×î¼òµ¥µÄÉ豸£¬¿ÉÒÔÏñÎļþÒ»Ñù·ÃÎÊ¡£ ......

linuxÆô¶¯¹ý³Ì

LinuxϵͳÆô¶¯¹ý³Ì
±¾ÎÄÒÔRedHat9.0ºÍi386ƽ̨ΪÀý£¬ÆÊÎöÁË´ÓÓû§´ò¿ªµçÔ´Ö±µ½ÆÁÄ»³öÏÖÃüÁîÐÐÌáʾ·ûµÄÕû¸öLinuxÆô¶¯¹ý³Ì¡£²¢ÇÒ½éÉÜÁËÆô¶¯ÖÐÉæ¼°µ½µÄ¸÷ÖÖÎļþ¡£
µ±Óû§´ò¿ªPCµÄµçÔ´£¬BIOS¿ª»ú×Լ죬°´BIOSÖÐÉèÖõÄÆô¶¯É豸(ͨ³£ÊÇÓ²ÅÌ)Æô¶¯£¬½Ó×ÅÆô¶¯É豸ÉÏ°²×°µÄÒýµ¼³ÌÐòlilo»ògrub¿ªÊ¼Òýµ¼ Linux£¬LinuxÊ×ÏȽøÐÐÄں˵ÄÒý ......

ÔÚLinuxÏ°²×° Sybase ASE 11.0.3.3

£¨ÉùÃ÷£ºÕâÊÇתÔØ×Ôhttp://www.chinaunix.net/jh/21/1079.html)
´ÓSybaseµÄÕ¾µãÉÏÏÂÔØÁ½¸öÈí¼þ°ü£¬±ÊÕßÏÂÔØÁË11.0.3.3°æ±¾£¬SybaseÄ¿Ç°ÒѾ­ÍƳöÁËASE11.9.2£¬ÓÉ
ÓÚ11.9.2Èí¼þ°üºÜ´ó£¬ÓÉ6¸örpmÈí¼þ°ü×é³É£¬¸÷λ¿ÉÒÔÈ¥ÆäÕ¾µãÏÂÔØ¡£¶ÔÓÚSybase¡¡11.0.3£¬sybaseÌṩÁË
Á½¸örpm¸ñʽµÄÈí¼þ°ü¡£ 
£¨ÕâÁ½¸öÎļþ¿ÉÒÔ¿´ÎÒ²©¿ ......

linux shellÖк¯Êý²ÎÊý¼°Æä±äÁ¿

linuxÖеÄSHELLº¯ÊýÊÇ¿ÉÒÔ´ø²ÎÊýµÄ.
====´úÂë===
#!/bin/bash
function show()
{
echo $0        #·µ»Ø½Å±¾±¾ÉíÃû×Ö¶ø²»ÊǺ¯ÊýÃû
echo $1        #·µ»Øµ÷ÓÃʱµÄµÚÒ»¸ö²ÎÊý
.
.
.
echo $9         ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ