노출되는 이미지가 불편하시겠지만 양해를 구합니다. 노출, 클릭등에 관한 자료로 활용 중입니다.


postgres 설치하기 ( in CentOS )

 

 

 

 

PostgreSQL 설치와 DB 만들기

 

1. yum을 이용한 PostgreSQL 설치

>yum install postgreql-server 

2. 계정 확인

3. 데이터베이스 생성 경로 지정

4. initdb 실행

5. PostgreSQL 서버 실행

6. 사용자 DB 생성

 

 

 

 

CetnOS 7.0에서 PostgreSQL 외부 접속 허용하기


1. Password 설정하기


2. 외부접속 허용 설정하기


3. 방화벽 끄기

 

http://m.blog.naver.com/ships95/220237438650

 

 

 

 

 

일반 사용자 계정에 admin권한 부여하기


>sudo usermod -a -G sugo postgres 


http://askubuntu.com/questions/371832/how-can-run-sudo-commands-inside-another-user-or-grant-a-user-the-same-privileg

 

http://unix.stackexchange.com/questions/179954/username-is-not-in-the-sudoers-file-this-incident-will-be-reported



PostgreSQL 9.0 startup script for /etc/init.d


http://www.manniwood.com/2005_01_01/postgresql_startup_script_for_etcinitd.html



>postgresql start


블로그 이미지

StartGuide

I want to share the basic to programming of each category and how to solve the error. This basic instruction can be extended further. And I have been worked in southeast Asia more than 3 years. And I want to have the chance to work another country.

,