Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
6da05a7b
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6da05a7b
编写于
4月 12, 1997
作者:
M
Marc G. Fournier
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Major cleanup of Install instructions
Provided by: adrian@waltham.harvard.net
上级
1e9b80a2
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
56 addition
and
53 deletion
+56
-53
INSTALL
INSTALL
+56
-53
未找到文件。
INSTALL
浏览文件 @
6da05a7b
...
...
@@ -2,7 +2,7 @@ POSTGRESQL INSTALLATION INSTRUCTIONS
Copyright (c) 1996 Regents of the University of California
This directory contains the source and documentation for PostgreSQL
(version 6.
0
) PostgreSQL is a derivative of POSTGRES 4.2 (the last
(version 6.
1
) PostgreSQL is a derivative of POSTGRES 4.2 (the last
release of the UC Berkeley research project). For copyright terms for
PostgreSQL, please see the file named COPYRIGHT. This version was
developed by a team of developers on the postgres developers mailing
...
...
@@ -45,9 +45,9 @@ MIGRATING FROM POSTGRES VERSION 1.*
-----------------------------------
People migrating data from earlier releases must dump the data under
1.09 and reload them under 6.
0
. The pg_dump utility is designed to do
1.09 and reload them under 6.
1
. The pg_dump utility is designed to do
this. It is important you use 1.09 because earlier releases may not
have the proper copy format to load into the 6.
0
database.
have the proper copy format to load into the 6.
1
database.
INSTALLING POSTGRESQL
---------------------
...
...
@@ -85,55 +85,60 @@ To install PostgreSQL on UNIX platforms:
install to the location of this program. (eg. bsdinst, which comes
with the MIT X Window System distribution)
Customization can be done by editing src/Makefile.global. You may change
the various configuration options here, such as where the PostgreSQL
executable files are installed and where postgres looks for the database
directory.
In the simplest version, you can just do the following:
PostgreSQL V6.0 also supports src/Makefile.custom. This is not supplied
with the distribution, but may be created to contain only the options
you wish to change in src/Makefile.global. This has the advantage that
it will not be overwritten when you install a new version of PostgreSQL
over the top of your current installation.
% cd src
% ./configure
The configuration switches are fairly self-explanatory, but we
will go over some of the more commonly-changed options:
The configure program will list the template files available and ask
you to choose one. A lot of times, an appropriate template file is
chosen for you, and you can just press Enter to accept the default. If
the default is not appropriate, then type in the appropriate template
file and press Enter. (If you do this, then send email to scrappy@hub.org
stating the output of the program './config.guess' and what the template
file should be.)
- PORTNAME specifies the platform on which PostgreSQL is being built.
This is set to UNDEFINED. You will need to change it to reflect
your platform. (sparc for SunOS 4.1.x, sparc_solaris for Solari
s
2.4, ultrix4 for Ultrix 4.4, and hpux for HP-UX 9.0, etc.)
Once you have entered the template file, you will be asked a number of
questions about your particular configuration. These can be skipped by
adding parameters to the configure command above. The following parameter
s
can be tagged onto the end of the configure command:
- SRCDIR specifies where the source files are located. (defaults to
$(POSTGRESDIR)/src.)
--prefix=BASEDIR Selects a different base directory for the installation
of the PostgreSQL configuration. The default is
/usr/local/pgsql
- POSTGRESDIR specifies the top-level directory where PostgreSQL
binaries, header files, libraries, and databases are installed.
--enable-hba Enables Host Based Authentication
- USE_READLINE specifies whether you want to use the GNU readline and
history libraries for the psql interactive frontend program. GNU
readline is not supplied with PostgreSQL and can be found in the
usual ftp sites for GNU software.
--disable-hba Disables Host Based Authentication
In the simplest case, you would create src/Makefile.custom containing
just the line:
--enable-locale Enables USE_LOCALE
PORTNAME= portname
--disable-locale Disables USE_LOCALE
(where you replace portname with the name of the system you are using).
--with-template=TEMPLATE
Use template file TEMPLATE - the template files are
assumed to be in the directory src/template, so look
there for proper values. (If the configure script
cannot find the specified template file, it will ask
you for one).
Even easier is to enter the src directory and run the customize shell
script which will prompt you with various questions and create
Makefile.custom for you:
--with-pgport=PORT Sets the port that the postmaster process listens
for incoming connections on. The default for this
is port 5432.
% cd src
% customize
As an example, here is the configure script I use on a Sparc
Solaris 2.5 system with /opt/postgres being the install base.
% ./configure --prefix=/opt/postgres
--with-template=sparc_solaris-gcc --with-pgport=5432
--enable-hba --disable-locale
After editing src/Makefile.global or src/Makefile.custom, you are ready
to compile PostgreSQL (it takes about 10 minutes on a 133Mhz Pentium
running linux):
Of course, in a real shell, you would type these three lines all on the
same line.
After configure has completed running, you can make the binaries. We use
'gmake' to mean GNU make.
% cd src ( if you're not already there )
% gmake
The gmake ultimately issues the message "All of PostgreSQL is
...
...
@@ -331,5 +336,3 @@ NeXT:
a product so contact him for information. He has also indicated that
binary releases of PostgreSQL for NEXTSTEP will be made available to
the general public. Contact Info@RnA.nl for information.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录