admin on November 21st, 2009

Read the manual man -k pkg The default package install/deinstall methods are: pkg_add to install a package pkg_deinstall to remove a package pkg_info to list all installed packages The default port install/deinstall methods are: -make install to compile and install the port (and any dependencies) -make deinstall to remove just that port -make clean to [...]

Continue reading about Managing FreeBSD Packages/Ports

admin on November 21st, 2009

This was documented for FreeBSD. The file is named: 010.pgsql.sh The file is located: /usr/local/etc/rc.d #!/bin/sh # $FreeBSD: ports/databases/postgresql7/files/pgsql.sh.tmpl # v 1.16 2003/12/04 12:00:49 seanc Exp $ # # For postmaster startup options, edit $PGDATA/postgresql.conf # # Note that PGDATA is set in ~pgsql/.profile, # don”t try to manipulate it here! PREFIX=/usr/local PGBIN=${PREFIX}/bin LOGFILE=/var/log/pgsql OPTIONS=”-i” [...]

Continue reading about Startup Script for PostgreSQL

admin on November 21st, 2009

You can specify parameters for a port similar to ./configure blah blah. Example: cd /usr/ports/www/apache13 make –prefix=/var —enable-module=most make install clean

Continue reading about Special Parameters with Ports

admin on November 21st, 2009

If you need to setup a ssl (which requires its own ip), or need another ip for some other reason, you can add it without rebooting. Assuming the following: network interface card = fxp0 (check in /etc/rc.conf) ip address = 123.321.123.321 netmask = 255.255.255.255 Enter the following: >ifconfig fxp0 alias 123.321.123.321 netmask 255.255.255.255 To check [...]

Continue reading about IP Aliasing