October 20, 2017

How to Compress and Extract a complete Linux or UNIX Directory

Administration Logo

Sometimes it is useful to compress a complete directory. For example to backup the files or to send them to an other server. Transfering a compressed directory will save you some time. In this tutorial we show you how to compress and extract a complete directory on a Linux or UNIX system.

[Read more...]

How to Install NTP to Synchronize the System Clock on FreeBSD

FreeBSD Logo

On FreeBSD you can synchronize your system clock with the Network Time Protocol (NTP). The NTP client can be installed from the FreeBSD ports tree. Once the NTP client is installed you can use the ntpdate command to synchronize the system clock with a NTP server.

[Read more...]

How to Backup and Restore a MySQL Database

MySQL Logo

Backing up MySQL databases is an area that is often forgotten. The only time you probably think of backing up your MySQL data is when you change your web host or switch to an other database server. With this instruction we will show you how easy it is to backup and restore a MySQL database.

[Read more...]

How to use rsync for Transferring Files and Folders

rsync Logo

The tool rsync is very useful to synchronize files and directories from one location to another. It minimizes the data transfer using delta encoding when appropriate. Mirroring a directory takes place with only one transmission in each direction. Optionally you can make use of compression and recursion during the transfer. You can install rsync from the ports directory.

[Read more...]

How to Exchange SSH Keys for Passwordless Login

Administration Logo

You don’t want to enter any passwords, because you want to call ssh or rsync from within a shell script? For this passwordless login you need to exchange the SSH keys between the systems.

[Read more...]

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 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 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 Install Audit Support on FreeBSD

FreeBSD Logo

With the Security Event Auditing from FreeBSD you can monitor system events like logins, file changes and network access. You can even monitor these events per user and directory which makes this a perfect tool for security-relevant system events. Besides this you can combine the event auditing with your favorite sync software to create a cluster file system on FreeBSD.

[Read more...]