How 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 portupgradeHow to turn off Speed Dial in Opera
Sometimes new features are more annoying than useful. It gets even worse when you find no obvious way of disabling said features. In my case, Opera’s Speed Dial (Hurtigvalg in Norwegian) is such an example. Here’s how you turn off Speed Dial in Opera.
Read More → How to turn off Speed Dial in OperaRestricting 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 accessSorting the VM list in VirtualBox
Since version 4.0.0 it became possible to sort the VM list in the GUI of VirtualBox. Sadly there is no mention on how to sort the list.
Read More → Sorting the VM list in VirtualBoxbeamer and hyperref on a collision course?
Some of my presentations are written in LaTeX, and more specifically using the beamer document class. One of the recent versions of the hyperref package (version 2011/04/07 v6.82e) crashes with the beamer document class (development version 3.10), or is it the other way around? Temporary and permanent solutions follows.
Read More → beamer and hyperref on a collision course?Oppgraderingstabell 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 FreeBSDMy .emacs file for use with GNU Emacs 23.3 on Microsoft Windows
My favourite editor is no doubt GNU Emacs. I spend most of my time at work using Microsoft Windows, so why shouldn’t I use this excellent editor on that OS?
Read More → My .emacs file for use with GNU Emacs 23.3 on Microsoft Windowsrkhunter 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 FreeBSD