Recently I was finding that my SSH connection to my FreeBSD server was freezing. I’m on macOS Catalina connecting to a FreeBSD box using standard Terminal app. I’m using shared keys and the connection was fine and working well until I left the Terminal window idle for over 15 seconds.
Author: Mikhail Khasaya
Before you begin this guide, you should have a FreeBSD 10.1 server.
Solr needs the Java Runtime Environment (JRE) version 1.8 or higher.
As you can read on FreeBSD Wiki:
Pkg is the Next Generation package management tool for FreeBSD. It is the replacement for the current pkg_info/pkg_create/pkg_add tools that ports use to register local packages and which provide remote packages. Its main goals are to faciliate remote binary package upgrades. It also works with ports without remote binary packages.
The port ‘lang/perl5.10’ was removed on 2013-02-04 because: “Has expired: no longer under development, use lang/perl5.16 or lang/perl5.14”. So we need to move from older 5.10 to newer 5.14. To upgrade perl choose port managment tool you like ( portupgrade or portmaster).
Today I tried to install phpMyAdmin on older server, running on FreeBSD 8.1, but I’ve got error message:
Is there an easy way to determine what shell I’m using in terminal?
Log rotation on FreeBSD
I have php-fpm.log which is about 1 gb now. How can I setup log rotation like in linux logrotate?
OSS and kernel panic on FreeBSD
I installed OSS driver from ports and added this line to /etc/rc.conf:
Now, my system won’t boot at all. It shows kernel panic while booting, dumps core and reboots. I tried booting into single user mode and correcting loader.conf but it isn’t allowing me to save the changes saying “Read only filesystem”.
How to upgrade ZFS pool on FreeBSD
Yesterday I upgraded my web server to the latest version of FreeBSD (9.0-RELEASE).
Before migration you should create backup of all databases. You can use mysqlhotcopy, Percona Xtrabackup or other methods.