Changes between Version 6 and Version 7 of oid/WorkLog/08-10-15


Ignore:
Timestamp:
Oct 15, 2008, 4:24:39 AM (16 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • oid/WorkLog/08-10-15

    v6 v7  
    4242}}}
    4343 * 把 PostgreSQL 資料庫 dump 出來
    44    * 先查詢 PostgreSQL 版本: 7.3.21
    45 {{{
    46 [root@ncor root]# yum list
    47 ...略...
    48 rh-postgresql                       i386   7.3.21-1                 update
    49 rh-postgresql-contrib               i386   7.3.21-1                 update
    50 rh-postgresql-devel                 i386   7.3.21-1                 update
    51 rh-postgresql-docs                  i386   7.3.21-1                 update
    52 rh-postgresql-jdbc                  i386   7.3.21-1                 update
    53 rh-postgresql-libs                  i386   7.3.21-1                 update
    54 rh-postgresql-pl                    i386   7.3.21-1                 update
    55 rh-postgresql-python                i386   7.3.21-1                 update
    56 rh-postgresql-server                i386   7.3.21-1                 update
    57 rh-postgresql-tcl                   i386   7.3.21-1                 update
    58 rh-postgresql-test                  i386   7.3.21-1                 update
    59 }}}
     44   * 先查詢 PostgreSQL 版本: 8.0.3
    6045   * [參考] [http://www.postgresql.org/docs/7.3/static/app-pg-dumpall.html PostgreSQL 7.3.21 Documentation pg_dumpall]
    6146   * [參考] [http://twpug.net/docs/postgresql-doc-8.0-zh_TW/backup.html PostgreSQL 8.0.0 中文文件 Chapter 22. 備份和恢復]
     47{{{
     48# 只看到有安裝 PostgreSQL 的 JDBC 套件,卻沒看到 PostgreSQL Server 套件
     49[odb@ncor odb]$ rpm -qa | grep sql
     50libdbi-dbd-mysql-0.6.5-5
     51rh-postgresql-libs-7.3.9-2
     52mysql-3.23.58-16.RHEL3.1
     53php-mysql-4.3.2-23.ent
     54mysql-devel-3.23.58-16.RHEL3.1
     55mod_auth_mysql-20030510-2.ent
     56postgresql-jdbc-8.0.3-1PGDG
     57mysql-server-3.23.58-16.RHEL3.1
     58mysql-bench-3.23.58-16.RHEL3.1
     59# 從目前執行中的 process 知道安裝在 /usr/local/pgsql 底下
     60[odb@ncor odb]$ ps aux
     61postgres  2643  0.0  0.1 17864 1708 ?        S    Sep26   0:00 /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data
     62# 從 /usr/local/pgsql/doc/index.html 可以得知版本為 8.0.3
     63}}}
     64
     65== 備忘 ==
     66
     67 * [http://www.xspace.idv.tw/bo_blog/read.php?16 常用 rpm 與 dpkg 指令對照]