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

LinuxÏÂjavaÏà¹ØÅäÖà tomcat mysql jdk

 ×î½üÓиöÏîÄ¿Òª²¿Êðµ½linuxÉÏ£¬ÔÚÍøÉϲéÁËЩ×ÊÁÏ£¬¼ÇϵãÓöµ½µÄÎÊÌ⣬ÒԱ㽫À´ÔÙÓá£
Ò»£ºjdk°²×°
1.ͨ¹ýchmod a+x jdk-1_5_x-rc-linux-i586-rpm.binÃüÁîʹÆä»ñµÃ¿ÉÖ´ÐÐȨÏÞ
2.ͨ¹ý rpm –ivh jdk-1_5_x-rc-linux-i586-rpm.binÀ´½øÐа²×°
3.°²×°Íê±Ï,JDK°²×°ÔÚ/usr/java/Ŀ¼ÏÂ
4.ÉèÖû·¾³±äÁ¿(дÈëvi/etc/profileÖÐ)
ÓÃi½øÈë²åÈëģʽ
export JAVA_HOME = /usr/java/jdk1.5
export PATH = $JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
export CLASSPATH=.:/usr/java/jdk1.5/lib:/usr/java/jdk1.5/jre/lib:$CLASSPATH
escÍ˳ö£¬°´Ï´óдZZ ±£´æÍ˳ö£¡
java -version ·¢ÏÖûÓгɹ¦£¬ÓÚÊǼÓÈëÏÂÃæµÄ²½Ö裺
5.ҪʹJDKÔÚËùÓеÄÓû§ÖÐʹÓ㬿ÉÒÔÕâÑù£º
vi /etc/profile.d/java.sh
ÔÚеÄjava.shÖÐÊäÈëÒÔÏÂÄÚÈÝ£º
JAVA_HOME=/usr/java/jdk1.5.0
CLASSPATH=.:$JAVA_HOME/lib/tools.jar:/lib/dt.jar
PATH=$JAVA_HOME/bin:$PATH
JAVA_OPTS="-server -Xmx768m -XX:MaxNewSize=512m -XX:MaxPermSize=700m"
CATALINA_OPTS="-server -Xmx768m -XX:MaxNewSize=512m -XX:MaxPermSize=700m"
export JAVA_HOME CLASSPATH PATH JAVA_OPTS CATALINA_OPTS
±£´æÍ˳ö£¬È»ºó¸øjava.sh·ÖÅäȨÏÞ£ºchmod 755 /etc/profile.d/java.sh
6.ÕâÒ»²½ºÜ¹Ø¼ü£¬À§ÈÅÁËÎÒÒ»Ì죬AS4ĬÈϵÄÊÇjdk1.4.2 £¬µ±ÎÒÃÇ°²×°ÉÏjdk1.5.0µÄʱºòÈç¹û²»×öеÄÁ´½ÓjdkµÄʹÓÃÊÇ»á³öÎÊÌâµÄ£¬¾ßÌå×ö·¨ÈçÏ£º
½øÈë /usr/bin/Ŀ¼
cd /usr/bin
 ln -s -f /usr/java/jdk1.5/jre/bin/java
 ln -s -f /usr/java/jdk1.5/bin/javac
rebootÖØÆðlinux»úÆ÷¡£
¶þ£ºtomcat°²×°
1. #tar -zxvf apache_tomcat_5.523.tar.gz
 #mv apache_tomcat_5.52.3 tomcat
 OK  ½øÈëTOMCAT Ŀ¼ È»ºó½øÈë BIN Ŀ¼
 ÔËÐÐ ./startup.sh
2. È»ºó¼òµ¥ÅäÖÃÒ»ÏÂTOMCAT µÄÓû§ºÍ½ÇÉ«
½øÈë µ±Ç°µÄĿ¼ ϵÄCONF
vi tomcat-users.xml
ÔÚ<tomcat-users>
¼ÓÈë
<user name="admin" password="admin" roles="admin" />
3.ÅäÖÃsever.xml
<Context path="" reloadable="true" docBase="D:\web\test"></Context>
4.¿ª»ú×ÔÆô¶¯
# vi /etc/rc.d/rc.local Ìí¼Ó:
export JAVA_HOME=/usr/java/jdk1.5
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/tools.jar
/usr/apache_tomcat_5.52.3/bin/startup.sh
Èý£ºmysql°²×°
1.


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨Èý£© HCI²ã±à³Ì

1. HCI²ãЭÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI)  ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈЭÒé ......

ʵսLinux Bluetooth±à³Ì (Æß) SDPЭÒé

Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖЭÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀЭÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......

½éÉÜmysqlÊý¾Ý¿âÏÂshowÃüÁîµÄÖ÷ÒªÓ÷¨


¡¡¡¡
¡¡¡¡±¾ÎÄÖ÷Òª½éÉÜmysqlÊý¾Ý¿âÏÂshowÃüÁîµÄÖ÷ÒªÓ÷¨£º
¡¡¡¡a. show tables»òshow tables from database_name; -- ÏÔʾµ±Ç°Êý¾Ý¿âÖÐËùÓбíµÄÃû³Æ¡£
¡¡¡¡b. show databases; -- ÏÔʾmysqlÖÐËùÓÐÊý¾Ý¿âµÄÃû³Æ¡£
¡¡¡¡c. show columns from table_name from database_name; »òshow columns from database_name.table_n ......

Mysql ÃüÁîÐÐģʽ ѧ»áʹÓðïÖúÎĵµ

 ÔÚÎÒÃÇ»ú·¿ÉϿεÄʱºò£¬ÀÏʦÈÃ×Ô¼º×ö ͼͼƬ ³ö¿â ºÍÈë¿â £¬°¥  £¬ ×ø×Å×ø×Å £¬½¨±íMYSQL  ÃüÁîÐÐģʽ£¬Óиö´æ´¢ ͼƬµÄ×ֶΠ×Ô¼º²»ÊìϤ£¬ÓÐûÓÐMysql µÄAPIÎĵµ£¬ ÈçºÎ°ì ÎÊͬѧ ͬѧҲ²»ÖªµÀ¡£
ºÇºÇ ÏëÆðÁË DOSµÄ°ïÖú ´òÁËÒ»¸ö Help ºÇºÇ ³öÏÖÁË ºÃ¶à¶«Î÷
ÔÙ°´ÕÕÌáʾ £ºhelp create table  ºÇºÇ Ï ......

Éè¼ÆMySQLÊý¾Ý¿âµÄ¼¼ÇÉ


¡¡¡¡ÄãÕý¼Æ»®¿ª·¢Ò»¸öÐèÒªMySQLÊý¾Ý¿âµÄPHPÍøÂçÓ¦ÓÃÂð£¿ÄÇôÄãÊ×ÏÈÐèÒªÉè¼ÆMySQLÊý¾Ý¿â¡£±¾ÎĽ«½Ì»áÄãһЩÉè¼ÆMySQLÊý¾Ý¿âµÄ¼¼ÇÉ¡£
¡¡¡¡¾ÍMySQL¶øÑÔ£¬´ó¶àÊý³ÌÐòÔ±¶¼²»Ì«Á˽âÆäÉè¼Æ±³¾°£¬Òò´Ëµ±ËûÃdz¢ÊÔ´´½¨×Ô¼ºµÄÊý¾Ý¿âʱ£¬»áÁôϺܶ੶´¡£
¡¡¡¡ÒªÏëΪMySQLÊý¾Ý¿â½øÐкÏÊʵÄÅäÖã¬ÄãµÄÍøÂçÓ¦ÓÃÓ¦¸ÃÊÇÓÐЧÇÒ¿É¿¿µÄ£¬Òò ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ