|
[postgres@cntd1952 ~]$ echo 'export PATH=$PATH:/usr/local/pgsql/bin
> export POSTGRES_HOME=/usr/local/pgsql
> export PGLIB=$POSTGRES_HOME/lib
> export PGDATA=/var/lib/postgresql/data
> export MANPATH="$MANPATH":$POSTGRES_HOME/man
> export LD_LIBRARY_PATH="$LD_LIBRARY_PATH":"$PGLIB"' >> .bash_profile
[postgres@cntd1952 ~]$ . .bash_profile ← 設定した環境変数を読み込み
|
|