Обсуждение: Installing Postgres 8.1.4 on Linux RedHat
I'm trying to install Postgres 8.1.4 server on our CentOS distribution of RedHat Linux environment.
I have 2 choices
1. Build it ground up from the source code (from http://www.postgresql.org/ftp/source/v8.1.4/)
2. Using binaries (from http://www.postgresql.org/ftp/binary/v8.1.4/linux/rpms/redhat/rhel-es-4/)
I would rather use option 2, instead of building it from the source code.
I can't download anything from http://www.postgresql.org/ftp/binary/v8.1.4/linux/rpms/redhat/rhel-es-4/, because when I go to any of the mirror sites, it just doesn't work....and all I see is some unfinished html page.
How do I install using binaries?
Thanks
Amit
The links work for me (downloading from australia 2.) Are you using a proxy server? I do at times from work, and the PG mirrors don't seem to like proxies - or my proxy doesn't like the PG mirrors which is probably closer to the point :P (the proxy server always reports an error contacting the remote site.) If you are, and can get direct connections to the Net without a proxy, add an exception for ftp://*.postgresql.org. By the way the sources don't take too long to build, and I generally prefer it for the aspect of getting more control over the build, such as location (or for linking to non-standard libraries such as OpenSSL (which is in a non-standard directory on my machine).) Andy. Amit Phatarphekar wrote: > I'm trying to install Postgres 8.1.4 server on our CentOS distribution > of RedHat Linux environment. > > I have 2 choices > 1. Build it ground up from the source code (from > http://www.postgresql.org/ftp/source/v8.1.4/) > 2. Using binaries (from > http://www.postgresql.org/ftp/binary/v8.1.4/linux/rpms/redhat/rhel-es-4/) > > I would rather use option 2, instead of building it from the source > code. > I can't download anything from > http://www.postgresql.org/ftp/binary/v8.1.4/linux/rpms/redhat/rhel-es-4/, > because when I go to any of the mirror sites, it just doesn't > work....and all I see is some unfinished html page. > > How do I install using binaries? > > Thanks > Amit > > !DSPAM:37,44e20db1143291951718672!
Amit, Installation is quite simple and straight forward. Since you will be installing binary on redhat, you will need to work with Redhat Package Manager (RPM). Just issue the command as a root user: rpm -i <file with .rpm extension> This will install the specific postgresql package which you have downloaded. To start with, you need the files postgresql-8.1.4-3PGDG.i686.rpm and postgresql-server-8.1.4-3PGDG.i686.rpm. You can download and install the rest of the packages like lib and devel as per your requirements. - Imad EnterpriseDB Corporation www.enterprisedb.com On 8/15/06, Amit Phatarphekar <amit@visionaire-us.com> wrote: > > > > I'm trying to install Postgres 8.1.4 server on our CentOS distribution of > RedHat Linux environment. > > I have 2 choices > 1. Build it ground up from the source code (from > http://www.postgresql.org/ftp/source/v8.1.4/) > 2. Using binaries (from > http://www.postgresql.org/ftp/binary/v8.1.4/linux/rpms/redhat/rhel-es-4/) > > I would rather use option 2, instead of building it from the source code. > I can't download anything from > http://www.postgresql.org/ftp/binary/v8.1.4/linux/rpms/redhat/rhel-es-4/, > because when I go to any of the mirror sites, it just doesn't work....and > all I see is some unfinished html page. > > How do I install using binaries? > > Thanks > Amit >
Amit, I can replicate the problem. Check if you have any plugins installed for your browser like real player etc. --Imad On 8/15/06, Andy Shellam <andy.shellam-lists@mailnetwork.co.uk> wrote: > The links work for me (downloading from australia 2.) > > Are you using a proxy server? I do at times from work, and the PG > mirrors don't seem to like proxies - or my proxy doesn't like the PG > mirrors which is probably closer to the point :P (the proxy server > always reports an error contacting the remote site.) > > If you are, and can get direct connections to the Net without a proxy, > add an exception for ftp://*.postgresql.org. > > By the way the sources don't take too long to build, and I generally > prefer it for the aspect of getting more control over the build, such as > location (or for linking to non-standard libraries such as OpenSSL > (which is in a non-standard directory on my machine).) > > Andy. > > Amit Phatarphekar wrote: > > I'm trying to install Postgres 8.1.4 server on our CentOS distribution > > of RedHat Linux environment. > > > > I have 2 choices > > 1. Build it ground up from the source code (from > > http://www.postgresql.org/ftp/source/v8.1.4/) > > 2. Using binaries (from > > http://www.postgresql.org/ftp/binary/v8.1.4/linux/rpms/redhat/rhel-es-4/) > > > > I would rather use option 2, instead of building it from the source > > code. > > I can't download anything from > > http://www.postgresql.org/ftp/binary/v8.1.4/linux/rpms/redhat/rhel-es-4/, > > because when I go to any of the mirror sites, it just doesn't > > work....and all I see is some unfinished html page. > > > > How do I install using binaries? > > > > Thanks > > Amit > > > > !DSPAM:37,44e20db1143291951718672! > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly >
Hello, On Tue, 2006-08-15 at 11:07 -0700, Amit Phatarphekar wrote: > I can't download anything from > http://www.postgresql.org/ftp/binary/v8.1.4/linux/rpms/redhat/rhel-es-4/, because when I go to any of the mirror sites,it just doesn't work....and all I see is some unfinished html page. Maybe a firewall issue? I had no problems downloading them now. Maybe you'd want to login a local FTP mirror directly so that you can diagnose the problem better. Regards, -- The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564 PostgreSQL Replication, Consulting, Custom Development, 24x7 support Managed Services, Shared and Dedicated Hosting Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/
Вложения
Thanks All. There was an issue with my browser :(. What a waste of time for everyone. I was able to download the rpms and install them successfully. Thanks again for all your help. -----Original Message----- From: Devrim GUNDUZ [mailto:devrim@commandprompt.com] Sent: Tuesday, August 15, 2006 12:03 PM To: Amit Phatarphekar Cc: pgsql-admin@postgresql.org Subject: Re: [ADMIN] Installing Postgres 8.1.4 on Linux RedHat Hello, On Tue, 2006-08-15 at 11:07 -0700, Amit Phatarphekar wrote: > I can't download anything from > http://www.postgresql.org/ftp/binary/v8.1.4/linux/rpms/redhat/rhel-es-4/ , because when I go to any of the mirror sites, it just doesn't work....and all I see is some unfinished html page. Maybe a firewall issue? I had no problems downloading them now. Maybe you'd want to login a local FTP mirror directly so that you can diagnose the problem better. Regards, -- The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564 PostgreSQL Replication, Consulting, Custom Development, 24x7 support Managed Services, Shared and Dedicated Hosting Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/