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

linuxÉÏ°²×°python·þÎñÆ÷Ïà¹Ø¹¤¾ß


1¡¢Éý¼¶ÏµÍ³
yum check-update
yum update
2¡¢°²×°Ò»Ð©³£ÓõŤ¾ß
yum install ntp iptraf sysstat screen subversion wget bzip2 nfs-utils vim-common
3¡¢ÉèÖÃÿÌì×Ô¶¯ºË׼ʱ¼ä
# crontab -e
0 * * * * /usr/sbin/ntpdate 210.72.145.44
:wq
4¡¢°²×°Ò»Ð©¿ª·¢°ü
# yum install make gcc gcc-c++ libjpeg-devel libpng-devel zlib-devel tcl-devel freetype-devel libevent-devel openssl-devel db4-devel curl-devel pcre-devel ncurses-devel readline-devel sqlite-devel bzip2-devel
5¡¢°²×°sqlite
wget http://www.sqlite.org/sqlite-3.6.4.tar.gz
tar xzvf sqlite-3.6.4.tar.gz
cd sqlite-3.6.4
 ./configure --enable-threadsafe
make
make install
5¡¢°²×°Python
wget http://www.python.org/ftp/python/2.5.4/Python-2.5.4.tar.bz2
tar xjvf Python-2.5.4.tar.bz2
cd Python-2.5.4/
./configure --enable-unicode=ucs4
make
make install
6¡¢°²×°MySQL 5.0
wget http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.83.tar.gz/from/http://mysql.mirrors.pair.com/
tar xzvf mysql-5.0.83.tar.gz
cd mysql-5.0.83/
groupadd mysql
useradd -g mysql mysql
mkdir /opt/mysql-data
CFLAGS="-O3 -march=nocona" CXX=gcc CXXFLAGS="-O3 -march=nocona -felide-constructors \
            -fno-exceptions -fno-rtti" ./configure \
            --prefix=/usr/local/mysql --enable-assembler \
            --with-charset=utf8 \
            --with-extra-charsets=gbk,gb2312,latin1 \
            --localstatedir=/opt/mysql-data \
            --with-mysqld-user=mysql --enable-large-files --with-big-tables \
            --without-debug \
            --with-mysqld-ldflags=-all-static \
            --with-client-ldflags=-all-static \
            --enable-thread-safe-client \
 


Ïà¹ØÎĵµ£º

ÓÃLinuxÏÂPerl½Å±¾Á¬½ÓSQLServer

×¼±¸¹¤×÷:
¡¡¡¡Óõ½µÄperl À©Õ¹×é¼þ(modules)ÔÚÉÏƪÌù³ö.( win32::odbc Ä£¿é
)ÏÂÔØ×é¼þºó°´ÕÕReadmeÎļþ°²×°µ¹ÏìӦĿ¼.ÅäÖúÃÏàÓ¦µÄodbcÊý¾ÝÔ´.
¡¡¡¡
¡¡¡¡³ÌÐòʵÏÖ:
¡¡¡¡Ê¹ÓÃ
¡¡¡¡use
Win32::ODBC;
¡¡¡¡
¡¡¡¡Óï¾ä°üº¬Ó¦Ê¹ÓõÄÄ£¿éÊÇwin32::odbc,д³öÊý¾Ý¿â
Á¬½Ó×Ö·û´®
¡¡¡¡
¡¡¡¡$DSN = "DSN =
My DSN ......

pythonÖеÄÁбíÅÅÐò²Ù×÷

 
 
 
Python lists have a built-in sort() method that modifies the list in-place and a sorted() built-in function that builds a new sorted list from an iterable.
There are many ways to use them to sort data and there doesn't appear to be a single, central place in the various man ......

Python: ʹÓÃ×°ÊÎÆ÷¡°@¡±È¡µÃº¯ÊýÖ´ÐÐʱ¼ä

¡¡¡¡PythonÖпÉÒÔʹÓÃ×°ÊÎÆ÷¶Ôº¯Êý½øÐÐ×°ÊΣ¨»ò˵°ü×°£©£¬ÀûÓÃÕâ¸öÌØÐÔ£¬¿ÉÒԺܷ½±ã¡¢¼ò½àµØ½â¾öһЩÎÊÌ⣬±ÈÈç»ñµÃº¯ÊýÖ´ÐÐʱ¼äµÄÎÊÌâ¡£
¡¡¡¡Ê×ÏÈ£¬ÎÒÃǶ¨ÒåÒ»¸öº¯Êý£¬ÈçÏ£º
¡¡¡¡def exeTime(func):
def newFunc(*args, **args2):
t0 = time.time()
print "@%s, {%s} start" % (time.strftime("%X", time.local ......

ÔÚ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¸ñʽµÄÈí¼þ°ü¡£ 
£¨ÕâÁ½¸öÎļþ¿ÉÒÔ¿´ÎÒ²©¿ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ