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

LINUX °²×°JREµÄÏêϸ½éÉÜ

 ÏÂÔØJRE(Java Runtime Environment) ¡£(http://java.sun.com/javase/downloads/index.jsp)
ii. [root@localhost ~]#mkdir /usr/local/java
iii. (½«µµ°¸jre-1_5_0_09-linux-i586-rpm.binÏÂÔص½/usr/local/javaĿ¼ÏÂ)
iv. (³¬¼¶Óû§Ä£Ê½)
[root@localhost ~]#su            
v.  [root@localhost ~]#cd /usr/java
vi. (½«ÄúËùÏÂÔصĵµµÄȨÏÞ¸ü¸ÄΪ¿ÉÖ´ÐÐ)
[root@localhost java]#chmod a+x jre-1_5_0_09-linux-i586-rpm.bin 
vii. (Æô¶¯°²×°¹ý³Ì) 
[root@localhost java]#./jre-1_5_0_09-linux-i586-rpm.bin
(´Ëʱ½«ÏÔʾ¶þ½øÖÆÐí¿ÉЭÒ飬°´¿Ø¸ñÏÔʾÏÂÒ»Ò³£¬¶ÁÍêÐí¿ÉЭÒéºó£¬ÊäÈë ¡ºyes¡»¼ÌÐø°²×°¡£´Ëʱ»á½«½âѹËõ£¬²úÉújre-1_5_0_9-linux-i586.rpm)
 
viii. (°²×°jre-1_5_0_9-linux-i586.rpm) 
[root@localhost java]#rpm –ivh jre-1_5_0_9-linux-i586.rpm
´Ëʱ»á½«JRE×°ÔÚ/usr/java/jre1.5.0_09Ŀ¼ÏÂ)
ix. (É趨»·¾³±äÁ¿£¬ÈÃLinuxÄÜÕÒµ½JRE)
[root@localhost java]#vi /etc/profile
(½«ÒÔÏÂÄÚÈݼÓÈëÔÚµµ°¸ºóÃæ) 1PATH=$PATH:/usr/java/jre1.5.0_09/bin
2export JAVA_HOME=/usr/java/jre1.5.0_09
3export CLASSPATH=$JAVA_HOME/lib:.
(´æÅ̺ó£¬ÖØÐÂÆô¶¯Linux)
x. (²âÊÔJavaÊÇ·ñ°²×°³É¹¦)
[root@localhost ~]#java –version


Ïà¹ØÎĵµ£º

Linux ÏÂgetch()ºÍgetche()

LinuxÏÂgetch()ºÍgetche()
I would recommend never mixing input techniques in a program. Don't mix fgets() or scanf() with getchar(). Don't mix any standerd C library input function with a non-standard function that bypasses the C stream mechanism, be that getch(), getche(), bioskey(), or anything el ......

Linux¶àÏ̱߳à³Ì


Ïß³Ì
ÊǼÆËã»úÖжÀÁ¢ÔËÐеÄ×îСµ¥Î»£¬ÔËÐÐʱռÓúÜÉÙµÄϵͳ×ÊÔ´¡£¿ÉÒÔ°ÑÏ߳̿´³ÉÊDzÙ×÷ϵͳ·ÖÅäCPUʱ¼äµÄ»ù±¾µ¥Ôª¡£Ò»¸ö½ø³Ì¿ÉÒÔÓµÓÐÒ»¸öÖÁ¶à¸öÏ̡߳£ËüÏß³ÌÔÚ½ø³ÌÄÚ²¿¹²ÏíµØÖ·¿Õ¼ä¡¢´ò¿ªµÄÎļþÃèÊö·ûµÈ×ÊÔ´¡£Í¬Ê±Ïß³ÌÒ²ÓÐÆä˽ÓеÄÊý¾ÝÐÅÏ¢£¬°üÀ¨£ºÏ̺߳š¢¼Ä´æÆ÷£¨³ÌÐò¼ÆÊýÆ÷ºÍ¶ÑÕ»Ö¸Õ룩¡¢¶ÑÕ»¡¢ÐźÅÑÚÂë¡¢ÓÅÏȼ¶¡¢Ïß³ ......

LinuxÄÚºËÄ£¿éµÄ¹ÜÀí

Ò»¡¢LinuxÄÚºËÄ£¿éµÄ¹ÜÀí
 
 
1¡¢lsmod ÁмÓÒÔ¹ÒÔصÄÄÚºËÄ£¿é£»
 
lsmod ÊÇÁгöĿǰϵͳÖÐÒѼÓÔصÄÄ£¿éµÄÃû³Æ¼°´óСµÈ£»ÁíÍâÎÒÃÇ»¹¿ÉÒԲ鿴 /proc/modules £¬ÎÒÃÇÒ»Ñù¿ÉÒÔÖªµÀϵͳÒѾ­¼ÓÔصÄÄ£¿é£»
´úÂë:
[root@localhost beinan]# lsmod
2¡¢modinfo ²é¿´Ä£¿éÐÅÏ¢£»
 
modinfo ¿ÉÒԲ鿴ģ¿éµ ......

¡¾×ª¡¿LinuxÐéÄâ»úÏÂÈçºÎ¹²ÏíADSL²¦ºÅÉÏÍø


 
 
 
¡¾×ª¡¿LinuxÐéÄâ»úÏÂÈçºÎ¹²ÏíADSL²¦ºÅÉÏÍø
2010-01-20 11:55
½ñÌìÔÚvmwareÉÏ×°ÁËÒ»¸öRed Hat Enterprise Linux 5£¬×°ºÃÖ®ºó£¬ÎÒÏëÔÚÐéÄâ»úÉϹ²ÏíÎÒµÄadsl²¦ºÅÉÏÍø£¬ÉèÖùý³ÌÈçÏÂ:
¡¡¡¡1. ÏÈÔÚadslÁ¬½ÓÊôÐÔÉÏÔÊÐí¹²ÏíInternetÁ¬½Ó:
¡¡¡¡2.ÕâÑù×öºó»áµ¯³öÒ»¸ö¶Ô»°¿ò£¬¸æËßÄã»á°Ñ±¾µØÁ¬½ÓµÄipµØ ......

Linux mysql°²×°ÐÞ¸ÄrootÃÜÂë·þÎñ

ÔÚÏò´ó¼ÒÏêϸ½éÉÜLinux mysql֮ǰ£¬Ê×ÏÈÈôó¼ÒÁ˽âÏÂLinux mysql£¬È»ºóÈ«Ãæ½éÉÜLinux mysql£¬Ï£Íû¶Ô´ó¼ÒÓÐÓá£
1. Linux mysql°²×°£º
$ yum install mysql-server
2. Linux mysqlÐÞ¸ÄrootÃÜÂ룺
$ mysqladmin -u root password
your_new_passwd
3. Æô¶¯Linux mysql·þÎñ
$ /etc/init.d/mysqld start
4. Ìí¼ÓΪϵͳ· ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ