문서의 선택한 두 판 사이의 차이를 보여줍니다.
다음 판 | 이전 판 마지막 판 양쪽 다음 판 | ||
dbms:pgsql:install [2008/01/24 08:51] starlits 새로 만듬 |
dbms:pgsql:install [2008/01/24 08:54] starlits |
||
---|---|---|---|
줄 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 postgresql-server-dev-8.1 postgresql-contrib-8.1 postgresql-plperl-8.1 postgresql-plpython-8.1 | ||
</ | </ | ||
줄 26: | 줄 29: | ||
- | ===== 계정으로 로그인할 수 있도록 연결설정 | + | |
- | < | + | ===== 권한설정 ===== |
+ | - 계정으로 로그인할 수 있도록 연결설정 < | ||
# su - | # su - | ||
# cd / | # cd / | ||
줄 38: | 줄 42: | ||
# 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 |