LINUX°²×°JDK
LinuxÏÂjboss 5.1°²×°ÅäÖò½Öè
Ò»¡¢ÏÂÔØjboss 5.1ºÍjdk1.6£¨ÎÒ°ÑËûÏÂÔص½/usr/local/src/tarbag£©
jboss 5.1ZIP°ü http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/
java jdk°ü http://java.sun.com/javase/downloads/widget/jdk6.jsp
¶þ¡¢½âѹ
#cd /usr/local/src/tarbag
#./jdk-6u16-linux-i586.bin //µ±Ç°Ä¿Â¼Éú³ÉÒ»¸öjdk1.6.0_16
#mv jdk1.6.0_16 /usr/local/java //°Ñ¸ÕÉú³ÉµÄĿ¼"jdk1.6.0_16"ÖØÃüÃûΪ"java"
#unzip jboss-5.1.0.GA-jdk6.zip -d /usr/local/ //½âѹµ½/usr/localĿ¼ÏÂ
#mv jboss-5.1.0.GA jboss //ÖØÃüÃûΪjboss
Èý¡¢ÅäÖÃ,¶¨Òå»·¾³±äÁ¿
#vi /etc/profile
//Ìí¼ÓÈçÏÂÄÚÈÝ
export JAVA_HOME=/usr/local/java
CLASSPATH=/usr/local/java/lib/dt.jar:/usr/local/java/lib/tools.jar
PATH=/usr/local/java/bin:$PATH
export PATH JAVA_HOME CLASSPATH
#vi /usr/local/jboss/bin/run.sh
//ÔÚ×îÉÏÃæµÄ×¢ÊÍÏÂÃæ¼ÓÉÏÒÔÏÂÄÚÈÝ
JAVA_HOME=/usr/local/java
ËÄ¡¢ÔËÐÐ
#/usr/local/jboss/bin/run.sh -b 192.168.50.202 &
£¨°ÑIP¸ø³ÉÄã×Ô¼ºµÄ£©
Îå¡¢²âÊÔ
http://192.168.50.202:8080
£¨°ÑIP¸ø³ÉÄã×Ô¼ºµÄ£©
Áù¡¢¹Ø±Õ·þÎñÆ÷
#/usr/local/jboss/bin//shutdown.sh -S
Ïà¹ØÎĵµ£º
¼òµ¥½âÊÍÒ»ÏÂipcsÃüÁîºÍipcrmÃüÁî¡£
È¡µÃipcÐÅÏ¢£º
ipcs [-m|-q|-s]
-m Êä³öÓйع²ÏíÄÚ´æ(shared memory)µÄÐÅÏ¢
-q Êä³öÓйØÐÅÏ¢¶ÓÁÐ(message queue)µÄÐÅÏ¢
-s Êä³öÓйؓÕÚ¶ÏÆ÷”(semaphore)µÄÐÅÏ¢
%ipcs -m
ɾ³ýipc
ipcrm -m|-q|-s shm_id
%ipcrm -m 105
ÀýÈ磬ÎÒÃÇÔÚÒÔ0x12345678ΪKEY´´½¨ÁËÒ»¸ö¹ ......
¡¡1 ÒýÑÔ
¡¡¡¡Linux²Ù×÷ϵͳÒò¾ßÓÐÔ´´úÂ빫¿ª¡¢±ãÓڲüõ¡¢Óй㷺µÄ´¦ÀíÆ÷Ö§³ÖµÈÓŵ㣬³ÉΪµ±Ç°Ç¶ÈëʽϵͳµÄÈÈÃÅÑ¡Ôñ¡£»ùÓÚI2C×ÜÏߵļüÅÌÀ©Õ¹É豸Ö÷ÒªÓÃÓÚÂú×ãǶÈëʽÉ豸ÖжԶఴ¼üµÄÐèÇó£¬Çý¶¯³ÌÐòÔÚϵͳÆô¶¯Ê±¶ÔÓ²¼þ½øÐгõʼ»¯¡£ÔÚϵͳÆô¶¯ºóʵÏÖÓ²¼þºÍÓ¦ÓóÌÐòÖ®¼äµÄÊý¾Ý½»»¥¡£Õë¶ÔS3C2410΢´¦ÀíÆ÷ºÍ¼üÅÌɨÃè¹ÜÀíÆ÷¼þ£¬É ......
1. ³õʼ»¯Ò»¸öÁ¬½Ó¾ä±ú
MYSQL *mysql_init(MYSQL *);
ÕýÈ·£º·µ»ØÒ»¸öÖ¸ÏòзÖÅäµÄÁ´½Ó¾ä±ú½á¹¹µÄÖ¸Õë
´íÎó£ºNULL
×¢£º¸Ãº¯ÊýµÄ´«Èë²ÎÊýͨ³£ÎªNULL¼´¿É¡£
2. ½¨Á¢ÎïÀíÁ¬½Ó
MYSQL *mysql_real_connect(MYSQL *connect ......
ÂÜÀòÊÀ½ç ¸úÄúÒ»Æð¿´ÊÀ½ç http://lolier.info/ FTP>ascii: É趨ÒÔASCII·½Ê½´«ËÍÎļþ(ȱʡֵ) FTP>bell: ÿÍê³ÉÒ»´ÎÎļþ´«ËÍ,±¨¾¯Ìáʾ. FTP>binary: É趨ÒÔ¶þ½øÖÆ·½Ê½´«ËÍÎļþ. FTP>bye: ÖÕÖ¹Ö÷»úFTP½ø³Ì,²¢Í˳öFTP¹ÜÀí·½Ê½. FTP>case: µ±ÎªONʱ,ÓÃMGETÃüÁ±´µÄÎļþÃûµ½±¾µØ»úÆ÷ÖÐ,È«²¿×ª»»ÎªÐ¡Ð´×Öĸ. FTP>cd: ͬUNIXµÄCD ......
¹¦ÄÜ˵Ã÷£º.bz2ÎļþµÄѹËõ³ÌÐò¡£
Óï¡¡¡¡·¨£ºbzip2 [-cdfhkLstvVz][--repetitive-best][--repetitive-fast][- ѹËõµÈ¼¶][ҪѹËõµÄÎļþ]
²¹³ä˵Ã÷£ºbzip2²ÉÓÃеÄѹËõÑÝËã·¨£¬Ñ¹ËõЧ¹û±È´«Í³µÄLZ77/LZ78ѹËõÑÝËã·¨À´µÃºÃ¡£ÈôûÓмÓÉÏÈκβÎÊý£¬bzip2ѹËõÍêÎļþºó»á²úÉú.bz2µÄѹËõÎļþ£¬²¢É¾³ýÔʼµÄÎļþ¡£
²Î¡¡¡¡Êý£º
¡¡- ......