Category: FreeBSD
Anything related to FreeBSD
FreeBSD/i386, stable/10, OpenSSL from ports, optimized assembly code, Dell PowerEdge 1950, Xeon X5450@3.00GHz, and BIOS 2.5.0
The strange combination of FreeBSD/i386, stable/10, OpenSSL from ports, optimized assembly code, Dell PowerEdge 1950, Intel Xeon X5450@3.00GHz, and BIOS 2.5.0, resulted in core dumps for all applications linked with OpenSSL from ports.
Read More → FreeBSD/i386, stable/10, OpenSSL from ports, optimized assembly code, Dell PowerEdge 1950, Xeon X5450@3.00GHz, and BIOS 2.5.0TeX Live 2015 on FreeBSD
Revision 392534 of the FreeBSD ports tree added TeX Live 2015. In the process, print/texlive-infra was replaced with print/texlive-tlmgr. If you already have TeX Live 2014 installed, e.g. print/texlive-full, then print/texlive-base conflicts with print/texlive-texmf and vice versa.
Read More → TeX Live 2015 on FreeBSDAn exercise on ZFS clones
This is an exercise I made, just to remind myself of how snapshots and clones work in ZFS. Also, how to properly get rid of them when you’re short of diskspace, or the dataset listing is too long, etc. First, we have the shell script that demonstrates the rise and fall of the initial dataset, […]
Read More → An exercise on ZFS clonesUnofficial errata: FreeBSD Mastery: ZFS
I bought the ebook edition of FreeBSD Mastery: ZFS this June. While the authors’ intentions are good, the 2015-05-21 edition has some errors and mistakes. The table below is nothing more than an unofficial errata of said book. Beware, what you find below might be due to my lack of understanding FreeBSD, ZFS, or the […]
Read More → Unofficial errata: FreeBSD Mastery: ZFSAdding 24 hour clock to FreeBSD’s hardstatus string for GNU Screen
FreeBSD gives the user an option of installing the file /usr/local/etc/screenrc with some sensible defaults along with GNU Screen, aka sysutils/screen. Among the defaults are a format string for the hardstatus line. It shows the date using yy/dd/mm notation and the time as a 12 hour clock. That may be fine in the English speaking […]
Read More → Adding 24 hour clock to FreeBSD’s hardstatus string for GNU ScreenUpgrading PostgreSQL 9.2.10 to 9.4.1
I decided to upgrade my PostgreSQL server today. I did this upgrade slightly different than the last time. All commands were done as the root user unless indicated.
Read More → Upgrading PostgreSQL 9.2.10 to 9.4.1Ascertaining installed ports for a specific architecture
When upgrading from one major version of FreeBSD to another, in my case from FreeBSD/amd64 stable/9 to FreeBSD/amd64 stable/10, it’s customary to upgrade the installed ports afterwards, beginning with ports-mgmt/pkg. I forcefully upgraded all installed ports using portupgrade -afpv, but the upgrade of lang/ruby21 failed miserably. I removed all traces of Ruby 2.1, i.e. ports-mgmt/portupgrade […]
Read More → Ascertaining installed ports for a specific architectureUpgrading lang/php5
to lang/php56
The 20150220 entry in /usr/ports/UPDATING contains no instructions for upgrading lang/php5 to lang/php56, at least not for us compiling our own ports. I learned the hard way using portupgrade what needs to be done. I have summarised my steps into the script below. Use the script as a guide, and if you do run my […]
Read More → Upgradinglang/php5
to lang/php56
Running dns/bind910
within a chroot after r382109
dns/bind910 gained native chroot support in r382109. Those of us who used to store the BIND files in /var/named/etc/namedb and ran BIND with /var/named as the chroot environment, must do five things: Rename the /var/named directory to something else, like /var/Named. This is to avoid upsetting make -C /usr/src delete-old and still retain the meaning […]
Read More → Runningdns/bind910
within a chroot after r382109
/dev/ada1 failing
smartd sent me not one, but two emails today, regarding /dev/ada1.
Read More → /dev/ada1 failing