Information Technology/Operation System

BackTrack5 R2(R3) + postgresql

2012. 9. 2. 22:41

postgresql 설치

기본적으로 repository의 postgresql은 8.4버전으로 설치가 된다.

apt-get install postgresql

postgresql GUI 프로그램 설치

apt-get install pgadmin3

설치가 거부 된 경우 apt-get update로 저장소들을 활성화 시켜준다.

pgadmin3로 DB로 접근

Name은 Default로 postgres이며, Host는 localhost로 설정한다.

Password는 설정한 기억이 없으므로 비워둔다.

그러면 다음과 같은 오류가 나온다.

패스워드를 설정하지 않아서 나오는 문제이다.

command로 password를 설정한다.

su postgres -c psql
could not change directory to "/root"
psql (8.4.13)
Type "help" for help.

postgres=# \password
Enter new password:
Enter it again:
postgres=# \q
could not save history to file "/home/postgres/.psql_history": No such file or directory

password 설정이 끝났으면 pgadmin3로 다시 접근하면 접근이 된다.

위에 나타나는 오류는 히스토리파일이 설정이 되어 있지 않아 생기는 오류이다.

반응형
저작자표시 비영리 동일조건 (새창열림)

'Information Technology > Operation System' 카테고리의 다른 글

How to install Kali Linux on Virtualbox Guest Additions  (2) 2013.03.15
BackTrack5 Reborn Kali Linux 간략정리  (0) 2013.03.14
구버전 배포하는 사이트  (0) 2012.11.21
BackTrack R2 5 sources.list 수정하여 최신패치 적용  (1) 2012.08.13
BackTrack R2 5에 VirtualBox 설치  (1) 2012.08.12
'Information Technology/Operation System' 카테고리의 다른 글
  • BackTrack5 Reborn Kali Linux 간략정리
  • 구버전 배포하는 사이트
  • BackTrack R2 5 sources.list 수정하여 최신패치 적용
  • BackTrack R2 5에 VirtualBox 설치
hakawati
hakawati
Research Engineer

블로그 메뉴

  • 홈
  • 방명록
  • 블로그 관리
hakawati
Hakawati Security Lab
hakawati
전체
오늘
어제

공지사항

  • About Me
  • Hakawati Lab (252)
    • Notice (7)
      • Main (4)
      • Sub Notice (1)
      • Tips (2)
    • Information Technology (58)
      • System Architecture (2)
      • Programming (20)
      • Operation System (16)
      • Machine Learning (5)
      • Bigdata (2)
      • File Format (7)
      • Network (2)
      • Cloud (3)
      • Domain (1)
    • Information Security (183)
      • Security Information (36)
      • CTI & Threat Hunting (1)
      • Digital Forensics (1)
      • Licenses (2)
      • Malware (40)
      • OpenSource (53)
      • Incident Response (1)
      • Seminar (8)
      • Cryptography (2)
      • Books (11)
      • Vulnerability (4)
      • Web Hacking (8)
      • Wargame (10)
      • Abuse & Fraud (6)
    • Life Hacking (3)
      • Term Idea (0)
      • Books (3)
      • Travels (0)
      • Activities (0)
      • Workout (0)

인기 글

태그

  • cloudflare
  • Amazon
  • AWS
  • CWE
  • instance
  • NIST
  • EC2
  • 서브도메인
  • domain
  • 줄리엣
  • 도메인
  • cloud
  • Macie
  • juliet
  • security
  • WWW
  • sub-domain

최근 댓글

최근 글

hELLO · Designed By 정상우.
hakawati
BackTrack5 R2(R3) + postgresql
상단으로

티스토리툴바

개인정보

  • 티스토리 홈
  • 포럼
  • 로그인

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.