Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

27.1. Install PostgreSQL

These installation instructions assume

  • Commands are Unix-compatible.

  • The source path is /var/tmp, other paths are possible.

  • Installations were tested on Red Hat Linux 6.1 and 6.2.

  • All steps in the installation will happen in super-user account root.

  • PostgreSQL version number is 6.5.3

These are the Package(s) and available here:

PostgreSQL Homepage: https://www.postgresql.org/
PostgreSQL FTP Site:216.126.84.28
You must be sure to download: postgresql-6.5.3.tar.gz

There are certain prerequisites before compiling the PostgreSQL program, you must verify that egcs-c++-version.i386.rpm package is installed on your system. The egcs-c++-version.i386.rpm package is located in you Red Hat Linux CD-ROM under RedHat/RPMS subdirectory. After compilation and installation of PostgreSQL you can remove this package from your system. To verify that egcs-c++-version.i386.rpm is already installed, use the following command:
                 [root@deep] /# rpm -q egcs-c++
               
To install egcs-c++-version.i386.rpm, use the following command:
                 [root@deep] /# mount /dev/cdrom /mnt/cdrom
                 [root@deep] /# cd /mnt/cdrom/RedHat/RPMS
                 [root@deep ]/RPMS# rpm -Uvh egcs-c++-version.i386.rpm
               

                 egcs-c++                    ##################################################
               

Before you decompress the tarballs, it is a good idea to make a list of files on the system before you install it, and one afterwards, and then compare them using diff to find out what file it placed where. Simply run find /* > PostgreSQL1 before and find /* > PostgreSQL2 after you install the tarball, and use diff PostgreSQL1 PostgreSQL2 > PostgreSQL-Installed to get a list of what changed.

To Compile you need to decompress the tarball -tar.gz:
                 [root@deep] /# cp postgresql-version.tar.gz /var/tmp
                 [root@deep] /# cd /var/tmp
                 [root@deep ]/tmp# tar xzpf postgresql-version.tar.gz
               

 
 
  Published under the terms of the Open Publication License Design by Interspire