EnterpriseDB: The Enterprise Postgres Company Postgres Plus Forums: The PostgreSQL Open Source Database from EnterpriseDB
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 

Create a self contained postgres distribution  XML

Forum Index » PostgreSQL Installers for Windows, Linux and OS X
Author Message
hagzag

New member

Joined: 13 May 2012 13:34:32
Messages: 2
Offline

What I am trying to achieve is creating a zip / tar.gz file with potgresql with all its inter-dependencies and then at buidl time download and extract the zip / tar.gz
[running as the user which instantiated the build], start the server, set up a user, pass & database, run my tests, stop the server then remove the installation.

The problem I am facing is running the installer does some fancy stuff I don't need [or want scattered around my system] for example the /etc/init.d scripts I don't need or want left over, the /etc/postgres-reg.ini I dont need or want.

I also found that dusinr installation via installer whilst executing ./postgresql-9.1.3-1-linux-x64.run --mode=unattended --optionfile
where the option file has the following entries:
debuglevel=4
installer-language=en
servicename=postgres-9.1
serviceaccount=myuser
create_shortcuts=0
prefix=mydir
datadir=mydatadir
superpassword=manager
serverport=5432

Have you any recommendations how to go about and do the above.

Thanks
Dave_P

Senior member
[Avatar]

Joined: 26 Sep 2005 12:09:59
Messages: 158
Offline

hagzag wrote:What I am trying to achieve is creating a zip / tar.gz file with potgresql with all its inter-dependencies and then at buidl time download and extract the zip / tar.gz
[running as the user which instantiated the build], start the server, set up a user, pass & database, run my tests, stop the server then remove the installation.


Hi

We offer plain tarballs/zip files of the binaries as well as the installers: http://www.enterprisedb.com/products-services-training/pgbindownload

Regards, Dave.
hagzag

New member

Joined: 13 May 2012 13:34:32
Messages: 2
Offline

Thanks a lot, saved me a lot of trouble with this one.
 
Forum Index » PostgreSQL Installers for Windows, Linux and OS X
Go to:   
Powered by JForum 2.1.8 © JForum Team