1. Ruby & RubyGems Download - http://rubyonrails.org/download 2. Ruby 설치 - 다운 받은 Ruby 파일을 압축 해제 - ./configure - make - make test - make install 3. RubyGem 설치 - 다운 받은 RubyGems 파일 압축 해제 - 압축이 풀린 폴더로 이동하여 ruby setup.rb 실행 - ln -s /usr/local/bin/gem /usr/bin/gem 4. RubyOnRails 설치 - gem install rails
> hdparm -tT /dev/sda /dev/sda: Timing cached reads: 20724 MB in 2.00 seconds = 10375.81 MB/sec Timing buffered disk reads: 304 MB in 3.02 seconds = 100.60 MB/sec > hdparm --help hdparm - get/set hard disk parameters - version v6.6 Usage: hdparm [options] [device] .. Options: -a get/set fs readahead -A set drive read-lookahead flag (0/1) -b get/set bus state (0 == off, 1 == on, 2 == tristate) -B..
1. samba 설치확인 > rpm -qa samba 2. yum 으로 samba 설치 > yum install -y samba 3. samba 설정 > vi /etc/samba/smb.conf 파일을 수정 # 캐릭터셋 설정 unix charset = utf-8 dos charset = utf-8 display charset = utf-8 # 워크그룹 설정 workgroup = WORKGROUP server string = Samba Server Version %v # 접속 허용 IP 설정 (192.168.0.* 허용, 123.123.123.123 허용) hosts allow = 192.168.0. 123.123.123.123 # 특정 유저 허용 security = user passdb backend =..
출처 : http://www.toyos.nl/2010/09/21/install-postgresql-9-0-on-centos-5-5/ Today PostgreSQL 9.0 was released, so it’s testing time. Here is a little howto on installing it on a CentOS 5.5 machine. First do a minimal CentOS 5.5 install. Read this. Exclude postgres from the base and updates repos: vi /etc/yum.repos.d/CentOS-Base.repo And add: exclude=postgresql* to the bottom of both sections. Get ..
Spring IDE http://dist.springframework.org/release/IDE (Core / Spring IDE, Extensions / IDE 체크) ibatis IDE http://ibatis.apache.org/tools/ibator/ SVN Plugin http://subclipse.tigris.org/update_1.6.x Google Plugin http://dl.google.com/eclipse/plugin/3.6 JD Plugin (Decompiler) http://java.decompiler.free.fr/jd-eclipse/update
참고 URL 기본 사항 - http://code.google.com/intl/ko-KR/apis/maps/documentation/javascript/basics.html 지오 코딩 - http://code.google.com/intl/ko-KR/apis/maps/documentation/javascript/services.html#GeocodingRequests 컨트롤러 및 네비게이션 - http://code.google.com/intl/ko-KR/apis/maps/documentation/javascript/controls.html 데모 (simple) 코드
HKEY_CURRENT_USER\Software\pgAdmin III\Servers
http://hc.apache.org/httpclient-3.x/index.html 위 사이트에서 관련 라이브러리를 다운 받는다. 아래는 예제 코드 이다. HttpClient client = null; PostMethod post = null; try { String url = "http://localhost/test.jsp"; client = new HttpClient(new MultiThreadedHttpConnectionManager()); post = new PostMethod(url); // timeout 설정 HttpMethodParams hmp = new HttpMethodParams(); hmp.setSoTimeout(1000*3); post.setParams(hmp); // paramet..
우선 dblink 모듈이 설치 되어 있지 않다면 http://www.postgresql.org/ftp/binary/ 또는 ftp://ftp.postgresql.org/pub/binary/ 에서 postgresql 버전 과 os에 맞는 postgresql-contrib 를 다운 받아서 설치 한다. 예를 들어 redhat 64bit 이고 postgresql 8.4.4 버전을 사용한다면 wget http://wwwmaster.postgresql.org/download/mirrors-ftp/binary/v8.4.4/linux/rpms/redhat/rhel-5-x86_64/postgresql-contrib-8.4.4-1PGDG.rhel5.x86_64.rpm 또는 wget ftp://ftp.postgresql.or..
PostgreSQL 8.0 기존 .설정파일인 postgresql.conf의 설정 설정 입니다 만들다 말다 하다보니 쩝., 8.0이 나오니 양만 늘었네요. 이리 올렸으면, 바뀌건만 하면 되는데 워낙 실력이 미천하고 독학에 되도않는 영어와 사전으로 주어들은거나 본거로 아는 범위내에서 설명을 드렸습니다. 모르는것은 찾아 해메서 이해된건만 기명했으며, 틀린내용은 당연히 듬뿍 많을것입니다. 혹여 튼린부분이 보이시면 지적해주시면 많은 도움이 될것입니다.^^ - FILE LOCATIONS - 시스템과 직접 연관된 파일들에 대한 설정 data_directory = 'ConfigDir' 실제적인 PostgreSQL의 DB Data 폴더 설정입니다. PostgreSQL 는 기본적으로 접근자 Shell의 환경변수중 PGDA..
장치, 파티션, NFS에 대한 CPU 및 I/O 상태 Linux의 경우 yum을 이용하여 설치가 가능하다. iostat는 sysstat에 포함되있기 때문에 아래와 같이 yum으로 검색하여 설치를 하자 sysstat 찾기 $yum list | grep sysstat sysstat.x86_64 7.0.4-3.fc8 installed sysstat 설치 (fedora8 64bit를 사용하므로 64bit용으로 설치) $yum install sysstat.x86_64 사용법 사용예1) # iostat Linux 2.6.23.1-42.fc8 (gorda-repl) 2008년 04월 16일 avg-cpu: %user %nice %system %iowait %steal %idle 1.79 0.00 0.13 0.61 0..
JDBC로 LargeObject를 업로드하는 코딩을 테스트하는데 500MB짜리 파일을 여러 개 올리고 지우는 테스트를 반복하다 보니, 어느새 /data의 크기가 80기가를 넘어가고 있더군요. 그래서 JDBC의 LargeObject를 지우는 API를 이용해서 파일을 지웠으나 여전히 용량을 그대로. VACUUM 이라는 기능이 있더군요. 이 기능과 관련하여 구글을 검색하다 보니 MySQL과 PostgreSQL을 비교해놓은 MySQL vs. PostgreSQL 라는 글이 있군요. 저 글이 2002년 6월에 쓰여 졌으니, 현재는 각 데이터베이스에서 어떤 기능들이 더 구현되었는지 확인해야 겠지만, 저때만 해도 PostgreSQL에는 구현되어 있으나, MySQL에는 구현되지 않은 기능들도 많이 있군요.(그러나 MyS..
나는 개발을 할때 거의 fixedsys 폰트만을 사용한다. WindowsXP 에서 eclipse를 사용할때는 Fixedsys 폰트가 잘 사용 되지만 Windows7 에서는 Fixedsys 폰트를 사용할 수 없었다. (Fixedsys가 아니면 가독성이 심하게 떨어진다 ^^;;) 그래서 찾은 것이 Fixedsys Excelsior 3.00 이었다. 요넘은 폰트 크기도 조절이 된다. (하지만 12pt에 최적화 된듯 하다.) Windows7 에서도 잘 된다. 오히려 eclipse에서는 기존 Fixedsys보다 더 좋다. (한글이 더 이쁘게 나온다 ㅋㅋ) 아래 사이트를 가보면 다운 받을 수 있다. http://www.fixedsysexcelsior.com/
- Total
- Today
- Yesterday