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

LinuxÏÂHTTP·þÎñÆ÷µÄ´î½¨

 LinuxÏÂHTTP·þÎñÆ÷µÄ´î½¨
Linux Ï°²×°Tomcat 6µÄ²½ÖèÈçÏ¡£
£¨1£©µ½apacheÍøÕ¾ÏÂÔØTomcatÎļþ apache-tomcat-6.0.18.tar.gz¡£
£¨2£©ÔÚ/usrĿ¼Ï½¨Á¢TomcatĿ¼¡£
£¨3£©½âѹapache-tomcat-6.0.18.tar.gz Îļþ¡£
#tar -xvzf apache-tomcat-6.0.18.tar.gz
£¨4£©ÐÞ¸Äetc/profile Îļþ£¬ÔÚ×îºó¼ÓÈëÈçÏ´úÂë¡£
export TOMCAT_HOME=/usr/tomcat
£¨5£©Èç¹ûÐèҪʹÓÃmanager¹¦ÄÜ£¬ÐèÐÞ¸ÄTomcat_HOME/conf/tomcat-users.xml Îļþ£¬¼ÓÈ룺
<role rolename="manager"/> <user username="admin" password="123" roles="manager"/> 
£¨6£©Æô¶¯Tomcat£¬ÃüÁîÐз½Ê½¸Ä±äµ½°²×°Ä¿Â¼£¬ÔËÐÐÒÔÏÂÃüÁî¡£
./catalina.sh run           //Æô¶¯Tomcat, ¿ØÖÆ̨  ./catalina.sh  start    //Æô¶¯tomcat, ÎÞ¿ØÖÆ̨  ./startup.sh            //Æô¶¯tomcat, ÎÞ¿ØÖÆ̨ 
£¨7£©¹Ø±ÕTomcat£¬Ö´ÐÐ./shutdown.sh  »òÕß ./catalina.sh stop¡£
£¨8£©²âÊÔTomcat°²×°ÊÇ·ñ³É¹¦¡£
http://localhost:8080 


Ïà¹ØÎĵµ£º

LinuxÏÂApache°²×°/Ôö¼Ómod_rewriteÄ£¿é

 ¡¡Èç¹ûÄãµÄ·þÎñÆ÷apache»¹Ã»Óа²×°£¬ÄǺܼòµ¥£¬ÔÚ±àÒëapacheʱ½«mod_rewriteÄ£¿é±àÒë½øÈ¥¾Í¿ÉÒÔ£¬Ïà¹ØÎĵµ¿ÉÒÔÔÚhttp://man.ddvip.com/soft/apache2.2/misc/rewriteguide.html
ÖÐÕÒµ½¡£Èç¹ûÄãµÄapacheÒѾ­°²×°ºÃÁË£¬ÏÖÔÚÖ»Ïë±àÒë³ömod_rewrite.soÄ£¿é£¬ÔÚapacheÖнøÐмÓÔØ£¬ÏÂÃæÎÒÃǾͽéÉÜÕâ¸ö·½·¨¡£
¡¡¡¡ÒÔFedora² ......

linux V I M ½Ì ³Ì

 ===============================================================================
=      »¶     Ó­     ÔÄ     ¶Á   ¡¶ V I M  ½Ì  ³Ì ¡·   ——     °æ±¾ ......

Linux ϵĴíÎó error.h

  errno
ÊǸöint±äÁ¿£¬·µ»Ø´íÎó
ÓдíÎóʱʹÓ÷½·¨
fprintf(fp, "%s", strerror(errno))
perrorÓ÷¨
#include <stdio.h>
#include <stdlib.h>
#include<errno.h>
int main(void)
{
FILE *fp;
if((fp=fopen("aaa.txt","r+"))==NULL)
{
puts("²»ÄܽøÈ ......

Linux Ïß³ÌÄ£Ð͵ıȽϣºLinuxThreads ºÍ NPTL

 Õª×Ô£ºhttp://www.ibm.com/developerworks/cn/linux/l-threading.html
LinuxThreads ÏîÄ¿×î³õ½«¶àÏ̵߳ĸÅÄîÒýÈëÁË Linux®£¬µ«ÊÇ LinuxThreads ²¢²»×ñÊØ
POSIX Ï̱߳ê×¼¡£¾¡¹Ü¸üÐ嵀 Native POSIX Thread
Library£¨NPTL£©¿âÌî²¹ÁËһЩ¿Õ°×£¬µ«ÊÇÕâÈÔÈ»´æÔÚһЩÎÊÌâ¡£±¾ÎÄΪÄÇЩÐèÒª½«×Ô¼ºµÄÓ¦ÓóÌÐò´Ó LinuxTh ......

ʵս linuxÀ¶ÑÀ±à³ÌÖ®(°Ë) hci ЭÒé Ó¦Óñà³ÌʵÏÖ

  ¶ÔÓÚhci²ãµÄ±à³Ì ÊÇÏ൱¸´Ô ¹¦ÄÜÒ²ÊÇÇ¿´óµÄ,½¨ÒéѧϰÕß È¥¶Ábluez-libÖеÄhciºÍsdp
  ÕâÀï¼òÒª½éÉÜ ÎÒÔÚ¿ª·¢¹«Ë¾µÄÏîÄ¿ÖÐµÄ Ò»¸öСµÄ»ù´¡¶¯×÷. ¸Ã±à³ÌµÄ¹ý³Ì»ù±¾ÀíÇåÁËhciºÍsdpµÄÏνӺÍÓ¦ÓÃ.Ï£Íû¶ÔѧϰÕßÓаïÖú
˵Ã÷Óв»µ½Ö®´¦,Íû´ó¼Ò¶à¶àÑо¿,²»Òª¾ÖÏÞ,ÿ¸öÈËÓÐ×Ô¼ºµÄ·½Ê½,Ò²ÐíÄãµÄÔÚÂß¼­Ëã·¨ÉϱÈÎҵĺÃ! ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ