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

LinuxÖÐJDK1.6µÄ°²×°ºÍÅäÖ÷½·¨


Ò»¡¢°²×°
´´½¨°²×°Ä¿Â¼£¬ÔÚ/usr/local/javaϽ¨Á¢°²×°Â·¾¶£¬²¢½«Îļþ¿¼µ½¸Ã·¾¶Ï£º 
# mkdir /usr/local/java
1¡¢jdk-6u11-linux-i586.bin
Õâ¸öÊÇ×Ô½âѹµÄÎļþ£¬ÔÚlinuxÉÏ°²×°ÈçÏ£º 
# chmod 755 jdk-6u11-linux-i586.bin 
# ./jdk-6u11-linux-i586.bin
ÔÚ°´ÌáʾÊäÈëyesºó£¬jdk±»½âѹ¡£
 ³öÏÖÒ»ÐÐ×Ö£ºDo you aggree to the above license terms? [yes or no]
  °²×°³ÌÐòÔÚÎÊÄúÊÇ·ñÔ¸Òâ×ñÊظղſ´¹ýµÄÐí¿ÉЭÒé¡£µ±È»ÒªÍ¬ÒâÁË£¬ÊäÈë"y" »ò "yes" »Ø³µ¡£
2¡¢ÈôÊÇÓÃjdk-6u11-linux-i586-rpm.bin
Õâ¸öÒ²ÊÇÒ»¸ö×Ô½âѹÎļþ£¬²»¹ý½âѹºóµÄÎļþÊÇjdk-6u11-linux-i586-rpm
°ü£¬Ö´ÐÐrpmÃüÁî×°µ½linuxÉϾͿÉÒÔÁË¡£°²×°ÈçÏ£º 
#chmod 755 ./jdk-6u11-linux-i586-rpm
 
# ./jdk-6u11-linux-i586-rpm
.bin 
# rpm -ivh jdk-6u11-linux-i586-rpm
³öÏÖÒ»ÐÐ×Ö£ºDo you aggree to the above license terms? [yes or no]
  °²×°³ÌÐòÔÚÎÊÄúÊÇ·ñÔ¸Òâ×ñÊظղſ´¹ýµÄÐí¿ÉЭÒé¡£µ±È»ÒªÍ¬ÒâÁË£¬ÊäÈë"y" »ò "yes" »Ø³µ¡£
°²×°Èí¼þ»á½«JDK×Ô¶¯°²×°µ½ /usr/local/java/Ŀ¼Ï¡£ 
¶þ¡¢ÅäÖÃ
 #vi /etc/profile
  ÔÚÀïÃæÌí¼ÓÈçÏÂÄÚÈÝ
  export JAVA_HOME=/usr/java/jdk1.6.0_02
  export PATH=$PATH:$JAVA_HOME/bin
  export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
  export JAVA_HOME PATH CLASSPATH
ÈÃ/etc/profileÎļþÐ޸ĺóÁ¢¼´ÉúЧ ,¿ÉÒÔʹÓÃÈçÏÂÃüÁî:
 # . /etc/profile
×¢Òâ: . ºÍ /etc/profile Óпոñ.
 
ÖØÆô²âÊÔ
  java -version
  ÆÁÄ»Êä³ö:
  java version "jdk1.6.0_02"
  Java(TM) 2 Runtime Environment, Standard Edition (build jdk1.6.0_02)
  Java HotSpot(TM) Client VM (build jdk1.6.0_02, mixed mode)


Ïà¹ØÎĵµ£º

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

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

Linux 2.6.20.xÄں˱àÒëÅäÖÃÑ¡Ïî¼ò½é

˵Ã÷1£º
ÎÄ×ÖÖеÄY±íʾѡÔñ½øÄںˡ£M±íʾ±à³ÉÄ£¿é¡£N±íʾ²»Ñ¡Ôñ¡£ÓеÄÖ»ÄÜÑ¡Y£¬ÓеÄÖ»ÄÜÑ¡M¡£
ÔÚmake menuconfig Ï£¬£ª±íʾY£¬M±íʾM£¬¿Õ°×±íʾN¡£
make xconfigÏ£¬√ ±íʾY£¬? ±íʾM£¬¿Õ°×±íʾN¡£
˵Ã÷2£º
²Ëµ¥ÖУ¬ÓеÄÑ¡ÏîÄãÑ¡ÁËY²Å³öÏÖ£¬ÓеÄÑ¡ÁËY£¬Ëü·´¶ø²»»á³öÏÖ¡£ÓеÄÑ¡Ïî¸ù±¾²»»áÌṩѡÔñ¡£ËùÒÔÎÒÌṩµ ......

linuxÏÂÁ½´ÎСÎÊÌâµ¼ÖµÄcore

Ò»¡¢Ò»¸öÒÔÇ°µÄÀÏÒµÎñ,ÀàËÆÏÂÃæÕâÑùµÄ
     int test(char * ptest)
   £û
          return  atoi(ptest);
   £ý
   Òì³£µÄʱºò£¬Ö¸ÕëÊǿյģ¬Á¢Âí¾ÍcoreµôÁË
¶þ¡¢
   int  uin = 77564267; ......

linuxѧϰÃüÁî

linuxÃüÁîÊÇÔÚbash»·¾³ÏÂÔËÐУ¬×î³£ÓõÄShellºÍÃüÁîÏÂÃæ×öÏÂ×ܽá
1.ls ÏÔʾµ±Ç°Ä¿Â¼ÏµÄÎļþºÍĿ¼
ͨ³£´îÅä²ÎÊýL £¬ÍêÕûÏÔʾÎļþºÍĿ¼£¬È¨ÏÞ£¬Ê±¼ä¡¢¹éÊô
´îÅäA£¬ÏÔʾ “.” µÄĿ¼ºÍÎļþ
2. cat ²é¿´ÎļþÄÚÈÝ
ͨ³£´îÅäÖض¨Ïò·ûºÅ> £¬> ÊÇ°ÑÒ»¸öÎļþµÄÄÚÈݼÓÔص½ÁíÍâÒ»¸öÎļþÄÚÈÝÀïÈ¥ Àý£º cat 1.tx ......

ÔÚ RedHat Linux 64λϵͳÖÐDB2 9.7µÄÎÊÌâ½â¾ö·½·¨

DB2 °²×°Íê³Éºó×¼±¸Æô¶¯Ê±£¬ÏµÍ³±¨´í£¬ÏêϸÐÅÏ¢ÈçÏÂ
[db2inst1@localhost ~]$ db2start
db2start: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
Ö´ÐÐÏÂÃæ¼ì²éÃüÁî
[db2inst1@localhost lib]$ cd /usr/lib
[db2inst1@localhost lib]$ ls -la libaio ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ