LinuxÏÂÅäÖÃTOMCAT·þÎñ
Ò»¡¢°²×°jdk
# chmod u+x ./jdk-1_5_0_14-linux-i586-rpm.bin
# ./jdk-1_5_0_14-linux-i586-rpm.bin
¶þ¡¢°²×°tomcat
tar zxvf apache-tomcat-5.5.25.tar.gz
Èý¡¢½¨Óû§ºÍȨÏÞ
# useradd tomcat
# passwd tomcat
# chown -R tomcat:tomcat /opt/tomcat (tomcat¹¤×÷Ŀ¼)
ËÄ¡¢ÅäÖÃjdkºÍtomcat»·¾³±äÁ¿
.bashrc
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
export JAVA_HOME=/opt/j2sdk1.4.2_09
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export TOMCAT_HOME=/opt/tomcatwloa
export USERNAME BASH_ENV PATH
PATH=$PATH:/opt/j2sdk1.4.2_09/bin:/opt/tomcatwloa/bin
Îå¡¢ÅäÖÃtomcatµÄadmin
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="admin"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="both" password="null" roles="tomcat,role1"/>
<user username="admin" password="666666" fullName="" roles="admin"/>
Áù¡¢ÅäÖÃtomcatµÄÁ¬½Ó
Æß¡¢¶à¸ötomcat²¢ÐÐʱעÒâtomcatµÄ¶Ë¿ÚÕ¼ÓÃÇé¿ö
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
¹Ø»úºÍÖØÆôÔÚLinux KernelÖеÄÄÄЩº¯ÊýÀïʵÏÖ¡£
rebootµÄ×îÖÕʵÏÖÔÚarch_reset()º¯Êý£¬Ëüͨ³£¶¨ÒåÔÚarch/arm/mach-xxx/include/mach/system.hÀï¡£system.h±»ARM kernelµÄpublic codeÓ¦Óã¬Òò´ËÄãÐèÒª¶¨ÒåÕâ¸öÍ·Îļþ£¬²¢ÊµÏÖËü¡£
arch_resetµÄº¯ÊýÔÐÍΪ
void arch_reset(char mode)
void arch_reset(char mode)& ......
×÷ÕߣºÔøºê°²£¬»ªÇåÔ¶¼ûǶÈëʽѧԺ¸ß¼¶½²Ê¦¡£
ÈçºÎʹÓÃeclipse½øÐÐǶÈëʽLinuxµÄ¿ª·¢ Ï°¹ßÁËÔÚwindows»·¾³Ï¿ª·¢µÄ³ÌÐòÔ±ÔÚתµ½Linuxƽ̨ʱ¾³£»á±§Ô¹Ã»ÓÐÒ»¸öºÃÓõļ¯³É¿ª·¢»·¾³¡£ºÍwindowsϳ£ÓõÄһЩ¿ª·¢Èí¼þÏà±È£¬Linux×Ô´øµÄһЩ¿ª·¢»·¾³Ê¹ÓÃÆðÀ´ÒªÃ´½çÃæºÍ²Ù×÷²»¹»·½±ã¡¢ÓѺã¬ÒªÃ´¹¦Äܲ»È«¡£ÆäʵÎÒÃÇÍêÈ«¿ÉÒÔÔÚ¿ ......
Linuxϲ鿴°æ±¾ºÅµÄÃüÁî
1£¬²é¿´Äں˰汾ÃüÁ
cat /proc/version
uname -a
uname -rcat /etc/issue
man uname
2£¬²é¿´linux°æ±¾£º³Â¼ÈçÏ£º
1) µÇ¼µ½·þÎñÆ÷Ö´ÐÐ lsb_release -a £¬¼´¿ÉÁгöËùÓа汾ÐÅÏ¢£¬ÀýÈ磺
[root@3.5.5Biz-46 ~]# lsb ......