FreeBSD: First things first

Here is a sample of what I do after I first install a FreeBSD box:  After installing packages, etc., you might, as root, run rehash so that the commands in each package are available.

1.  Install PortInstall- pkg_add -r portupgrade

2.  Install BASH- pkg_add -r bash

3.  Install the ports collection:  portsnap fetch, portsnap extract, portsnap update

3.5.  Install Apache:  pkg_add -r apache22

4.  Add ‘ServerName testingforecho:80’ under the ServerName section in your /usr/local/etc/apache22/httpd.conf

5.  Add ‘kldload accf_http’ to your /boot/loader.conf, then run ‘kldload accf_http’ as root.

6.  Add your hostname to /etc/hosts, like:

::1                     localhost               localhost

7.  Start apache, like this /usr/local/sbin/apachectl start

(It should be noted that at this point, /usr/local/www/apache22 is owned by root.  You should chown -R www:www apache22)


1.  cd /usr/ports/databases/mysql55-server/
2.  make install clean

3.  Add mysql_enable=”YES” to your /etc/rc.conf

3.  /usr/local/etc/rc.d/mysql-server start
4.  mysqladmin -u root password newpassword

PERL (might already be installed)

1.  cd /usr/ports/language/perl5.10
2.  make install clean


1.  cd /usr/ports/lang/php5
2.  make config (select apache module and zlib, or you’ll have to recompile, later.)
3.  make install clean
4.  cd /usr/ports/databases/php5-mysql and “make install clean”
5.  cd /usr/ports/www/php5-session
6.  cd /usr/ports/graphics/php5-gd and “make install clean”
7.  Make sure that your httpd.conf has LoadModule php5_module libexec/apache/ added to it.
8.  cd /usr/ports/lang/php5-extensions and “make install clean” (select the mysql extension option)
8.5  cd /usr/ports/archivers/php5-zlib and then make install clean
9.  cp /usr/local/etc/php.ini-dist /usr/local/etc/php.ini

10.  To the end of your httpd.conf, add:

AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps 11.  Find the line that has "DirectoryIndex index.html" and change it to "DirectoryIndex index.php index.html"
12.  Remove the comment in front of "Include etc/apache22/extra/httpd-languages.conf"
13.  Edit /usr/local/etc/apache22/extra/httpd-languages.conf and add AddDefaultCharset On" at the end of its file.

1.  In /etc/rc.conf, add something like:  ifconfig_bge0=”inet netmask″
2.  In /etc/resolv.conf, add something like:  nameserver xx.xx.xx.xx
3.  Add default route, like this:  route add default

Thanks to,,, and

2100 calories a day??? *panic*

So according to this new thing I’m playing with (DailyBurn), I am supposed to keep exercising and only take in about 2100 calories a day.  As an example as to how this might change my diet, it’s 3:27 PM, right now.  I’ve already taken in 2314 calories.  So…I’m gonna starve.  Maybe I’ll start tomorrow.  Not excited about this, but need to lose weight and exercise more.  Also need to be healthier and not have so many asthma issues.

20 degree run

Yesterday morning, I went for a run (the first in 16 days.)  It was cold and my asthma caught on pretty quickly.  I tried to take my inhaler only once every mile (these days, that’s all I can really hope for).

Several things have contributed to my asthma being out of control.

1.  I haven’t been taking my control inhaler like I’m supposed to.

2.  I’m overweight by about 20 pounds.

3.  The air is cold (yesterday, I finished the last mile, indoors, on a treadmill.)

4.  I’m not running consistently.

All of these things are adding up, fast.  Gotta get it under control.  I have a lot of races that I want to be in shape for.

Twitter Updates for 2010-02-20

  • There is nothing that I've enjoyed more in the olympics, than the men's hockey. Man, what an exciting sport! #
  • Apparently, my tongue can't generate new cells faster than Listerine can destroy them. #
  • To the former occupant of stall #1 in bathroom C- thanks for being just one more person who can't keep the toilet paper in the toilet. #
  • "Conjunction Junction, what's your function?
    Hooking up words and phrases and clauses." That's right, now it's in YOUR head. #
  • I'll see your eye goop and raise you two ear infections… #
  • Sierra Nevada gets some love at the men's Super-G in Vancouver. #

Powered by Twitter Tools

Roxie and Reagan have ear infections

Roxie and Reagan went to the doctor, tonight, because they’ve had symptoms of conjuctivitus (their eyes have been draining) and Reagan’s complained about her ears.

The doctor confirmed an ear infection, so they are being prescribed an antibiotic. So we are on, like, week 5 of someone in the fam being sick.