Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9IL5RP44931 for ; Thu, 18 Oct 2001 17:05:27 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f9IKeBW35027 for pgsql-admin@postgresql.org; Thu, 18 Oct 2001 16:40:11 -0400 (EDT) (envelope-from news) From: Jean-Michel Chabanne X-Newsgroups: comp.databases.postgresql.admin Subject: Re: PG on Suse Date: Thu, 18 Oct 2001 22:47:34 +0200 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 55 Message-ID: <9qnen8$126g$1@news.tht.net> References: <4.3.2.7.2.20011017175126.034ecee8@mail.faser.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: scrappy@hub.org User-Agent: KNode/0.4 To: pgsql-admin@postgresql.org X-Archive-Number: 200110/202 X-Sequence-Number: 2446 Fabio Serra wrote: > Hi all, > I'm not a Linux Guru and I'm trying to install PG 7.1.3 on Suse 7.2. > Unfortunately SuSe has not prepared a packet yet and the last Suse > version is 7.0.3. > In any case, I have some questions to do a good job. > > 1) Is it better to install from source or from SRPM ? Why a SRPM when one can get a tarball on an PostgreSQL mirror site? > 2) Where have I to put the binaries and data ? > I know the default are: /usr/local/pgsql/bin/ and /usr/local/pgsql/data/ > but SUSE use /usr/bin/ and /var/lib/pgsql/data. With a source tarball, you may put binaries and data where you want. On my Linux box, running SuSE 7.2 with PostgreSQL 7.1.3, I put PostgreSQL in /usr/local/pgsql, and data in /data/pgsql. /data is a big partition with only data for several packages. But you can choose to install binaries an data in a same directory of your choice. > 3) Can I make a simple ./configure or is better to use any command line > options? To know all available options : ./configure -help | less To compile, I used : ./configure --enable-locale --enable-odbc --with-CXX --with-gnu-ld --enable-syslog but it is only an example; > 4) To start postgres at system startup can I mantain the postgres Suse > script for the 7.0.3. version or I have to make a script by myself? > 5) If now I install PG from source, do I need to reinstall PG when Suse > releases the upgrade ? If PostgreSQL is not installed from a SuSE RPM, an upgrade will not change a source installation. > Thanks in advance for your help. > -------------------------------------------------- > FABIO SERRA - faser(at)faser.net > PGP available > -------------------------------------------------- > > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > -- Jean-Michel Chabanne 77450 MONTRY (FRANCE) 48" 54' N - 2" 49' E Powered by Linux