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

Linux²Ù×÷ϵͳÏÂÈýÖÖÅäÖû·¾³±äÁ¿µÄ·½·¨

 
ÏÖÔÚʹÓÃlinuxµÄÅóÓÑÔ½À´Ô½¶àÁË£¬ÔÚlinuxÏÂ×ö¿ª·¢Ê×ÏȾÍÊÇÐèÒªÅäÖû·¾³±äÁ¿£¬ÏÂÃæÒÔÅäÖÃjava»·¾³±äÁ¿ÎªÀý½éÉÜÈýÖÖÅäÖû·¾³±äÁ¿µÄ·½·¨¡£
 
1.ÐÞ¸Ä/etc/profileÎļþ
Èç¹ûÄãµÄ¼ÆËã»ú½ö½ö×÷Ϊ¿ª·¢Ê¹ÓÃʱÍƼöʹÓÃÕâÖÖ·½·¨£¬ÒòΪËùÓÐÓû§µÄshell¶¼ÓÐȨʹÓÃÕâЩ»·¾³±äÁ¿£¬¿ÉÄÜ»á¸øϵͳ´øÀ´°²È«ÐÔÎÊÌâ¡£
 
(1)ÓÃÎı¾±à¼­Æ÷´ò¿ª/etc/profile
 
(2)ÔÚprofileÎļþĩβ¼ÓÈ룺
JAVA_HOME=/usr/share/jdk1.5.0_05
PATH=$JAVA_HOME/bin:$PATH
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JAVA_HOME
export PATH
export CLASSPATH
 
(3)ÖØеǼ
 
×¢½â£º
a. ÄãÒª½« /usr/share/jdk1.5.0_05jdk ¸ÄΪÄãµÄjdk°²×°Ä¿Â¼
 
b. linuxÏÂÓÃðºÅ“:”À´·Ö¸ô·¾¶
 
c. $PATH / $CLASSPATH / $JAVA_HOME ÊÇÓÃÀ´ÒýÓÃÔ­À´µÄ»·¾³±äÁ¿µÄÖµ,ÔÚÉèÖû·¾³±äÁ¿Ê±ÌرðҪעÒâ²»ÄÜ°ÑÔ­À´µÄÖµ¸ø¸²¸ÇµôÁË£¬ÕâÊÇÒ»ÖÖ³£¼ûµÄ´íÎó¡£
 
d. CLASSPATHÖе±Ç°Ä¿Â¼“.”²»Äܶª,°Ñµ±Ç°Ä¿Â¼¶ªµôÒ²Êdz£¼ûµÄ´íÎó¡£
 
e. exportÊÇ°ÑÕâÈý¸ö±äÁ¿µ¼³öΪȫ¾Ö±äÁ¿¡£
 
f. ´óСд±ØÐëÑϸñÇø·Ö¡£
 
2. ÐÞ¸Ä.bashrcÎļþ¡¡¡¡
ÕâÖÖ·½·¨¸üΪ°²È«£¬Ëü¿ÉÒÔ°ÑʹÓÃÕâЩ»·¾³±äÁ¿µÄȨÏÞ¿ØÖƵ½Óû§¼¶±ð£¬Èç¹ûÄãÐèÒª¸øij¸öÓû§È¨ÏÞʹÓÃÕâЩ»·¾³±äÁ¿£¬ÄãÖ»ÐèÒªÐÞ¸ÄÆä¸öÈËÓû§Ö÷Ŀ¼ÏµÄ.bashrcÎļþ¾Í¿ÉÒÔÁË¡£
 
(1)ÓÃÎı¾±à¼­Æ÷´ò¿ªÓû§Ä¿Â¼ÏµÄ.bashrcÎļþ
 
(2)ÔÚ.bashrcÎļþĩβ¼ÓÈ룺¡¡¡¡
set JAVA_HOME=/usr/share/jdk1.5.0_05
export JAVA_HOME
set PATH=$JAVA_HOME/bin:$PATH
export PATH
set CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export CLASSPATH
 
(3)ÖØеǼ
 
3. Ö±½ÓÔÚshellÏÂÉèÖñäÁ¿
²»ÔÞ³ÉʹÓÃÕâÖÖ·½·¨£¬ÒòΪ»»¸öshell£¬ÄãµÄÉèÖþÍÎÞЧÁË£¬Òò´ËÕâÖÖ·½·¨½ö½öÊÇÁÙʱʹÓã¬ÒÔºóҪʹÓõÄʱºòÓÖÒªÖØÐÂÉèÖ㬱ȽÏÂé·³¡£
 
Ö»ÐèÔÚshellÖÕ¶ËÖ´ÐÐÏÂÁÐÃüÁ
export JAVA_HOME=/usr/share/jdk1.5.0_05
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar


Ïà¹ØÎĵµ£º

[תÌû]LinuxÇý¶¯¿ª·¢Ñ§Ï°µÄһЩ±ØÒª²½Öè

 1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......

Linux ¼à¿Ø/SNMPÅäÖÃ

http://www.zhetao.com/content.dep?m=news&id=1235137892661247
 ·¢²¼ÈÕÆÚ 2009-2-20 21:51:32
Linux
ϵͳµÄ
SNMP
·þÎñÉèÖÃ
1)
°²×°
SNMP
ÂÔ£¬Çë²ÎÔÄ
LINUX
ϵͳ
SNMP
°²×°ËµÃ÷£¬Ò»°ãÇé¿öÏÂ
Linux
ÖеľùÒѾ­×Ô¶¯°²×°ÁË
SNMP
·þÎñ¡£ÒÔÏÂÃüÁî¿ÉÒÔ¼ì²â
SNMP
·þÎñÊÇ·ñ°²×°ÒÔ¼°°²×°µÄÎļþ°ü¡£
[ ......

linux×Ö·ûÉ豸Çý¶¯Ñ§Ï°

 ½ñÌìѧϰÁËÔÚlinux2.6ƽ̨Ï嵀 char drvier £¬ÔÚlinuxÏÂÍƼöʹÓõÄÊÇcdev½á¹¹ÌåÀ´ÊµÏÖ¶ÔcharacterÉ豸µÄÃèÊö£¬´úÂëÈçÏÂ
/*This module is desired for sunplusapp s3c2440_board */
#include <linux/fs.h>
#include <linux/types.h>
#include <linux/cdev.h>
#include <linux/kernel.h> ......

linux·ÃÎÊntfs·ÖÇø

 
ÏÂÔØntfs-3g
http://www.ntfs-3g.org/
ntfs-3gÒÀÀµFUSE£¨Filesystem in Userspace£©
ÏÈ´¦ÀíÒÀÀµ
ÏÂÔØFUSE
http://fuse.sourceforge.net/
±àÒëFUSE
> ./configure
> make
> make install
±àÒëntfs-3g
vi ½âѹºóµÄĿ¼/src/secaudit.c
²éÕÒ#include <attr/xattr.h>
Ì滻Ϊ#include <l ......

¡¾×ª¡¿LinuxµÄͼÐλ¯×ÀÃæ¹ÜÀí¡úĿ¼¹ÜÀíµÄ»ù´¡ÖªÊ¶

 ÔÚLinuxϵͳÉÏÃüÃûĿ¼µÄ·½Ê½ÊÇÏ൱ÒþÃصģ¬ÕâҪ׷Ëݵ½µçÄÔÓ²¼þ´¦ÀíÄÜÁ¦±È½ÏÈõ¶ø¼Û¸ñÓֱȽϹóµÄʱÆÚ¡£ÔÚLinuxϵͳÉÏÃüÃûĿ¼µÄ·½Ê½ËƺõÓе㱿׾£¬µ«ÓëÆäËûµÄÿ¼þÊÂÇéÒ»Ñù£¬ÕâÖ»Ð軨һЩʱ¼ä¼ÓÒÔÏ°¹ß¡£Í¨¹ýÃèÊöLinuxÎļþϵͳµÄÈ«¾°£¬Ê¹¶ÁÕß¿ÉÒÔ¶ÔLinuxµÄÎļþϵͳÓнÏÇå³þµÄÈÏʶ¡£
¸ùĿ¼(/)
¡¡¡¡Ä¿Â¼½á¹¹ÉϵÄ×î¸ßµã± ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ