Installing the Arch server

You like a certain distro? Tell us why here

Moderators: b1o, jkerr82508

Forum rules
Try to avoid "fanboyism" Spam is strictly forbidden. The general rules apply: viewtopic.php?f=8&t=568
User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Installing the Arch server

Postby dedanna1029 » 07 Nov 2010, 16:52

Code: Select all

ls -R /etc | grep postgresql


That should help you find out.

Edit: Whoops, sorry, upon looking...

https://wiki.archlinux.org/index.php/Po ... rom_remote

The PostgreSQL database server configuration file is postgresql.conf. This file is located in the data directory of the server, typically /var/lib/postgres/data. This folder also houses the other main config files, including the pg_hba.conf.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Installing the Arch server

Postby viking60 » 07 Nov 2010, 17:58

Yeah well I cannot find it there. And the password in posresq does not work either
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
fukawi2
Guru-Berserk
Posts: 13
Joined: 06 Oct 2010, 00:29
Location: Melbourne, Australia
Contact:

Re: Installing the Arch server

Postby fukawi2 » 07 Nov 2010, 22:49

EDIT: Whoops, didn't see the next page of replies... Give me 5 mins...

EDIT 2: The post-install script initializes a data directory in "/srv/pgData-8.4" so you should find postgresql.conf in there

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Installing the Arch server

Postby viking60 » 07 Nov 2010, 23:25

Thank you :B Now I am confused at a higher level. can I use 10.0.0. in pg_hba.conf for allowing all the clients in my network?
And I sure need phppgadmin to work. I have created a database and get automatically in to postgres but when a password is needed, the generated one does not work.
Might be me - I am reading up on it now......
Where is config.inc.php for phppgadmin?
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
fukawi2
Guru-Berserk
Posts: 13
Joined: 06 Oct 2010, 00:29
Location: Melbourne, Australia
Contact:

Re: Installing the Arch server

Postby fukawi2 » 07 Nov 2010, 23:35

Make sure you're logging in as the 'postgres' user -- psql by default uses your Linux username.

IIRC, pg_hba.conf requires proper CIDR notation, so you need to use 10.0.0.0/24 instead of 10.0.0.

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Installing the Arch server

Postby viking60 » 07 Nov 2010, 23:47

Thanks!
Well I have gotten this far:

Code: Select all

[thomas@rulle ~]$ psql thomasbase
psql (8.4.5)
Type "help" for help.

thomasbase=# \dt
No relations found.
thomasbase=# \du
            List of roles
 Role name | Attributes  | Member of
-----------+-------------+-----------
 postgres  | Superuser   | {}
           : Create role   
           : Create DB     
 thomas    | Superuser   | {}
           : Create role   
           : Create DB     

thomasbase=#


Now I kind of need to populate my databases (convert from mysql) -phppgadmin - next I guess
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
fukawi2
Guru-Berserk
Posts: 13
Joined: 06 Oct 2010, 00:29
Location: Melbourne, Australia
Contact:

Re: Installing the Arch server

Postby fukawi2 » 08 Nov 2010, 00:16

I've had good success with this script when doing MySQL to PG conversions:
http://pgfoundry.org/projects/mysql2pgsql/

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Installing the Arch server

Postby viking60 » 08 Nov 2010, 00:38

Ok I'll give it a try even if tutorials are scarce there.
Oh boy :coffee_smile: I managede to convert it but getting it into the database is to much right now - going for Whiskey :whistle:
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Installing the Arch server

Postby viking60 » 17 Feb 2011, 02:44

I fond the Whiskey way more appealing than PG but the server has been up for 92 days and 2.47.41 h now. That counts for a server.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
fukawi2
Guru-Berserk
Posts: 13
Joined: 06 Oct 2010, 00:29
Location: Melbourne, Australia
Contact:

Re: Installing the Arch server

Postby fukawi2 » 17 Feb 2011, 04:17

viking60 wrote:I fond the Whiskey way more appealing than PG but the server has been up for 92 days and 2.47.41 h now. That counts for a server.

That's awesome to hear :)
Have you been applying updates?
Which RC was the original installation? RC1 or RC2?
Any problems at all you came across that we should fix?

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Installing the Arch server

Postby viking60 » 17 Feb 2011, 09:24

I think I started with RC1. And yes I have been updating all the way. I cannot see any pressing problem but some control panel stuff is lacking in the repos i think.
Everybody says webmin and cpanel when that comes up ( and so did I - in lack of better ideas). Something along those lines would be very "server" like. :P :tux5:
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Happy birthday Fukawi!

Postby viking60 » 04 Aug 2011, 00:11

Happy birthday Fukawi! :party :dancer :dance1 :skal :cheers
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"


Return to “Distro talk”