Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
/
PostgreSQL에 WASup 연결하기
PostgreSQL에 WASup 연결하기
Jul 08, 2020
중요
원격 PostgreSQL 서버로 연결해야하는 경우 사전에 data/postgresql.conf 와 data/pg_hba.conf 파일을 설정하여 WASup Manager의 IP 주소로 TCP 연결이 가능하도록 설정해야 한다.
Create User
WASup Manager에서 접속하려는 데이터베이스 사용자를 생성한다 (예. wasup). 아래 두 가지 방법 중 하나를 선택한다.
]$ sudo -i -u postgres psql
postgres=# CREATE USER wasup WITH ENCRYPTED PASSWORD '<PASSWORD>';
]$ sudo su - postgres
-bash-4.2$ createuser --interactive --pwprompt
Enter name of role to add: wasup
Enter password for new role: <PASSWORD>
Enter it again: <PASSWORD>
Shall the new role be a superuser? (y/n) y
Create Database
WASup Manager가 데이터를 저장하기 위한 데이터베이스를 생성한다 (예. wasupdb). 아래 두 가지 방법 중 하나를 선택한다.