ラベル archive の投稿を表示しています。 すべての投稿を表示
ラベル archive の投稿を表示しています。 すべての投稿を表示

2012年9月25日火曜日

subversion (install)

yum install subversion

CentOS 5.8

phpPgAdmin (install)

for ASTRO-H archive

http://phppgadmin.sourceforge.net

http://forum.tsukaeru.net/viewtopic.php?t=4376&sid=5abf3a09cfb23ea6ade77a9917f25b4d

CenOS 5.8
yum install phpPgAdmin


2012年9月7日金曜日

install PostgreSQL 9.1 on CentOS 5


2012-09-07
book: PostgreSQL 徹底入門 p.26
にしたがって,install

OS: CentOS5.8

(1) Yum の設定
see
http://yum.postgresql.org/howtoyum.php/
http://yum.postgresql.org/repopackages.php

# wget pgdg-centos91-9.1-4.noarch.rpm
# rpm -ivh pgdg-centos91-9.1-4.noarch.rpm

PostgreSQL-RPM-Installation-PGDG.pdf
"Installing PostgreSQL on Red Hat Enterprise Linux / Fedora Core"
Last Update: Mon Sep 03, 2007

# cd /etc/yum.repos.d
< exclude=postgresql*
28d26
< exclude=postgresql*

# yum -y install 'postgresql91*'

bash-3.2$ cat .bash_profile
[ -f /etc/profile ] && source /etc/profile
PGDATA=/var/lib/pgsql/9.1/data
export PGDATA

PATH=/usr/pgsql-9.1/bin/:$PATH
MANPATH=/usr/pgsql-9.1/share/man/:$MANPATH

----------------------------
ls /usr/share/doc/postgresql91-docs-9.1.5/
html  Makefile  postgresql-9.1-A4.pdf  sgml  tutorial

----------------------------
* DBクラスタの作成
bash-3.2$ initdb -E UTF8 --no-locale
----------------------------         
* DB serverの起動
bash-3.2$ pg_ctl -l logfile start
server starting
----------------------------   
* DBの操作のテスト
bash-3.2$ createdb mydb
bash-3.2$ psql -l

(see 201209-install.txt )

2012年9月6日木曜日

install postgresql-9.1 on Mac OS X 10.6

2012-09-06
install postgreSQL 9.1 on Mac OS X

(1) create UNIX user postgres
as a normal account
 installする前に,'postgres'を作っておかないとうまくいかない。

(2) fink install postgresql91

(3) chmod 700 /sw/var/postgresql-9.1/data
これをやる前には,以下のerrorが出た。
bash-3.2$ FATAL:  data directory "/sw/var/postgresql-9.1/data" has group or world access
DETAIL:  Permissions should be u=rwx (0700).

(4) start DB
pg_ctl start -D /sw/var/postgresql-9.1/data









http://www.postgresql.jp/document/9.1/html/index.html