Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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ÏÂJavaÈçºÎÁ¬SAP

±¾Îĵµ²âÊÔ»·¾³£º
1£©Linux²Ù×÷ϵͳ°æ±¾£º
       Red Hat Enterprise Linux Server release 5
       2.6.18-8.el5
2£©jdk°æ±¾
       1.5.0_16
 
LinuxÏÂÁ¬JavaÁ¬sap²½Öè
1£©ÏÂÔØsapjco.jar
    ......

LinuxÉ豸 £¨×ª£©

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

linux ÏÂÓÃCʵÏÖ¡®CAT¡¯µÄ¹¦ÄÜ

linux
ÏÂÓÃCʵÏÖ‘CAT’µÄ¹¦ÄÜ
#include<stdio.h>
int main(int argc,char *argv[]){
FILE *file;
char buf[1024],name[20];
int n;
if(argc != 2){
printf("wrong argument\n");
return 1;
}
file=fopen(argv[1],"r");
if(file==NULL){
printf("Cant't open!\n&quo ......

¡¾×ª¡¿windowsÉϵÄdb2Á¬½ÓlinuxÉÏdb2µÄͨÐÅÎÊÌâ

[IBM][CLI Driver] SQL30081N ¼ì²âµ½Í¨ÐÅ´íÎó¡£ÕýÔÚʹÓõÄͨÐÅЭÒ飺"TCP/IP"¡£ÕýÔÚʹÓõÄͨÐÅAPI£º"SOCKETS"¡£¼ì²âµ½´íÎóµÄλÖãº"202.106.195.29"¡£¼ì²âµ½´íÎóµÄͨÐź¯Êý£º"connect"¡£Ð­ÒéÌض¨µÄ´íÎó´úÂ룺"10060"¡¢"*"¡¢"*"¡£ SQLSTATE=08001
½â¾ö°ì·¨£º
µ½C:\WINDOWS\system32\drivers\etc\Ï£¬´ò¿ªhostsÎļþ£¬ÔÚÎļ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ