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

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
 


Ïà¹ØÎĵµ£º

linux ϲ鿴¹²ÏíÄÚ´æµÄʹÓÃÒÔ¼°É¾³ý¹²ÏíÄÚ´æ


¼òµ¥½âÊÍÒ»ÏÂ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´´½¨ÁËÒ»¸ö¹ ......

I2C×ÜÏßÔÚLinuxϵͳÖеÄÇý¶¯Éè¼Æ

¡¡1 ÒýÑÔ
¡¡¡¡Linux²Ù×÷ϵͳÒò¾ßÓÐÔ´´úÂ빫¿ª¡¢±ãÓڲüõ¡¢Óй㷺µÄ´¦ÀíÆ÷Ö§³ÖµÈÓŵ㣬³ÉΪµ±Ç°Ç¶ÈëʽϵͳµÄÈÈÃÅÑ¡Ôñ¡£»ùÓÚI2C×ÜÏߵļüÅÌÀ©Õ¹É豸Ö÷ÒªÓÃÓÚÂú×ãǶÈëʽÉ豸ÖжԶఴ¼üµÄÐèÇó£¬Çý¶¯³ÌÐòÔÚϵͳÆô¶¯Ê±¶ÔÓ²¼þ½øÐгõʼ»¯¡£ÔÚϵͳÆô¶¯ºóʵÏÖÓ²¼þºÍÓ¦ÓóÌÐòÖ®¼äµÄÊý¾Ý½»»¥¡£Õë¶ÔS3C2410΢´¦ÀíÆ÷ºÍ¼üÅÌɨÃè¹ÜÀíÆ÷¼þ£¬É ......

Linux C MySQLÊý¾Ý¿âº¯Êý

1. ³õʼ»¯Ò»¸öÁ¬½Ó¾ä±ú
    MYSQL *mysql_init(MYSQL *);
    ÕýÈ·£º·µ»ØÒ»¸öÖ¸ÏòзÖÅäµÄÁ´½Ó¾ä±ú½á¹¹µÄÖ¸Õë
    ´íÎó£ºNULL
    ×¢£º¸Ãº¯ÊýµÄ´«Èë²ÎÊýͨ³£ÎªNULL¼´¿É¡£
2. ½¨Á¢ÎïÀíÁ¬½Ó
    MYSQL *mysql_real_connect(MYSQL *connect ......

Linux FTPÃüÁîÏê½â¼°Ê¹Óü¼ÇÉ

ÂÜÀòÊÀ½ç ¸úÄúÒ»Æð¿´ÊÀ½ç http://lolier.info/ FTP>ascii: É趨ÒÔASCII·½Ê½´«ËÍÎļþ(ȱʡֵ) FTP>bell: ÿÍê³ÉÒ»´ÎÎļþ´«ËÍ,±¨¾¯Ìáʾ. FTP>binary: É趨ÒÔ¶þ½øÖÆ·½Ê½´«ËÍÎļþ. FTP>bye: ÖÕÖ¹Ö÷»úFTP½ø³Ì,²¢Í˳öFTP¹ÜÀí·½Ê½. FTP>case: µ±ÎªONʱ,ÓÃMGETÃüÁ±´µÄÎļþÃûµ½±¾µØ»úÆ÷ÖÐ,È«²¿×ª»»ÎªÐ¡Ð´×Öĸ. FTP>cd: ͬUNIXµÄCD ......

linux bzip2 ÃüÁîÏê½â

¹¦ÄÜ˵Ã÷£º.bz2ÎļþµÄѹËõ³ÌÐò¡£
Óï¡¡¡¡·¨£ºbzip2 [-cdfhkLstvVz][--repetitive-best][--repetitive-fast][- ѹËõµÈ¼¶][ҪѹËõµÄÎļþ]
²¹³ä˵Ã÷£ºbzip2²ÉÓÃеÄѹËõÑÝËã·¨£¬Ñ¹ËõЧ¹û±È´«Í³µÄLZ77/LZ78ѹËõÑÝËã·¨À´µÃºÃ¡£ÈôûÓмÓÉÏÈκβÎÊý£¬bzip2ѹËõÍêÎļþºó»á²úÉú.bz2µÄѹËõÎļþ£¬²¢É¾³ýԭʼµÄÎļþ¡£
²Î¡¡¡¡Êý£º
¡¡- ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ