Category Archives: FreeBSD7

How to update my sparc FreeBSD install

So the spanking new freebsd-update doesn’t work for sparc systems… boo. Have to do everything manually. Here’s what I remember. Let me know if I forgot something, or its wrong.(very likely) Install cvsup: # cd /usr/ports/net/cvsup-without-gui/ # make install install fastest cvsup: # cd /usr/ports/sysutils/fastest_cvsup/ # make install # fastest_cvsup -c u copy the default supfile to our own before editing. # cp /usr/share/examples/cvsup/stable-supfile [...]
Posted in FreeBSD7 | Tagged , , , , | Leave a comment

Automysqlbackup.sh.2.5 on FreeBSD

Automysqlbackup is a great tool. It’s setup and configuration can be found at many other sites. When you try to run it out of the box, you will get something like this: ./automysqlbackup.sh.2.5: Command not found. To run it in FreeBSD, you need to edit a single line. Automysqlbackup.sh.2.5 is a bash script, and it references the [...]
Also posted in MySQL | Leave a comment

FreeBSD time updates with ntpdate and ntpd

So FreeBSD’s time is out of wack. Two options: 1. ntpdate. This is manual. To run a time sync manually, just run ntpdate -b pool.ntp.org You can replace pool.ntp.org with whatever you want. To tell it to run whenever the system is booted, add this to /etc/rc.conf: ntpdate_enable="YES" ntpdate_hosts="[your ntp server]" This works, but if you don’t reboot often, could be [...]
Posted in FreeBSD7 | Tagged , , , | Leave a comment

webalizer installation on freebsd 7

cd /usr/ports/www/webalizer make make install make clean rehash mkdir /usr/local/www/stats webalizer -o /usr/local/www/stats /var/log/httpd-access_log After that, just added it to the root crontab crontab -e like this: 0 * * * * /usr/local/bin/webalizer -o /usr/local/www/stats /var/log/httpd-access_log > /var/log/webalizer-hourly That runs every hour, so that the stats are kept up-to-date.
Posted in FreeBSD7 | Tagged , , , , | Leave a comment

savecore? reboot after panic?

scary. I updated freebsd, and i can only think that i messed it up when i tried to “shutdown -h” to get it shutdown so i could reboot. anyways, when i rebooted, i saw this message. apparently there was a kernel dump on my swap drive. But problem is that i didn’t have enough room [...]
Posted in FreeBSD7 | Tagged , , | Leave a comment