한국어

네트워킹

온누리070 플레이스토어 다운로드
    acrobits softphone
     온누리 070 카카오 프러스 친구추가온누리 070 카카오 프러스 친구추가친추
     카카오톡 채팅 상담 카카오톡 채팅 상담카톡
    
     라인상담
     라인으로 공유

     페북공유

   ◎위챗 : speedseoul


  
     PAYPAL
     
     PRICE
     

pixel.gif

    before pay call 0088 from app


http://sugame.tistory.com/169


1. rpm버전이 아닌 bin 버전으로 받는다.

 ------------------------------------------------
 Java SE Development Kit 6u10
 jdk-6u10-linux-i586.bin  76.29 MB 
 ------------------------------------------------


2. 다운받은 파일을 실행 파일 모드로 변경하기
 chmod 755 jdk-6u10-linux-i586.bin


3. 실행, yes 동의한다.
 ./jdk-6u10-linux-i586.bin
 압축이 풀리면 jdk1.6.0_10 디렉토리가 생성된다.


4. 짧은 이름으로 심벌릭 링크를 걸어준다.

 ln -s jdk1.6.0_10/ java6

 [root@localhost local]# ls
 bin  etc  games  include  java6  jdk1.6.0_10  lib  libexec  sbin  share  src

5. 홈 디렉토리로 이동하여 .bash_profile 설정 파일을 편집한다.


 vi .bash_profile

 #-------------------
 # JAVA Setting
 #--------------------
 JAVA_HOME=/usr/local/java6
 CLASS_PATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$JAVA_HOME/jre/ext:
 PATH=$PATH:$JAVA_HOME/bin/:.:
 export JAVA_HOME
 export CLASS_PATH
 export PATH
 unset USERNAME


6. 새로 로그인을 해주면 설정된 값이 적용된다. 바로 임시로 적용하고 싶다면 
 . .bash_profile


7. /etc/skel (새 계정 생성시 디폴트 설정)

 cd /etc/skel/
 ls -a
 .  ..  .bash_logout  .bash_profile  bash_profile  .bashrc  .gnome2  .mozilla
 에서
 .bash_profile 파일을 위처럼 다시 편집한다.

조회 수 :
38277
등록일 :
2013.04.08
10:01:41 (*.160.42.88)
엮인글 :
http://www.webs.co.kr/index.php?document_srl=19804&act=trackback&key=a9a
게시글 주소 :
http://www.webs.co.kr/index.php?document_srl=19804
List of Articles