Diff for /wikisrc/pkgsrc/how_to_install_a_postgresql_server.mdwn between versions 1.3 and 1.5

version 1.3, 2013/10/25 17:37:20 version 1.5, 2020/09/09 15:50:14
Line 9  Installing a PostgreSQL Server under Net Line 9  Installing a PostgreSQL Server under Net
   
 Setting PKG_PATH enables us to easily download and install packages and it's dependencies.   Setting PKG_PATH enables us to easily download and install packages and it's dependencies. 
           
     # export PKG_PATH=ftp://ftp4.de.netbsd.org/pub/NetBSD/packages/3.0/i386/All      # export PKG_PATH=https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/$(uname -m)/$(uname -r)/All/ 
           
   
 or if you are using csh:   or if you are using csh: 
           
     # setenv PKG_PATH ftp://ftp4.de.netbsd.org/pub/NetBSD/packages/3.0/i386/All      # setenv PKG_PATH https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/$(uname -m)/$(uname -r)/All/ 
           
   
 You should keep this in your .profile, .bash_profile, if you mainly using binaries.   You should keep this in your .profile, .bash_profile, if you mainly using binaries. 
   
 #   Installing the PostgreSQL Server   #   Installing the PostgreSQL Server 
           
     # pkg_add -v postgresql80-server-8.0.4.tgz      # pkg_add -v postgresql92-server
           
   
 This will install the postgresql client and the server and any missing dependency (readline, perl) and will add the user **pgsql** to your user database.   This will install the postgresql client and the server and any missing dependency (readline, perl) and will add the user **pgsql** to your user database. 
Line 99  Postgres provides a Tool to manage the D Line 99  Postgres provides a Tool to manage the D
   
 #   PHP and PostgreSQL   #   PHP and PostgreSQL 
   
 You may wish to install the postgres Module for PHP   You may wish to install the postgres Module for PHP, e.g. for PHP 7.0 use:
           
     # pkg_add -v php-pgsql-4.4.1.tgz      # pkg_add -v php70-pgsql
           
   
 Have fun.   Have fun. 
   
 #   Additional Information   #   Additional Information 
   
   * [pkg_add(1)](http://netbsd.gw.com/cgi-bin/man-cgi?pkg_add+1+NetBSD-current) Manpage     * [[!template id=man name="pkg_add" section="1"]] Manpage 
   * [su(1)](http://netbsd.gw.com/cgi-bin/man-cgi?su+1+NetBSD-current) Manpage     * [[!template id=man name="su" section="1"]] Manpage 

Removed from v.1.3  
changed lines
  Added in v.1.5


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb