BIND9 flea-bsd# pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/bind9-9.2.3.tbz Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/bind9-9.2.3.tbz... Done. ************************************************************************* * _ _____ _____ _____ _ _ _____ ___ ___ _ _ * * / \|_ _|_ _| ____| \ | |_ _|_ _/ _ \| \ | | * * / _ \ | | | | | _| | \| | | | | | | | | \| | * * / ___ \| | | | | |___| |\ | | | | | |_| | |\ | * * /_/ \_\_| |_| |_____|_| \_| |_| |___\___/|_| \_| * * * * BIND 9 requires a good source of randomness to operate. * * It also requires configuration of rndc, including a * * "secret" key. If you are using FreeBSD 4.x, visit * * http://people.freebsd.org/~dougb/randomness.html for * * information on how to set up entropy gathering. Users * * of FreeBSD 5.x do not need to perform this step. If * * you are running BIND 9 in a chroot environment, make * * sure that there is a /dev/random device in the chroot. * * * * The easiest, and most secure way to configure rndc is * * to run 'rndc-confgen -a' which will generate the proper * * conf file, with a new random key, and appropriate file * * permissions. * * * ************************************************************************* POSTGRESQL flea-bsd# pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/postgresql-7.3.4_1.tbz Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/postgresql-7.3.4_1.tbz... Done. =========== BACKUP YOUR DATA! ============= As always, backup your data before upgrading. If the upgrade leads to a higher minor revision (e.g. 7.2.x -> 7.3), a dump and restore of all databases is required. This is *NOT* done by the port! Press ctrl-C *now* if you need to pg_dump. =========================================== Added group "pgsql". Added user "pgsql". ====================================================================== To initialize the database, you should run initdb as the "pgsql" user (if you want to use your locale for collation, edit ~pgsql/.profile and set the locale to your preference first). Example: su -l pgsql -c initdb You can then start PostgreSQL by running: /usr/local/etc/rc.d/010.pgsql.sh start For postmaster settings, see ~pgsql/data/postgresql.conf For more tips, read ~pgsql/post-install-notes ===================================================================== Postgres: Requires: expat-1.95.6_1, gettext-0.12.1, gmake-3.80_1, libiconv-1.9.1_3 flea-bsd# pkg_info | grep expat expat-1.95.6_1 XML 1.0 parser written in C flea-bsd# pkg_info | grep gettex gettext-0.12.1 GNU gettext package flea-bsd# pkg_info | grep gmake gflea-bsd# pkg_info | grep libiconv libiconv-1.9.1_3 A character set conversion library make-3.80_1 GNU version of 'make' utility if needed: flea-bsd# pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/expat-1.95.6_1.tbz flea-bsd# pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/gettext-0.12.1.tbz flea-bsd# pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/gmake-3.80_1.tbz flea-bsd# pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/libiconv-1.9.1_3.tbz FAILED (not needed?) ---------------------------------------------------------------------------- flea-bsd# pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/bind9-dlz-9.2.2+0.6.0_1.tbz Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/bind9-dlz-9.2.2+0.6.0_1.tbz... Done. pkg_add: package 'bind9-dlz-9.2.2+0.6.0_1' conflicts with bind9-9.2.3 pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to force installation --------------------------------------------------------------------------- PERL 5.8.x flea-bsd# which perl /usr/bin/perl flea-bsd# perl -v This is perl, v5.6.1 built for i386-freebsd Copyright 1987-2001, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. flea-bsd# pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/perl-5.8.2_2.tbz Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/perl-5.8.2_2.tbz... Done. Destination directory /usr/local/lib/perl5/site_perl/5.8.2/mach doesn't exist or isn't a directory Installation of Perl distribution is finished. Please note, that since Perl is also in the base system, this distribution will not be used by default. If you want this version of Perl to be used by default, please type use.perl port Assuming that use.perl script (which was installed with the rest of the Perl distribution) can be found in your PATH (you might have to type `rehash' first, depending upon a shell you use), this action will replace /usr/bin/perl and /usr/bin/suidperl with symbolic links to the versions of these binaries in the Perl distribution. This action will also put some variables into your /etc/make.conf file, so that newly installed ports (not packages!) will use new version of perl, and the system upgrades from the source will not overwrite the changes made. At any time you can also type use.perl system if you wish to revert back to the system version of perl. flea-bsd# use.perl port OPENREG flea-bsd# pkg_add ftp://ftp.isc.org/isc/openreg/openreg-1.0.2.tar.gz Fetching ftp://ftp.isc.org/isc/openreg/openreg-1.0.2.tar.gz...bzip2: (stdin) is not a bzip2 file. tar: Child died with signal 13 tar: Error exit delayed from previous errors Broken pipe flea-bsd# pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/openreg-1.0.2.tbz Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/openreg-1.0.2.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/stunnel-4.04_2.tbz... Done. Added group "stunnel". Added user "stunnel". Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/p5-Time-HiRes-1.51,1.tbz... Done. ---------------------------------------------------------------------- Read ${PREFIX}/share/doc/openreg/INSTALL for details on how to setup OpenReg and get it started. ---------------------------------------------------------------------- Requires: bind9-9.2.3, expat-1.95.6_1, gettext-0.12.1, libiconv-1.9.1_3, p5-Time-HiRes-1.51,1, perl-5.6.1_15, postgresql-7.3.4_1, stunnel-4.04_2 (see above) flea-bsd# pkg_info | grep p5 p5-Time-HiRes-1.51,1 A perl5 module implementing High resolution time, sleep, flea-bsd# pkg_info | grep stunn stunnel-4.04_2 "SSL encryption wrapper for standard network daemons" LDAP flea-bsd# pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/openldap-server-2.1.23.tbz Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/openldap-server-2.1.23.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/openldap-client-2.1.23.tbz... Done. ************************************************************ The OpenLDAP client package has been successfully installed. Edit /usr/local/etc/openldap/ldap.conf to change the system-wide client defaults. Try `man ldap.conf' and visit the OpenLDAP FAQ-O-Matic at http://www.OpenLDAP.org/faq/index.cgi?file=3 for more information. ************************************************************ Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/db41-4.1.25_1.tbz... Done. ************************************************************ The OpenLDAP client package has been successfully installed. Edit /usr/local/etc/openldap/ldap.conf to change the system-wide client defaults. Try `man ldap.conf' and visit the OpenLDAP FAQ-O-Matic at http://www.OpenLDAP.org/faq/index.cgi?file=3 for more information. ************************************************************ Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/db41-4.1.25_1.tbz... Done. ===> Group 'ldap' created. ===> Account 'ldap' created. ************************************************************ The OpenLDAP server package has been successfully installed. In order to run the LDAP server, you need to edit /usr/local/etc/openldap/slapd.conf to suit your needs and add the following lines to /etc/rc.conf: slapd_enable="YES" slapd_flags='-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0/"' slapd_sockets="/var/run/openldap/ldapi" Then start the server with /etc/rc.d/slapd start or reboot. Try `man slapd' and the online manual at http://www.OpenLDAP.org/doc/admin21/ for more information. NOTE: Some variable names have been changed to conform with rc.subr(8) If you are upgrading, you may want to check your configuration with grep ^slapd_ /etc/rc.conf slapd runs under a non-privileged user id (by default `ldap'), see /etc/rc.d/slapd for more information. ************************************************************ Requires: db41-4.1.25_1, libtool-1.4.3_2, openldap-client-2.1.23 openldap-client-2.1.23 Open source LDAP client implementation openldap-server-2.1.23 Open source LDAP server implementation flea-bsd# pkg_info | grep db4 db41-4.1.25_1 The Berkeley DB package, revision 4.1 flea-bsd# pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/libtool-1.4.3_2.tbz Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/libtool-1.4.3_2.tbz... Done. flea-bsd# pkg_info | grep libtool libtool-1.3.5_1 Generic shared library support script libtool-1.4.3_2 Generic shared library support script MYSQL flea-bsd# pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/mysql-server-4.1.0_1.tbz Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/mysql-server-4.1.0_1.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/p5-DBI-137-1.37.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/p5-DBD-mysql-2.9003.tbz... Done. pkg_add: could not find package mysql-client-4.0.16 ! pkg_add: pkg_add of dependency 'p5-DBD-mysql-2.9003' failed! Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/mysql-client-4.1.0.tbz... Done. FAILED/ ADD p5-DBD-mysql-2.9003.tbz flea-bsd# pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/p5-DBD-mysql-2.9003.tbz MYSQL - TAKE 2 Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/p5-DBD-mysql-2.9003.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/mysql-client-4.0.16.tbz... Done. flea-bsd# pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/mysql-server-4.1.0_1.tbz Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/mysql-server-4.1.0_1.tbz... Done. Installing privilege tables To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! This is done with: /usr/local/bin/mysqladmin -u root password 'new-password' /usr/local/bin/mysqladmin -u root -h flea-bsd password 'new-password' See the manual for more instructions. You can start the MySQL daemon with: cd /usr/local ; /usr/local/bin/mysqld_safe & You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory: cd sql-bench ; perl run-all-tests Please report any problems with the /usr/local/bin/mysqlbug script! The latest information about MySQL is available on the web at http://www.mysql.com Support MySQL by buying support/licenses at https://order.mysql.com Added group "mysql". Added user "mysql". FAILED (not needed?) -------------------------------------------------------------------- flea-bsd# pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/bind9-sdb-mysql-9.2.3.tbz Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/bind9-sdb-mysql-9.2.3.tbz... Done. pkg_add: package 'bind9-sdb-mysql-9.2.3' conflicts with bind9-9.2.3 pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to force installation ---------------------------------------------------------------------------