ÔÚRed hat LinuxÏÂͨ¹ýODBCÁ¬½ÓSQLServer2000
Ò» ²âÊÔ»·¾³
Ò» ²âÊÔ»·¾³
²Ù×÷ϵͳ Red Hat As 2.1
Êý¾Ý¿â SQLServer2000 installed in windows xp professional£¬ÎÒ¼Ù¶¨Êý¾Ý¿âÓÐÓû§autotest ÃÜÂëÊÇautotest£¬Êý¾Ý¿âÎļþÊÇatsdb
×¢Ò⣺ 1 MS´ÓÀ´Ã»ÓÐÌṩ¹ýSQLServer for Linux,ËùÒÔ´ó¼ÒÒ²²»ÒªÈ¥³¢ÊÔÔÚLinuxϵͳ°²×°SQLServer,µ«ÊÇ¿ÉÒÔͨ¹ýODBCÁ¬½ÓWindowsϵͳµÄSQLServerÊý¾Ý¿â£»
2 °²×°µÄSQLServer2000ÊDz»»á´ò¿ª1433¶Ë¿ÚµÄ,ËùÒÔÇëWindows xp Óû§ÔÚ°²×°ÍêSQLServerÖ®ºóÒ»¶¨×°ÉÏSQLServer SP3²¼¶¡£¬¿ÉÒÔʹÓÃÃüÁînetstat -a À´²é¿´ÊÇ·ñ´ò¿ª1433¶Ë¿Ú
3 ¶ÔÓÚwindows xp£¬È±Ê¡·À»ðǽÊDz»ÈÃ1433¶Ë¿ÚÀ´Í¨Ñ¶µÄ£¬ËùÒÔ±ØÐë¹ØµôwindowsµÄ·À»ðǽ£¬Õâ¸öÎÊÌâÕÛÌÚÎÒÒ»Ì죬ÀÏÊÇÁ¬½Ó²»³É¹¦£¬ÎÒ»¹ÒÔΪÊÇodbcÈí¼þµÄÅäÖÃÎÊÌ⣬½Ìѵѽ¡£×î¿ÉÆøµÄÊÇÔÚ±ðµÄwindows»úÆ÷ʹÓÃsqlserverµÄÃüÁîisqlÄܹ»·ÃÎÊÊý¾Ý¿â£¬£¨²»ÓùرշÀ»ðǽ£©¡£Í¨¹ý×¥°ü¹¤¾ß·¢ÏÖ¸ù±¾¾Í²»Í¨¹ý1433¶Ë¿ÚͨѶ£¬¶øÊÇͨ¹ý445»ò139ÄÚ²¿¶Ë¿ÚͨѶѽ£¬ÕæÒªÃüѽ£¬¿´À´windowns¶«Î÷ÊǺ㬵«ÊÇҲ̫°ÔµÀÁËѽ
4 ÔÚxp sp2°²×°sqlserver2000ʱ±ØÐëÒª´òchs_sql2ksp3.exe²¹¶¡£¬Èç¹ûûÓÐÕâ¸ö²¹¶¡£¬telnet ip 1433»áÁ¬½Ó²»ÁË£¬µ±È»´ÓÔ¶³Ì¿Í»§¶ËÁ¬½Ó²»ÉÏ£¬¾ÍÕâ¸öÎÊÌâÕÛÌÚÒ»¸öÏÂÎ磬ÔÎѽ
LinuxϵͳµÄODBC
unixODBC-2.2.8.tar.gz ( http://www.unixodbc.org)
Á¬½ÓSQLServer»òSybaseµÄÇý¶¯
freetds-0.62.4.tar.gz ( http://www.freetds.org)
¶þ °²×°ÅäÖÃ(±ØÐëÔÚrootÏÂÓû§°²×°)
1¡¢°²×°unixODBC
# tar vxzf unixODBC-2.
Ïà¹ØÎĵµ£º
ѧLinuxÒ»Äê¶àÁË£¬¶ÔÇý¶¯µÄ֪ʶһµã¶¼Á˽⣬ÉÏÖÜÂòÁ˱¾¡¶LinuxÉ豸Çý¶¯¡·£¬O'REILLY³ö°æ£¬´òËãѧϰѧϰ¡£Ñ§Ï°¹ýµÄ´óÏÀ£¬Ï£Íû¿ÉÒÔÖ¸µ¼Ö¸µ¼¡£
Ê×ÏÈÏÂÔØLinuxÄںˣ¬°´×÷ÕßµÄ˵·¨£¬Ö»ÒªÊÇlinux-2.6.xxxµÄÄں˶¼¿ÉÒÔ£¬ÎÒµÄÊÇlinux-2.6.33.2¡£ÓÐλÍøÓÑ˵ÏÂÔغó×îºÃ½âѹµ½/usr/src/Ŀ¼Ï£¬½âѹ
ÔÚ¹¹½¨ÄÚºËÊ÷ÊDzο¼ÁËÔÊéµÚËÄÕÂ& ......
http://blog.sina.com.cn/s/blog_61869e800100ek8w.html
¶ÁдÎļþ£¬ÊÇ×÷Ϊһ¸ö²Ù×÷ϵͳËùÌṩµÄ×î»ù±¾½Ó¿ÚÖ®Ò»¡£
ÎÒÃǾʹÓдÎļþ¹ý³Ì£ºopen£¬write£¬closeÕ⼸¸ö½Ó¿ÚÀ´ËµÆð£¬ÃèÊöдÎļþµÄÄÇЩʶù¡£
ƽʱ£¬ÎÒÃÇ×öÓ¦ÓóÌÐòµÄʱºò£¬³£³£Óõ½¶ÁдÎļþµÄº¯Êý½Ó¿Ú£¬¾ÍÄÃдÎļþÀ´Ëµ£¬ÎÒÃÇÓÃC/C++±àдʱ£¬Óõ½ÁËÒÔϵĺ¯Êý½Ó¿Ú£ ......
1£©±ÕÍø¿¨É豸
¡¡¡¡/sbin/ifconfig eth0 down
2£©ÐÞ¸ÄMACµØÖ·
¡¡¡¡/sbin/ifconfig eth0 hw ether 00:50:56:C0:00:01
3£©ÖØÆôÍø¿¨
¡¡¡¡/sbin/ifconfig eth0 up
ͨ¹ýifconfig¿ÉÒÔ¿´µ½ÐÞ¸ÄÒѾÉúЧ,¿ÉÊÇÖØÆô»úÆ÷ºóÓÖ»Ö¸´³ÉÁËÔÀ´µÃmac.
ÒªÏëÓÀ¾ÃÐÞ¸ÄMAC
ÔÚ/etc/rc.d/rc.localÀï¼ÓÉÏÕâÈý¾ä(Ò²¿ÉÒÔÔÚ/etc/init.d/networ ......
ÂÜÀòÊÀ½ç ¸úÄúÒ»Æð¿´ÊÀ½ç http://lolier.info/ ¹Ø¼ü×Ö ºìÆì,linux,ÏÂÔØ ºìÆìLinux×ÀÃæ°æ 6.0 SP3 µÄÓ¢ÎÄÃû³ÆΪRed Flag Linux Desktop 6.0 SP3,²úÆ·´úºÅ(Code Name)ÊÇSuetJade¡£»ù±¾ÏµÍ³»ùÓÚºìÆì×ÀÃæ°æ 6.0 SP2¡£SuetJadeÊǺìÆìÈí¼þ¹«Ë¾Õë¶ÔÔºìÆìLinux×ÀÃæ°æ 6.0 SP2 ²úÆ·´æÔÚµÄÎÊÌâ,ÒÔ¼°µç×ÓÕþÎñ¡¢½ÌÓý¡¢SMBÓÈÆäÊÇOEMµÈÁì ......
¹¦ÄÜ˵Ã÷£º.bz2ÎļþµÄѹËõ³ÌÐò¡£
Óï¡¡¡¡·¨£ºbzip2 [-cdfhkLstvVz][--repetitive-best][--repetitive-fast][- ѹËõµÈ¼¶][ҪѹËõµÄÎļþ]
²¹³ä˵Ã÷£ºbzip2²ÉÓÃеÄѹËõÑÝËã·¨£¬Ñ¹ËõЧ¹û±È´«Í³µÄLZ77/LZ78ѹËõÑÝËã·¨À´µÃºÃ¡£ÈôûÓмÓÉÏÈκβÎÊý£¬bzip2ѹËõÍêÎļþºó»á²úÉú.bz2µÄѹËõÎļþ£¬²¢É¾³ýÔʼµÄÎļþ¡£
²Î¡¡¡¡Êý£º
¡¡- ......