Category Archives: FreeBSD

FreeBSD Security

Using Top [ $top ]

What is Top? Top provides a live display of information on the CPU processes. Top gets updated periodically as it provides an output CPU level percentage, Memory size, Swap Info, Load Averages, and more. last pid: 7771; load averages: 0.15, 0.06, 0.02 up 241+09:40:08 17:52:09 196 processes: 1 running, 195 sleeping CPU: 1.2% user, 0.0% …

FreeBSD

Redis install steps on FreeBSD

  Install redis FreeBSD port collection: $ cd /usr/ports/databases/redis/ && make install clean # or with portmaster $ portmaster databases/redis   ===>  CONFIGURATION NOTE:   To setup “redis” you need to edit the configuration file: /usr/local/etc/redis.conf To run redis from startup, add redis_enable=”YES” in your /etc/rc.conf.   ===> SECURITY REPORT: This port has installed the …

Email FreeBSD Security Tips and Tricks

Identifying malicious mail scripts on FreeBSD

This article will help you identify an possible spam scripts that may be causing unwanted outbound mail which could cause your servers ip address to be blacklisted.There are many different ways a script may get onto the server however we I will provide several different tools and methods to help identify scripts.   PHP scripts …

Email FreeBSD Uncategorized

SSL Certificate Installation for Courier IMAP and POP

This guide will provide you information on how to setup and configure SSL certificates for the courier IMAP mail server.   Prior to the installation you will need to purchase an SSL certificate from your domain registrar. In this example, the SSL was purchased from DomainPal. You will need the following from: Private Key File (Generated on …

Administration CentOS Fedora FreeBSD Linux Tips and Tricks

Identify the process that is using some specific port

Sometimes, you may encounter a situation where you see some ports being used by some service, but you cannot exactly determine which application/service is using it. This article talks about how to identifying such services. FreeBSD In the case of FreeBSD, you can use “lsof” command to determine the service that is reserving port as below. lsof -i :199 …

Administration FreeBSD Linux Tips and Tricks

Some useful ‘find’ commands

The ‘find’ command is quite useful as it helps to identify files with specific permissions, users,groups, size, etc.  Also, it is quite helpful to as it allows to process its results when combined with other commands. This article talks about some useful ‘find’ commands. Find all files named ‘test.jpg’ inside /home directory             …

Extensions FreeBSD Troubleshooting

Media tools installation Error/Fix

While installing media tools like Neroacc, we might come across the following errors   ERROR: ====== /usr/ports/audio/linux-neroaaccodec]# make install clean ===>  Staging for linux-neroaaccodec-1.5.1 ===>   linux-neroaaccodec-1.5.1 depends on file: /compat/linux/etc/redhat-release – not found ===>    Verifying install for /compat/linux/etc/redhat-release in /usr/ports/emulators/linux_base-c6 ===>  linux_base-c6-6.6_3 compat.linux.osrelease: 2.6.16 is not supported, please use 2.6.18, BEWARE this is highly experimental. …

CentOS Debian Fedora FreeBSD Linux Tips and Tricks Ubuntu

A Basic Overview of the Vim Text Editor

Many articles in our Webair Community advise editing configuration files. We usually recommend using your preferred text editor. I personally prefer vim. Vim, or its older sibling vi, are installed by default on nearly every server that I come across. If you do not yet have a preferred text editor, read on to see if …

Administration FreeBSD Linux Tips and Tricks

Setting files as immutable.

Wouldn’t it be nice if we can set files so that even root cannot modify or delete it ? Both FreeBSD and Linux come with commands that allows us to set files as immutable. If you have files that you don’t want anyone to modify/delete by mistake, then these commands are quite useful.   FreeBSD …