January 18, 2018

How to Create a Jail on FreeBSD

FreeBSD Logo

You need to partition your system in several independent systems? With the framework ezjail you can create and modify jails on FreeBSD that have a virtual environment. A jail runs totally independent from the host system and can have its own files, processes and user accounts. There is no big difference to a real system but now you can securely separate your applications.

[Read More...]

How to Install Ruby on FreeBSD

Ruby Logo

The object-oriented programming language is available as a port on FreeBSD. Ruby combines syntax inspired by Perl with Smalltalk-like features and is influenced by Eiffel and Lisp as well. With Ruby you can make use of multiple programming paradigms, including functional, object oriented, imperative and reflective. The automatic memory management and a dynamic type system are one of the main key factors to use Ruby.

[Read More...]

How to Install Percona Server with XtraDB on FreeBSD

Percona Logo

With Percona Server you can replace your existing MySQL with a much faster and more consistently relational database management system. Percona XtraDB is an enhanced version of the InnoDB storage engine, designed to better scale on modern hardware, and including a variety of other features useful in high performance environments. It is fully backwards compatible, and so can be used as a replacement for standard InnoDB. This combination offers breakthrough performance, scalability and features such as self-tuning algorithms for extremely high-performance hardware. The storage engine is licensed under GPLv2, and it is absolutely free to use.

[Read More...]

How to Tunnel a Remote Port to a Local Port with SSH

Administration Logo

Sooner or later you have to restrict access to a specific application from outside the server by blocking a port with a firewall. This is a common scenario when using a development web server. You want to access the service but you do not want to leave it open to the entire world. At this point SSH can help you to create a tunnel.

[Read More...]

How to Clear DNS Cache in Mac OS X

Mac OS X Logo

Mac OSX caches the DNS requests to speed up lookups. When you configure your DNS server you don’t want to work with cached values.

[Read More...]

How to Install vnStat on FreeBSD

FreeBSD Logo

vnStat is a useful tool to keep track of your network traffic for selected interfaces. By using the kernel network interface statistics this tool ensures light use of system resources. vnStat is open source and can be installed through a FreeBSD port.

[Read More...]

How to Install MTR on FreeBSD

FreeBSD Logo

The MTR tool can help you to find network errors such as packet loss or bad ping time. MTR combines the functionality of traceroute and ping in one single diagnostic tool. By checking how many hops individual packets may traverse, and listening to responses of their expiry, MTR is the perfect tool to detect latency. MTR is licensed under the terms of the GNU General Public License (GPL) and it works under FreeBSD as well.

[Read More...]

How to Update FreeBSD

FreeBSD Logo

Keeping you system up-to-date is one of the main things to avoid security holes. With the freebsd-update command you can easily check for new security patches and may download and install them on your FreeBSD. It is also a good idea to run this command from cron.

[Read More...]

How to Install chkrootkit on FreeBSD

chkrootkit Logo

With chkrootkit you can regularly check your system for signs of a rootkit. chkrootkit looks for known signatures in trojaned system binaries. It also checks if the interface is in promiscuous mode, for lastlog deletions, for wtmp deletions, for wtmpx deletions, for signs of LKM trojans and for utmp deletions. Running chkrootkit as cron makes this a very useful security tool. chkrootkit is available on FreeBSD and can be installed through the port directory.

[Read More...]

How to Install Java on FreeBSD

Java Logo

The write once, run anywhere language is needed for a whole bunch of applications. Installing Java on FreeBSD is very straightforward. You can either choose to install the Open JDK or the Oracle JDK Java Development Kit. The OpenJDK Java Development Kit is the native port of OpenJDK to FreeBSD. The Oracle JDK Java Development Kit is a patchset of the JDK source code released by Oracle. This port builds a native JDK for FreeBSD.

[Read More...]