Dec 01 2009

Windos XP에서 APM 설치하기

분류: Apache2, Desktop, PHP, mysql최 태현 @ 10:22 오전

1. Apache, MySQL, PHP 설치하기

1. Apache 설치하기

  • 윈도우용 Apache Download ( 저는 apache_2.2.14-win32-x86-openssl-0.9.8k.msi 를 받았습니다. )
  • Run the Apache Installer
Server Information 설정화면

Continue reading “Windos XP에서 APM 설치하기”

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


Jun 11 2009

Tora With Oracle, MySQL

분류: Database, Desktop, How to최 태현 @ 9:54 오후

The “tora” database client package in Feisty Fawn comes with Postgres support, and MySQL if you have the libraries. This How-To shows you how to build Oracle Instantclient 10g support into tora.

This is client only. You will not install the whole Oracle database.

BTW, if you don’t have time to build the whole thing, here is the .deb package I built using this How-To. It’s x386 only, and you’ll need to have instantclient installed before you can use it.

tora_1.3.22-5_i386.deb is an updated .deb package for instantclient 11.1.0.1 and tora 1.3.22.

Continue reading “Tora With Oracle, MySQL”

Tags: , ,


Jun 11 2009

PHP + OCI8 설치

분류: Apache2, Desktop, How to, Web Server최 태현 @ 7:43 오후

도서관리시스템(KOLAS)이 오라클 DB를 사용해서 홈페이지 개발시 oracle instant client를 설치 했습니다.

  • $ sudo apt-get install build-essential php5-dev php-pear alien
  • Oracle 에서 Instant client 프로그램(instantclient-basic, instantclient-SDK)를 다운받는다. deb 파일 전환을 위해 rpm 파일을 다운받는다.
  • $ sudo alien -k oracle-instantclient-basic-10.2.0.4-1.i386.rpm
  • $ sudo alien -k oracle-instantclient-devel-10.2.0.4-1.i386.rpm
  • $ sudo dpkg -i oracle-instantclient-basic_10.2.0.4-1_i386.deb
  • $ sudo dpkg -i oracle-instantclient-devel_10.2.0.4-1_i386.deb
  • $ sudo pecl install oci8 ; pecl로 php rebuild

Continue reading “PHP + OCI8 설치”

Tags: , ,


Jun 08 2009

Ubuntu Desktop에서 Eclipse를 활용한 개발환경 구성하기(3)

분류: Desktop, Ubuntu최 태현 @ 10:42 오전

이번에는 Eclipse PDT 환경에 Zend Debuger를 설치해 보겠습니다. 먼저 eclipse를 구동하고

  • Eclipse를 구동시켜서 Help → Software Updates를 선택한다.
  • Available Software“  탭을 click하고, “Add Site” button을 click 한다음에 주소창에 http://downloads.zend.com/pdt 를 입력한다.
  • Zend Studio Update Site → Zend Debugger on the Feature 를 선택후 설치한다.

Continue reading “Ubuntu Desktop에서 Eclipse를 활용한 개발환경 구성하기(3)”

Tags: , ,


Jun 07 2009

Ubuntu Desktop에서 Eclipse를 활용한 개발환경 구성하기(2)

분류: Desktop, Eclipse, How to최 태현 @ 5:21 오후

메뉴만들기

sudo gedit /usr/share/applications/eclipse.desktop

With this contents

[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse IDE
Exec=eclipse
Icon=eclipse
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true

After executing this command, you can run from the menu item
applications/programming/eclipse

http://www.hui-wang.info/?p=117

Tags: ,


Jun 04 2009

Ubuntu Desktop에서 Eclipse를 활용한 개발환경 구성하기(1)

분류: Desktop, Eclipse, How to최 태현 @ 6:54 오후

한밭도서관 홈페이지 개발사업 완료후 개발된 내용을 확인하고 마음에 들지 않는 부분을 고치기 위해서 작업를 시작했습니다.

그런데 일일히 프로그램을 찾아가면서 수정하는게 귀챦고 수정되는 내용을 관리하기 위해서 공통개발작업 환경구축과 Eclipse를 사용해보기로 맘 먹었습니다. 즉 Eclipse에서 프로그램 수정과 버젼관리를 동시에 수행하는게 목적입니다.

우선 CDE 구성을 위해 Trac과 Subversion을 설치하고 프로그램 소스를 정리했습니다. (여기를 참조하세요)

다음엔 리눅스 데스크탑(Ubuntu Desktop 9.04)에 Eclipse를 구성하기 시작했습니다.

Continue reading “Ubuntu Desktop에서 Eclipse를 활용한 개발환경 구성하기(1)”

Tags: , , , ,