Unix Technical Forum

install postgres on usb drive???

This is a discussion on install postgres on usb drive??? within the Pgsql General forums, part of the PostgreSQL category; --> It is possible to install postgres on usb driver to run it anywhere??? ---------------------------(end of broadcast)--------------------------- TIP 4: Have ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008, 09:38 AM
=?ISO-8859-1?Q?Rodrigo_Cort=E9s?=
 
Posts: n/a
Default install postgres on usb drive???

It is possible to install postgres on usb driver to run it anywhere???

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-09-2008, 09:38 AM
John Purser
 
Posts: n/a
Default Re: install postgres on usb drive???

On Tue, 9 May 2006 16:54:37 -0400
"Rodrigo Cortés" <roco3d@gmail.com> wrote:

> It is possible to install postgres on usb driver to run it anywhere???
>
> ---------------------------(end of
> broadcast)--------------------------- TIP 4: Have you searched our
> list archives?
>
> http://archives.postgresql.org


A) "Possible" is a BIG word. So is "anywhere". If you could narrow
these two down a bit it might help answer your question.

B) Why? Posgrgres is a network aware service so your clients can
generally attach TO the server FROM "anywhere" so why have a portable
installation? Not arguing, just trying to understand.

John Purser

--
Beware the one behind you.

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-09-2008, 09:39 AM
=?ISO-8859-1?Q?Rodrigo_Cort=E9s?=
 
Posts: n/a
Default Re: install postgres on usb drive???

On 5/9/06, John Purser <jmpurser@gmail.com> wrote:
> On Tue, 9 May 2006 16:54:37 -0400
> "Rodrigo Cortés" <roco3d@gmail.com> wrote:
>
> > It is possible to install postgres on usb driver to run it anywhere???
> >
> > ---------------------------(end of
> > broadcast)--------------------------- TIP 4: Have you searched our
> > list archives?
> >
> > http://archives.postgresql.org

>
> A) "Possible" is a BIG word. So is "anywhere". If you could narrow
> these two down a bit it might help answer your question.
>
> B) Why? Posgrgres is a network aware service so your clients can
> generally attach TO the server FROM "anywhere" so why have a portable
> installation? Not arguing, just trying to understand.
>
> John Purser
>
> --
> Beware the one behind you.
>

Im trying to make a portable development environment for ruby on rails.

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-09-2008, 09:39 AM
=?ISO-8859-1?Q?Rodrigo_Cort=E9s?=
 
Posts: n/a
Default Re: install postgres on usb drive???

> A) "Possible" is a BIG word. So is "anywhere". If you could narrow
> these two down a bit it might help answer your question.
>

possible mean "how to do it"
anywhere mean "a pc with a windows os"

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-09-2008, 09:39 AM
John Purser
 
Posts: n/a
Default Re: install postgres on usb drive???

On Tue, 9 May 2006 17:06:53 -0400
"Rodrigo Cortés" <roco3d@gmail.com> wrote:

> On 5/9/06, John Purser <jmpurser@gmail.com> wrote:
> > On Tue, 9 May 2006 16:54:37 -0400
> > "Rodrigo Cortés" <roco3d@gmail.com> wrote:
> >
> > > It is possible to install postgres on usb driver to run it
> > > anywhere???
> > >


> Im trying to make a portable development environment for ruby on
> rails.
>
> ---------------------------(end of
> broadcast)--------------------------- TIP 5: don't forget to increase
> your free space map settings


Well, I see no problem with INSTALLING postgreSQL on a USB drive. But
if you compiled it for Linux I don't think it would run on a windows
machine. In fact you might have a lot of trouble just getting to to
run on a different version of the same DISTRIBUTION of linux and that's
assuming you could maintain mount points and paths.

I think I'd go with a cheap laptop and/or Ruby installed on the USB
drive and my postgreSQL installation on the network.

John Purser

--
Q: How do you keep a moron in suspense?

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-09-2008, 09:39 AM
John Purser
 
Posts: n/a
Default Re: install postgres on usb drive???

On Tue, 9 May 2006 17:10:21 -0400
"Rodrigo Cortés" <roco3d@gmail.com> wrote:

> > A) "Possible" is a BIG word. So is "anywhere". If you could narrow
> > these two down a bit it might help answer your question.
> >

> possible mean "how to do it"
> anywhere mean "a pc with a windows os"
>
> ---------------------------(end of
> broadcast)--------------------------- TIP 6: explain analyze is your
> friend


Rodrigo with Windows I'm not sure how much the registry would have to
be edited (if at all) to run the same postgrsql installation from
windows machines A B and C. I strongly doubt that you could just walk
up to a strange machine, plug in your USB drive, and away you go.

Some years ago when I was still running Windows at home I recall there
was a discussion on the cygwin mailing lists about running cygwin from
a cd drive. You might want to check out their archives and see if you
could use that information.
http://www.cygwin.com/

Good luck.

John Purser

--
You will never know hunger.

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:26 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com