Unix Technical Forum

postgres under Suse linux

This is a discussion on postgres under Suse linux within the Pgsql General forums, part of the PostgreSQL category; --> Hi all I am a new linux and postgres user and i don't know how i canconfigure the postgres ...


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

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008, 12:01 PM
Antonios Katsikadamos
 
Posts: n/a
Default postgres under Suse linux

Hi all I am a new linux and postgres user and i don't
know how i canconfigure the postgres on suse linux in
order to make it run.

I would be thankful for any tip.

kind regards

Antonios

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

---------------------------(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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-09-2008, 12:01 PM
Richard Broersma Jr
 
Posts: n/a
Default Re: postgres under Suse linux

> Hi all I am a new linux and postgres user and i don't
> know how i canconfigure the postgres on suse linux in
> order to make it run.
> I would be thankful for any tip.


The postgresql installation documentation is in the manual. Also, notice the user comments at the
bottom. Some comments are from suse users.

http://www.postgresql.org/docs/8.1/i...tallation.html

Regards,

Richard Broersma Jr.

---------------------------(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
  #3 (permalink)  
Old 04-09-2008, 12:01 PM
Richard Huxton
 
Posts: n/a
Default Re: postgres under Suse linux

Antonios Katsikadamos wrote:
> Hi all I am a new linux and postgres user and i don't
> know how i canconfigure the postgres on suse linux in
> order to make it run.
>
> I would be thankful for any tip.


1. Take your time - don't rush.
In particular, if you're not used to Linux, allow time to get used to
that too.

2. Use the Suse package manager and make sure you've installed
postgresql-client and server packages.
If you provide a password for user "postgres", write it down.
You might want perl/php/ruby/etc libraries too. They might be under
"php" rather than "postgresql".

3. You might also want the "pgadmin" package if it's included on Suse.
There's also a phpPgAdmin package available.

4. Find your postgresql.conf and pg_hba.conf and make sure you have
access from the local machine (see the manuals for details). Read the
section in postgresql.conf on logging and make sure you know where your
logs will be and what will be logged (perhaps turn up logging detail to
start with).

5. Restart/start the server with a command something like:
/etc/init.d/postgresql restart
Check your logs to see if there are any error messages. You can confirm
it is running with a command like:
ps auxw | grep post
6. If it is running, try the command-line client:
psql -U postgres -l
That should list databases. If you find you can't get access use "su" to
switch to the postgres user and try again. If that doesn't work, re-edit
your pg_hba.conf to allow free access from the local machine.
7. Set up users and databases, explore.
8. Make sure you know how pg_dump/pg_restore work. Read up on VACUUM and
ANALYSE and how autovacuum works.

You'll want to read the manual section on locales too - you might need
to re-run initdb once you've done that, so read it fairly early on.

Since you are new to Linux and PostgreSQL I'd allow at least a week of
exploring before starting any real work. Oh, and keep lots of backups.

HTH
--
Richard Huxton
Archonet Ltd

---------------------------(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 05:35 AM.


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