读书人

CentOS 上 Postgresql 装配

发布时间: 2013-07-11 15:38:46 作者: rapoo

CentOS 上 Postgresql 安装
■ 必要なツルのとインストル

① GNU makeの

[root@censtos5 gcc]# gmake --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
これはフリソフトウェアです. 利用についてはソスを
ごください.
商性や特定の目的への合性の如何にわらず, 保です.

This program built for i686-redhat-linux-gnu
[root@censtos5 gcc]#


② ISO/ANSI Cコンパイル(使用GCC)

[root@censtos5 gcc]# gcc --version
-bash: gcc: command not found
[root@censtos5 gcc]#

→Gcc安装
-rw-r--r-- 1 root root 5449366 7月 6 20:56 gcc-4.1.2-52.el5.i386.rpm
-rw-r--r-- 1 root root 2148054 7月 6 20:57 glibc-devel-2.5-81.i386.rpm
-rw-r--r-- 1 root root 620228 7月 6 20:58 glibc-headers-2.5-81.i386.rpm
-rw-r--r-- 1 root root 1395247 7月 6 20:58 kernel-headers-2.6.18-308.el5.i386.rpm
-rw-r--r-- 1 root root 3544387 7月 6 21:01 gcc-c++-4.1.2-52.el5.i386.rpm
-rw-r--r-- 1 root root 2963572 7月 6 21:02 libstdc++-devel-4.1.2-52.el5.i386.rpm
[root@censtos5 gcc]#

上面安装包从安装盘里找到。安装
安装命令是:rpm -ivh *.rpm

→再确认安装是否成功
[root@censtos5 gcc]# gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-52)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


■ 共有メモリの定


■ アカウントの作成


■ PostgresSQLのインストル

读书人网 >操作系统

热点推荐