第一章 引言
此文档主要描述Postgre数据库,基于Red Hat Enterprise Linux Server release 6.5 的操作系统上安装Postgre数据库的文档衍生而来。此文档包括Postgre数据库的多种安装方式。
1.1 背景
本文档介绍Postgre 数据库基于linux 6.5平台的三种安装方式。
第二章 部署前规划
在部署系统之前,需要对安装存储位置这两方面进行规划。下面分别描述了存储进行规划时,需要注意的地方。
2.1 环境规划
本次环境规划包括postgres用户的家目录,软件安装目录,及数据库目录三大部分。
目录名称 |
存放位置 |
Postgres用户家目录 |
/home/postgres |
软件存放目录 |
/opt/soft |
安装目录 |
/usr/local/ |
数据目录 |
/monchickey/pg_data |
2.2 软件功能
PostgreSQL is an object-relational database management system (ORDBMS) based on POSTGRES.
PostgreSQL is an open-source descendant of this original Berkeley code. It supports a large part of the SQL standard and offers many modern features:
complex queries
foreign keys
triggers
updatable views
transactional integrity
multiversion concurrency control
Also, PostgreSQL can be extended by the user in many ways, for example by adding new data types
functions
operators
aggregate functions
index methods
procedural languages
2.3 文档及下载介绍
下面列出了本次实施Postgre可供参考的文档,及软件包的下载路径。
安装方式 |
安装包名称 |
下载地址 |
tar.gz文件解压直接安装 |
postgresql-10.7-2-linux-x64-binaries.tar.gz |
https://www.enterprisedb.com/download-postgresql-binaries |
编译安装 |
postgresql-11.0.tar.bz2 |
http://ftp.postgresql.org/pub/source |
Rpm包安装 |
postgresql-server |
http://yum.postgresql.org https://download.postgresql.org
|
postgresql-contrib |
||
postgresql |
||
postgresql-libs |
||