Category: FreeBSD
Anything related to FreeBSD
FreeBSD 9.0 as IPv6-only
At work we have native IPv6 connectivity along with IPv4. We’ve had IPv6 for nearly 5 years and IPv4 for the past 17 years. On 2011-08-16, I grabbed an IPv6-only snapshot of FreeBSD/i386 9.0-BETA1 dated 20110727 and started experimenting with internet life using only IPv6. This particular machine is a virtual machine running inside VirtualBox […]
Read More → FreeBSD 9.0 as IPv6-onlyVirtualBox 4.1.x and ZFS raidz{1,2,3}
If you’ve been struggling with booting VirtualBox VMs set up to boot from ZFS raidz{1,2,3} organized disks, then VirtualBox 4.1.x might be the cure you’ve been waiting for. I certainly have been longing for this to happen.
Read More → VirtualBox 4.1.x and ZFS raidz{1,2,3}Upgrading a FreeBSD system running with ZFS as the root fs
Here’s a summary of the commands I issue when upgrading FreeBSD systems running with ZFS as their root file system.
Read More → Upgrading a FreeBSD system running with ZFS as the root fsHow to forcefully upgrade all your FreeBSD ports using portupgrade
When moving from one major FreeBSD branch to another, you are almost compelled to upgrade all of your installed FreeBSD ports. If you move from the RELENG_7 branch to RELENG_8, as an example, the old pty interface is deprecated, and ports such as screen (sysutils/screen) must be recompiled and reinstalled to take advantage of the […]
Read More → How to forcefully upgrade all your FreeBSD ports using portupgradeRestricting NTP access
Here’s what I use in /etc/ntp.conf. The restrict lines below originated from Ubuntu. The iburst and maxpoll 9 settings are necessary in FreeBSD to avoid ntpd switching between PLL and FLL modes every now and then.
Read More → Restricting NTP accessOppgraderingstabell for FreeBSD
Jeg tenkte at jeg skulle dele med dere et lite avkrysningsskjema som jeg lagde i formiddag. Det er en god del ting som skal gjøres for hver FreeBSD-maskin i forbindelse med oppgradering. I stedet for å fortsette å bruke Post-It-lapper, så brukte jeg pdfLaTeX og lagde koden for skjemaet som dere ser under. Dersom du […]
Read More → Oppgraderingstabell for FreeBSDrkhunter complaining about /etc/passwd?
Tell rkhunter to ignore /etc/passwd by inserting EXISTWHITELIST=”/etc/passwd” in your rkhunter configuration file. If you prefer not to make this change to your configuration file, make sure you run rkhunter –propupd with the same PATH as given in /etc/crontab. A command like env -i PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin rkhunter –propupd should suffice. Thanks to Mr. Torfinn Ingolfsen for […]
Read More → rkhunter complaining about /etc/passwd?No need the check the syntax of Apache’s configuration files more than once
It’s meaningless to check the syntax of Apache’s configuration files more than once during the same invocation of the startup script for Apache 2.2.x on FreeBSD, when the specified action is, say restart or graceful. Here’s a small patch.
Read More → No need the check the syntax of Apache’s configuration files more than onceA verbose startup script for PostgreSQL on FreeBSD
The default startup script for PostgreSQL on FreeBSD doesn’t give much clue when starting and stopping the DBMS. Here’s a patch to remedy this annoyance.
Read More → A verbose startup script for PostgreSQL on FreeBSDMinor difficulties with PHP 5.3.5, php-mysql 5.3.5, and MySQL 5.5.8 on FreeBSD 8, now solved
Something was wrong with the combination of PHP 5.3.5, php-mysql 5.3.5, and MySQL 5.5.8 on FreeBSD 8 earlier this month. Any attempt to run the command php -v resulted in PHP hanging after outputting the “Zend line”. Either kill(1) the process or type C-c to put it out of its misery, but neither action is […]
Read More → Minor difficulties with PHP 5.3.5, php-mysql 5.3.5, and MySQL 5.5.8 on FreeBSD 8, now solved