ÔÚLinuxÏÂÅäÖÃjdk»·¾³
Ò»¡¢JDKÏÂÔØ:http://java.sun.comÏÂÔØ×Ô½âѹ°ü:jdk.bin
#sh jdk.bin °´ÌáʾѡÔñyes¡£µ½´ËJDKÒѾ°²×°Íê³É
¶þ¡¢ÉèÖû·¾³±äÁ¿
¼ÙÈçjdk°²×°µ½ÁË/usrĿ¼Ï¡£ÔÚ/etc/profileÖеÄ×îµ×¶ËÀïдÈëÈçÏÂ:
#vi /etc/profile
#Set Environment by NetSeek (2005/9/5)
export JAVA_HOME=/usr/jdk
export JRE_HOME=/usr/jdk/jre
PATH=$PATH:$JAVA_HOME/bin:JRE_HOME/bin
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib:
export JAVA_HOME JRE_HOME PATH CLASSPATH
±£´æÍ˳ö¡£
Èý¡¢Ê¹»·¾³±äÁ¿ÉúЧ
#source /etc/profile
#java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing
ËÄ¡¢²âÊÔJDK:
[root@www ~]# vi hello.java
public class hello {
public static void
main(String args [ ])
{ System.out.println("Hello World!");
System.out.println(" ¿´µ½ÕâЩ´ú±í°²×°³É¹¦À²!");
System.out.println("2005/9/5");
}
}
[root@www ~]# javac hello.java
[root@www ~]# java hello
Hello World!
¿´µ½ÕâЩ´ú±í°²×°³É¹¦À²!
Ïà¹ØÎĵµ£º
4ÔÂ19ÈÕ£¬²Ù×÷½çÃæ½â¾ö·½°¸ÌṩÉÌSynaptics Inc.Ðû²¼ÁËÒ»Ì×ÓÃÓÚLinuxϵ統µÄ Synaptics Gesture Suite¿ª·¢Ì××°£¨SGS-L£©£¬Õâ¿îÈí¼þ½«´ø¸ø¿ªÔ´LinuxϵͳÒÔ¶àµã´¥ÃþµÄÄÜÁ¦¡£
SGS-LÖ§³Ö眾¶àµÄLinux·¢ÐаæÈçFedora, Millos Linpus, Red Flag, SuSE, UbuntuºÍXandros£¬並ÌØ別Ìá¼°¿ÉÍØÕ¹Chrome OSµÄй¦Ä ......
sourceÃüÁî(´Ó C Shell ¶øÀ´)ÊÇbash shellµÄÄÚÖÃÃüÁî¡£µãÃüÁ¾ÍÊÇÒ»¸öµã·ûºÅ£¬(´ÓBourne Shell¶øÀ´)ÊÇsourceµÄÁíÒ»Ãû³Æ¡£ÕâÁ½¸öÃüÁÒÔÒ»¸ö½Å±¾Îª²ÎÊý£¬¸Ã½Å±¾½«×÷Ϊµ±Ç°shellµÄ»·¾³Ö´ÐУ¬¼´²»»áÆô¶¯Ò»¸öеÄ×Ó½ø³Ì¡£ËùÓÐÔڽű¾ÖÐÉèÖõıäÁ¿½«³ÉΪµ±Ç°ShellµÄÒ»²¿·Ö¡£Í¬ÑùµÄ£¬µ±Ç°½Å±¾ÖÐÉèÖõıäÁ¿Ò²½«×÷Ϊ½Å±¾µÄ»·¾³£¬s ......
ÔÚSWAP¿Õ¼ä²»¹»ÓõÄÇé¿öÏ£¬ÈçºÎÊÖ¹¤Ìí¼ÓSWAP¿Õ¼ä£¿ÒÔϵIJÙ×÷¶¼ÒªÔÚrootÓû§Ï½øÐУº
¡¡¡¡Ê×ÏÈÏȽ¨Á¢Ò»¸ö·ÖÇø£¬²ÉÓÃddÃüÁî±ÈÈç
¡¡¡¡dd if=/dev/zero of=/home/swap bs=1024 count=512000
¡¡¡¡ÕâÑù¾Í»á´´½¨/home/swapÕâôһ¸ö·ÖÇøÎļþ¡£ÎļþµÄ´óСÊÇ512000¸öblock£¬Ò»°ãÇé¿öÏÂ1¸öblockΪ1K£¬ËùÒÔÕâÀï¿Õ¼äÊÇ512M¡£½Ó×ÅÔ ......
Ìí¼ÓÓ²Å̺óÆô¶¯ÐéÄâ»ú£¬ Èç¹ûÌí¼ÓµÄSCSIÓ²ÅÌÕâʱӦ¸Ã¶à³öÒ»¸ösdb/sdc/..µÄÅÌ£¬¿ÉÒÔÓà fdisk -l ²é¿´µ½
·ÖÇøfdisk /dev/sdb ---> n p 1 »Ø³µ »Ø³µ w
¸ñʽ»¯mkfs -t ext3 -c /dev/sdb1
¹ÒÔص½Ä³¸öĿ¼ mount /dev/sdb1 /home
vi /etc/fstab Ìí¼ÓÒ»ÐÐ /dev/sdb1 /home ext3 defau ......
1 ¾³£ÐèÒª¿Ì¼ ISO Îļþ£¬cdrecord ¿ÉÒÔʵÏÖ
cdrecord ÆäʵÊÇÒ»¸öÈíÁ´½Ó
lrwxrwxrwx 1 root root 5 2009-05-04 22:42 /usr/bin/cdrecord -> wodim
¿Ì¼µÄÃüÁîÈçÏ£º
wodim -v dev=6,0,0 xx.iso # dev ¿ÉÒÔÓà --scanbus ²é¿´
2 ......