--- wikisrc/pkgsrc/how_to_install_a_postgresql_server.mdwn 2013/10/25 17:37:20 1.3 +++ wikisrc/pkgsrc/how_to_install_a_postgresql_server.mdwn 2016/07/04 05:35:17 1.4 @@ -9,19 +9,19 @@ Installing a PostgreSQL Server under Net 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: - # 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. # 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. @@ -99,9 +99,9 @@ Postgres provides a Tool to manage the D # 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.