Nov 27 2009

Ubuntu 9.10 에서 eclipse 3.5 / Galileo / PDT 2.1 설치하기

분류: Ubuntu최 태현 @ 12:14 오전

All-In-One Package 설치

  • 기본적으로 JDK or JRE 는 설치 되어 있어야 함.
  • 압축파일을 원하는 곳에 풀고 ./eclipse 로 실행시켜본다.
  • 윈도우와 동일한 실행화면을 볼 수 있을 것이다. ( :-; 여기가 끝이 아니다 ^^;)

Eclipse 실행환경 설정

  • Eclipse 설치 디렉토리에 있는 eclipse.ini 에 다음을 추가해준다.
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vm
/opt/sun-jdk-1.6.0.02/bin/java
--> 본인이 설치한 자바 디렉토리를 설정해준다.
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=512m           ; Java heap error 발생에 따라 메모리 증가 시켜줌
-Xms40m
-Xmx512m                       ; Java heap error 발생에 따라 메모리 증가 시켜줌
  • Eclipse 에서 버튼이 눌러지지 않는 현상이 발생한다. 다음과 같이 .bashrc 에 추가시켜준다.

export GDK_NATIVE_WINDOWS=1

  • 이제 기본적인 부분이 된다.  ㅋㅋㅋㅋ
  • 근데 윈도우 XP 는 환경이 다르네요. 확인은 못했지만 다음 참조하세요

–launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
512m
--vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx1024m

Tags: ,


Nov 14 2009

Ubuntu에서 글꼴 설치하기

분류: Desktop, Ubuntu최 태현 @ 2:49 오후

1. 개인용 글꼴 설치하기

  1. ~/.fonts/ 아래에 글꼴을 설치할 디렉터리를 생성한다.
  2. 디렉터리에 글꼴 파일을 복사한다.
mkdir -p ~/.fonts/NanumFont
$ cp ~/나눔*.ttf ~/.fonts/NanumFont/
$ rm -rf ~/.fonts/NanumFont

2. 전체 사용자 사용

/usr/share/fonts/truetype 디렉터리에 글꼴 파일을 복사 후, 퍼미션을 변경하고, 글꼴 캐시를 갱신함으로써 설치할 수 있다.

  1. Alt+F2 눌러 ‘프로그램 실행’에서 gksu nautilus를 입력해 관리자 계정으로 노틸러스를 실행한다.
  2. /usr/share/fonts/truetype/ 아래에 글꼴을 설치할 디렉터리를 생성한다.
  3. 생성한 디렉터리에 글꼴 파일을 복사한다.
  4. 복사한 글꼴 파일의 퍼미션을 644로 변경한다.
  5. sudo fc-cache -f를 실행하여 글꼴 캐시를 갱신한다.

터미널에서 설치하려면, 아래 코드를 실행해 글꼴을 설치한다.

$ sudo mkdir -p /usr/share/fonts/truetype/NanumFont
$ sudo cp ~/나눔*.ttf /usr/share/fonts/truetype/NanumFont/
$ sudo chmod 644 /usr/share/fonts/truetype/NanumFont/*
$ sudo fc-cache -f

글꼴 삭제

터미널에서 아래 코드를 실행해 글꼴을 설치한 디렉터리를 삭제함으로써 삭제할 수 있다.

$ sudo rm -rf /usr/share/fonts/truetype/NanumFont


Nov 13 2009

Oracle SQL Developer 설치하기

분류: Database, How to, Ubuntu최 태현 @ 11:38 오전

Oracle SQL Developer is a free SQL development environment from Oracle. It provides a graphical tool to interact with your database. Furthermore, it is a complete standalone application thus neither SQL*Plus or Oracle Database Client software need to be installed beforehand in order to use it.

It does however, require that the Sun Java 6 JDK be installed on your system. Install it by typing:
sudo apt-get install sun-java6-jdk

Note:
You may also use OpenJDK

To obtain the installable package, navigate to Oracle’s SQL Developer download page at:
http://www.oracle.com/technology/software/products/sql/index.html

You must agree to the OTN License Agreement for SQL Developer in order to download the software. Once doing so, choose the Accept License Agreement radio button.

Scroll down and select the package entitled ‘Oracle SQL Developer RPM for Linux’ to download the package.

Note:
If you do not have an account with the Oracle Technology Network, go ahead and create one. It’s free and also required in order to download the package.

Next we will convert the .rpm to a .deb to install it in Ubuntu. We’ll do this by using an application called ‘alien’. Install it by typing:
sudo apt-get install alien

Next, navigate to where you saved the SQL Developer .rpm package and type:
sudo alien -k –scripts sqldeveloper*.rpm

This will create a .deb package ready to be installed into our system. We do so by typing:
sudo dpkg -i sqldeveloper*.deb

Oracle SQL Developer is now installed. However, in order to run it, we need to point it to the JDK. Failure to do so, will result in the following message when trying to run Oracle SQL Developer:

Oracle SQL Developer
Copyright (c) 2008, Oracle. All rights reserved.

Type the full pathname of a J2SE installation (or Ctrl-C to quit), the path will be stored in ~/.sqldeveloper/jdk

Looking at the message we can see that it’s trying to obtain the JDK path by reading a file called ‘jdk’ in a directory called ‘~/.sqldeveloper’. Let’s resolve this dependency.

First we’ll create the missing directory by typing:
mkdir -p ~/.sqldeveloper

Next we’ll create an empty jdk file by typing:
touch ~/.sqldeveloper/jdk

Edit this file and input the path to the JDK by typing:
gedit ~/.sqldeveloper/jdk
and pasting into it:
/usr/lib/jvm/java-6-sun

You may now run Oracle SQL Developer by typing:
sqldeveloper
Or by going to:
Applications > Programming > SQL Developer

You may also go ahead and delete the .rpm downloaded and subsequent .deb that was created.

Tags: , ,


Nov 06 2009

‘책 읽는 도시’ 김해의 ‘작은 도서관’ 혁명

분류: Ubuntu최 태현 @ 8:26 오후

경남 김해시에선 누구나 어디서든 책을 빌려 볼 수 있다. 버스정류장부터 아파트 관리사무소, 마을회관, 외국인근로자센터, 경찰서 유치장에 이르기까지 도시 구석구석 64곳에 작은 도서관들이 마련돼 있다. 시민들은 어느 곳에서든 책을 빼 읽거나 빌려간다. 읽고 난 뒤엔 가까운 도서관에 반납하면 된다. 4개 시립도서관과 작은 도서관들의 장서 50만권을 통합 관리하는 시스템 덕분이다. 보고 싶은 책이 집 근처 도서관에 없을 때는 인터넷으로 신청하면 택배로 보내준다. 김해시는 올해 안에 도서관 통합시스템을 대학 등으로 넓혀 모두 165만권을 시민에게 개방할 예정이라고 한다.
Continue reading “‘책 읽는 도시’ 김해의 ‘작은 도서관’ 혁명”

Tags:


Nov 06 2009

영국의 독서교육

분류: Ubuntu최 태현 @ 8:23 오후

〈영국의 독서교육〉 김은하 지음/대교·1만8000원

영국은 전체 고용인구의 80%가 서비스 산업에 종사한다. 음악·서적·영화처럼 지적재산권이 중요한 산업이나 스포츠·관광 등의 산업을 창의산업(Creative Industry)이라고 하는데, 빈약한 제조업과 천연자원을 가진 영국으로 하여금 세계 5위의 경제규모를 유지하게 해주는 일등공신이 바로 창의산업이다. 1997년 이후 10년 동안 우리나라의 주력 산업인 반도체로 벌어들인 수출 총액 231조원은, 같은 기간 조앤 캐슬린 롤링이 <해리 포터> 시리즈와 파생상품으로 벌어들인 308조원보다 적다.

Continue reading “영국의 독서교육”