문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 다음 판 | 이전 판 | ||
| dbms:pgsql:install [2008/01/24 08:51] – 새로 만듬 starlits | dbms:pgsql:install [2025/10/03 22:30] (현재) – 바깥 편집 127.0.0.1 | ||
|---|---|---|---|
| 줄 1: | 줄 1: | ||
| ===== PostgreSQL Installation ===== | ===== PostgreSQL Installation ===== | ||
| - | ==== Installation | + | |
| - | < | + | |
| + | ==== Install | ||
| + | - 데뱐리눅스에 패키지를 설치해 보자. | ||
| # apt-get install postgresql postgresql-client postgresql-dev libpg-perl libdbd-pg-perl | # apt-get install postgresql postgresql-client postgresql-dev libpg-perl libdbd-pg-perl | ||
| </ | </ | ||
| - | ==== Installation | + | |
| - | < | + | ==== Install |
| - | # apt-get install postgresql-8.1 postgresql-client-8.1 postgresql-client-common postgresql-common postgresql-server-dev-8.1 postgresql-contrib-8.1 postgresql-plperl-8.1 postgresql-plpython-8.1 | + | - 우분투 리눅스에 패키지로 설치해 보자. |
| + | # apt-get install postgresql-8.1 postgresql-client-8.1 postgresql-client-common postgresql-common | ||
| + | | ||
| </ | </ | ||
| 줄 26: | 줄 30: | ||
| - | ===== 계정으로 로그인할 수 있도록 연결설정 | + | |
| - | < | + | ===== 권한설정 ===== |
| + | - 계정으로 로그인할 수 있도록 연결설정 < | ||
| # su - | # su - | ||
| # cd / | # cd / | ||
| 줄 38: | 줄 43: | ||
| # psql -d 디비이름 -U 아이디 -W | # psql -d 디비이름 -U 아이디 -W | ||
| </ | </ | ||
| + | |||
| ===== DB List 보기 ===== | ===== DB List 보기 ===== | ||
| - | < | + | - 데이타베이스 리스트를 확인한다. |
| # psql -U postgres -l | # psql -U postgres -l | ||
| List of databases | List of databases | ||