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

¡¾×ª¡¿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Îļþ£¬ÔÚÎļþĩβÔö¼ÓÀàËÆ£º
127.0.0.1 localhost #ÒÑÓеÄ
192.168.0.19 bdza.test #Ôö¼Ólinux·þÎñÆ÷µÄIP¼°ÆäÖ÷»úÃû
±£´æhostsÎļþ¡£ÖØÆôwindowsÉÏdb2¿ØÖÆÌ¨£¬ok¡£


Ïà¹ØÎĵµ£º

linux jdk °²×°ÓиÐ

×¢Òâ×Ô¼ºµÄÄں˰汾 ÓÚ jdk °æ±¾ÎÊÌâ  £»»¹ÓÐ ¾ÍÊÇ Òª½âѹµ½ /usr/javaĿ¼Ï ºÜÖØÒª£¬Òª²»È»µÈ×ųԿàÍ·£»
Ò»¡¢ÏÂÔØJDK

×Ô¼ºÏÂÔØ°É£¬²½Öè²»ÓÃдÁ˰ɣ»ÎÒÏÂÔØµÄÊÇjdk
-1_6_0_11-linux-i586.bin
¶þ¡¢°²×°


(1)ÔÚusrÏÂн¨Ò»¸öjavaÎļþ¼Ð
#mkdir /usr/java
(2)ÎÒÓõÄWinSCP½«JDK
Îļþ·ÅÈ ......

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Ï£¬ÉèÖÃIPµØÖ·£¬ÖØÆô»úÆ÷ÓÐЧ

1. vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=example.com
GATEWAY=192.168.0.1
NDS1=219.150.32.132  // dns ·þÎñÆ÷µØÖ·
2.  vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=00:15:E9:B1:32:AF
BOOTPROTO=static
IPADDR=192.168.0.188
NETMASK=255. ......

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 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ