* apt-get을 이용한 우분투 기본 설치를 기준 1. 설치# apt-get install postgresql 2. 기본계정인 postgres가 생성되므로 로그인 후 패스워드 설정# su - postgres$ psqlpostgres=# ALTER USER postgres PASSWORD '[변경할 비번]';postgres=# \q 3. root로 변경 후 접속 설정 # sudo su# vi /etc/postgresql/9.3/main/pg_hba.conf- 아래문구에서 peer를 md5로 변경"local all postgres md5"# service postgresql restart - 원격 DB접속시 설정 변경# vi /etc/postgresql/9.3/main/postgresql.conf- 주석 ..