pkg(8) is now the only package management tool

portmgrThe ports tree has been modified to only support pkg(8) as package management system for all supported version of FreeBSD.

if you were still using pkg_install (pkg_* tools) you will have to upgrade your system.

The simplest way is

cd /usr/ports/ports-mgmt/pkg
make install

then run

pkg2ng

For full instructions,  head on over to the following link: http://blogs.freebsdish.org/portmgr/2014/09/01/pkg8-is-now-the-only-package-management-tool/

FreeBSD 10.0 Swap File instead of Swap Partition

This article by WOH3 shows us how to use swap file instead of swap partition, in case one runs into overheating problems.

I recently installed and configured FreeBSD 10.0 on an old desktop so that I could learn the system. I have been surprised by how powerful it is, and I had assumed that since it was a Unix, that I would know everything about it having had a decade of experience with Linux, but I was wrong. It is still very different, and those differences are what make it a good OS. One thing that surprised me, was that you can use a Swap File (in /usr/swap0) instead of a swap partition.

For full instructions, head on over to the following link: http://woh3blog.wordpress.com/2014/09/09/freebsd-10-0-swap-file-instead-of-swap-partition/

The Design and Implementation of the FreeBSD Operating System (2nd Ed.)

designimplementation

The most complete, authoritative technical guide to the FreeBSD kernel’s internal structure has now been extensively updated to cover all major improvements between Versions 5 and 11. Approximately one-third of this edition’s content is completely new, and another one-third has been extensively rewritten.

This book is due to release on September 15, 2014. You can purchase the hardcover from here: http://www.amazon.com/Design-Implementation-FreeBSD-Operating-Edition/dp/0321968972

Install Snort on FreeBSD

Snort_ids_logoThis article by All American Computer Repair will show you how to install Snort on FreeBSD.

What is Snort?
It is an open source intrusion prevention system capable of real-time traffic analysis and packet logging.

1. Login to your computer as root or elevate to su
2. First we have to compile snort form the ports tree by running this command:
make -C /usr/ports/security/snort install all
You will be asked about which support you want to add to snort here you can pick MySQL if you are going to use the server as traffic monitor or instruction detection system.  For me I took the defaults only because I capture the files and export them to log file using snort –dev –l . /log then I read them with tcpdump –r.  But again it really depends on your needs.

Head on over to the following link for full instructions: http://www.allamericancomputerrepair.com/Blog/Post/29/Install-Snort-on-FreeBSD