database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
ㆍPostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
PostgreSQL Q&A 6658 게시물 읽기
No. 6658
PostgreSQL 8.1.3 을 리눅스에 설치후 윈도우에서 접근
작성자
권용재(amadeusj)
작성일
2006-05-03 15:12
조회수
3,440

PostgreSQL 8.1.3 을 리눅스에 다음과 같은 방법으로 설치 했습니다

그리고 윈도우 클라이언트로 ODBC 로 연결을 하려하는데 연결에러가 나네요..

무엇인가 빠진거 같은데요

무엇을 추가하면되죠?

 


풀기
[root@localhost src]# tar -xvzf postgresql-base-8.1.3.tar.gz

 

컴파일
[root@localhost src]# ./configure --enable-multibyte --enable-locale \
> --enable-nls=ko --with-CXX --enable-odbc

 

설치
make INSTALL

 

사용자추가
[root@localhost src]# adduser postgres
[root@localhost src]# passwd postgres
Changing password for user postgres
New UNIX password:

 

디렉토리생성 / 권한부여
[root@localhost src]# mkdir /usr/local/pgsql/data
[root@localhost src]# chown postgres.postgres /usr/local/pgsql/data
[root@localhost src]# chmod 700 /usr/local/pgsql/data

 

사용자변환
[root@localhost src]# su - postgres

 

DB 시작
Initdb ?D /usr/local/pgsql/data
/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start

 

 

이 글에 대한 댓글이 총 1건 있습니다.

자답 :

=> pg_hba.conf
# TYPE  DATABASE    USER        IP-ADDRESS    IP-MASK             METHOD
host    all         all         127.0.0.1     255.255.255.255     trust   

=> postgresql.conf
listen_addresses = '*'
port = 5432

 

를 추가하니까 되네여~

권용재(amadeusj)님이 2006-05-03 16:33에 작성한 댓글입니다.
[Top]
No.
제목
작성자
작성일
조회
6664postmaster 실행시 "global/pg_control"에 퍼미션이 엄다고 나오네요 [1]
불량학상
2006-05-06
3893
6660gforge 설치 설명서 가지고 계신분.. [1]
이현석
2006-05-03
2537
6659PostgreSQL 8.1.3 프로시져 질문입니다 [7]
권용재
2006-05-03
3594
6658PostgreSQL 8.1.3 을 리눅스에 설치후 윈도우에서 접근 [1]
권용재
2006-05-03
3440
6657postgres 다운받는곳 아시는분.. [1]
이현석
2006-05-03
2556
6655An error occured in the logger.ERROR: relation "activity_log" does not exist [1]
박진석
2006-05-02
3142
6654유닉스 타임 [3]
김명범
2006-05-02
2961
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.016초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다