Category: FreeBSD
Anything related to FreeBSD
Upgrading PostgreSQL from 9.5.7 to 9.6.3
All commands were done as the root user unless indicated. This time it was necessary to create a new ZFS hierarchy of filesystems rooted at /var/db/postgres/data96. Also, the new PostgreSQL DBMS runs as the postgres user, not the pgsql user.
Read More → Upgrading PostgreSQL from 9.5.7 to 9.6.3Consolidation of the mesa libraries in the FreeBSD ports collection
r400699 created some headache for me. The UPDATING file has so far nothing on the matter.
Read More → Consolidation of the mesa libraries in the FreeBSD ports collectionNew memory for this server
The two old 4GB memory sticks were replaced by two new sticks of Kingston HyperX Savage DDR3 2133MHz 16GB, P/N HX321C11SRK2/16. ZFS’ ARC has never been happier.
Read More → New memory for this serverdevel/py-setuptools27
renamed to devel/py27-setuptools
r436290 renamed devel/py-setuptools27 to devel/py27-setuptools. Here are four portupgrade commands to make amends: Run similar commands for updating the origin of, say, devel/py-setuptools36 to devel/py36-setuptools.
Read More →devel/py-setuptools27
renamed to devel/py27-setuptools
Upgrading Qt4 and Qt5 after r434380
r434380 made massive changes to Qt4 and Qt5 in FreeBSD. Sadly, there are no instructions on how to upgrade an existing system. The changes to ports/head/UPDATING didn’t help at all. Here are the notes I made while upgrading my laptop running stable/11. To successfully install misc/qtchooser and upgrade the remaining Qt4 and Qt5 ports, you […]
Read More → Upgrading Qt4 and Qt5 after r434380Migrating ZFS from mirrored pool to raidz1 pool
I have a few FreeBSD servers I want to virtualise. They all use ZFS for storage, so I figured a zfs send/receive operation would suffice. The tricky part is estimating how large the disks on the receiving end must be. The raidz1 pool will be comprised of three (virtual) disks, After trial and error, I […]
Read More → Migrating ZFS from mirrored pool to raidz1 poolFreeBSD has mono
C♯ and mono are both a blessing and a curse. Most documentation, FreeBSD-specific or not, on the internet are more or less outdated. Maybe I was looking in the wrong places. It was really frustrating. Soon this will be outdated too. Start by adding lang/mono. Then add x11-toolkits/libgdiplus.
Read More → FreeBSD has monoWeekdays missing from xclock
‘s digital display
I noticed the weekdays was missing from xclock‘s digital display when run in FreeBSD base/head aka 11.0-ALPHA6. FreeBSD stable/10 doesn’t have this problem.
Read More → Weekdays missing fromxclock
‘s digital display
security/ssl-admin
for ordinary SSL/TLS services
I came across Dan Langille post on security/ssl-admin and figured I should try it before my old certificates expires later in 2016. ssl-admin exists mainly for managing OpenVPN certificates, and with some tweaking you can make it work for ordinary SSL/TLS services.
Read More →security/ssl-admin
for ordinary SSL/TLS services
MySQL 5.7.12 refusing to run due to innodb_system data file ‘/var/db/mysql/ibdata1’ being too small
One of my MySQL 5.7.12 instances refused to start after upgrading to FreeBSD’s MySQL port version 5.7.12_1, claiming: 2016-05-18T11:03:26.688719Z 0 [ERROR] InnoDB: The Auto-extending innodb_system data file ‘/var/db/mysql/ibdata1’ is of a different size 4864 pages (rounded down to MB) than specified in the .cnf file: initial 8192 pages, max 0 (relevant if non-zero) pages! “Googling” […]
Read More → MySQL 5.7.12 refusing to run due to innodb_system data file ‘/var/db/mysql/ibdata1’ being too small