¡¾Nutch¡¿Linuxϵ¥»úÅäÖÃNutch
Linuxϵ¥»úÅäÖÃNutch
1.»·¾³½éÉÜ
²Ù×÷ϵͳ£ºRed hat linux 9
Nutch°æ±¾£ºnutch-0.9,ÏÂÔØ£ºhttp://apache.etoak.com/lucene/nutch/
JDK°æ±¾£ºJDK 1.6
Apache Tomcat°æ±¾£ºapache-tomcat-6.0.18
http://apache.etoak.com/tomcat/tomcat-6/v6.0.18/bin/apache-tomcat-6.0.18.tar.gz
2.ÅäÖÃÇ°Ìá
2.1 °²×°jdk 1.6
Ê×ÏÈÏÂÔØjdk°²×°°üjdk-1_6_0_13-linux-i586-rpm.bin
µÚÒ»²½£º# chmod +x jdk-1_6_0_13-linux-i586-rpm.bin (»ñµÃÖ´ÐÐȨÏÞ)
µÚ¶þ²½£º# ./jdk-1_6_0_13-linux-i586-rpm.bin (Éú³Érpm°²×°°ü)
µÚÈý²½£º# rpm -ivh jdk-1_6_0_13-linux-i586.Rpm(°²×°£Ê£Ä£Ë)
°²×°Íê±Ïºó£¬jdkĬÈÏ°²×°ÔÚ/usr/java/Ŀ¼Ï¡£
µÚËIJ½£ºÅäÖÃJAVA»·¾³±äÁ¿¡£
ÔÚ/etc/profileÖÐÉèÖû·¾³±äÁ¿
[root@red-hat-9 root]# vi /etc/profile
¼ÓÈëÒÔÏÂÓï¾ä£º
JAVA_HOME=/usr/java/jdk1.6.0_13
export JAVA_HOME
CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib (×¢ÒâÊÇðºÅ)
export CLASSPATH
PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
[root@red-hat-9 root]# chmod +x /etc/profile (Ö´ÐÐȨÏÞ)
[root@red-hat-9 root]# source /etc/profile (´ËºóÉèÖÃÓÐЧ)
2.2 °²×°Tombact
µÚÒ»²½£ºÉèÖû·¾³±äÁ¿(²»ÊDZØÐëµÄ)
[root@red-hat-9 program]# vi /etc/profile
export JDK_HOME=$JAVA_HOME
[root@red-hat-9 program]# source /etc/profile
µÚ¶þ²½£º°²×°tomnact£¬½âѹµ½Ä³Ä¿Â¼Ï¼´¿É
tar xf apache-tomcat-6.0.18.tar.gz
mv apache-tomcat-6.0.18 /zkl/progaram/
µÚÈý²½£ºÈçºÎʹÓÃApache Tomcat
¢ÙÊ×ÏÈÆô¶¯Tomcat£¬Ö»ÐèÖ´ÐÐÒÔÏÂÃüÁî
# /zkl/program/apache-tomcat-6.0.18/bin/startup.sh
¢ÚTomcatµÄÍøÒ³Ö÷Ŀ¼ÊÇ/zkl/program/apache-tomcat-6.0.18/webapps/£¬Ö»ÐèÔÚwebappsĿ¼ÖÐÌí¼ÓÏàÓ¦ÍøÒ³¼´¿ÉÔÚä¯ÀÀÆ÷·ÃÎÊ£¬TomcatĬÈÏĿ¼ÊÇwebappsϵÄROOTĿ¼¡£
http://127.0.0.1:8080/ ·ÃÎÊtomcatĬÈÏÖ÷Ŀ¼£¬ROOT
http://127.0.0.1:8080/luceneweb ½«luceneweb·ÅÈëwebappsÖÐ
¢ÛApache http·þÎñÆ÷µÄ¶Ë¿ÚÊÇ 80£¬http://127.0.0.1·ÃÎʵÄÊÇApacheÖ÷Ŀ¼
Apache Tomcat·þÎñÆ÷¶Ë¿ÚÊÇ8080£¬¶þÕß²»³åÍ»£¬ÈôÓгåÍ»£¬Ôò¿ÉÒÔÐÞ¸ÄtomcatÅäÖÃÎļþserver.xml
vi /zkl/program/apache-tomcat-6.0.18/c
Ïà¹ØÎĵµ£º
Ò»¡¢ÒýÑÔ£º
±¾ÎĵµµÄÄÚÈݴ󲿷ÝÄÚÈݶ¼ÊÇ´ÓÍøÉÏÊÕ¼¯¶øÀ´£¬È»ºóÅäºÏһЩеĽØͼ£¨Äں˰汾£ºV2.4.19£©¡£ÔÚÿһÅäÖÃÏîºó»áÓÐÒ»¸öÑ¡ÔñÖ¸ÄϵIJ¿·Ý£¬ÓÃÀ´Ö¸µ¼´ó¼ÒÔõôÑù¸ù¾Ý×Ô¼ºµÄÇé¿öÀ´×öÏàÓ¦µÄÑ¡Ôñ£»»¹ÓÐÔÚÿһ¸ö´óÏîºÍÎĵµµÄ×îºó»áÓÐÒ»¸ö¾Ñé̸£¬ËüÊÇһЩ¸ßÊÖÃÇÔÚÓ¦¶ÔÎÊÌâºÍ´¦ÀíÌØÓÐÓ²¼þʱµÄһЩ¾Ñ飨Õâ¸ö»¹µ ......
http://blog.csdn.net/ren911/archive/2010/05/10/5576456.aspx
½«asteriskÒÆÖ²µ½ppc__6xx»·¾³ÏµÄǶÈëʽϵͳÉϵÄÖ÷Òª²½Ö裺
ÔÚËÞÖ÷»úÉÏasteriskÔ´Âë°ü½âѹËõºóµÄĿ¼ÏÂ:
1. ./configure CC=ppc_6xx_gcc --without_gnu_ld __host=ppc_linux
(¹ýÈ¥ÓжÎʱ¼äÁË£¬´óСд¿ÉÄÜÓеã¼Ç²»Çå³þ)
2. make menuselect £¨Ñ¡Ô ......
Ê×ÏÈÒªÓÐһ̨´øÓÐTPM 1.2оƬ£¬×°ÓÐlinuxϵͳµÄ¼ÆËã»ú¡£
ʹÓÃÏÂÃæÕâÌõÃüÁî¿ÉÒԲ鿴ϵͳÄÚºËtpmÇý¶¯Çé¿ö£º
$ ls -la /lib/modules/`uname -r`/kernel/drivers/char/tpm
×Ü¼Æ 100
drwxr-xr-x 2 root root 4096 02-03 21:47 .
drwxr-xr-x 7 root root 4096 02-03 21:47 ..
-rwxr--r-- 1 root root 9812 01-21 15:27 tp ......
1. ÍøÂç×Óϵͳ
* ϵͳµ÷ÓýӿÚ
* ÐÒéÎ޹زã
* ÐÒéʵÏÖ²ã
* Çý¶¯Î޹زã
* Çý¶¯³ÌÐò²ã
×¢£ºµ÷ÓýӿÚ<->ÐÒé²ã<->Çý¶¯³ÌÐò
2. Íø¿¨Çý¶¯³ÌÐò
* λÓÚÊý¾ÝÁ´Â·²ã
3. ¹Ø¼üÊý¾Ý½á¹¹
* struct net_device
* struct sk_buffer
4. ³õʼ»¯
* Éú³Énet_device£¬²¢³õʼ»¯Æä³ÉÔ±
* ¸ù¾ÝÐèÒª£¬¶ÔÍø¿¨×ÔÉí¼Ä´æÆ÷ ......