Finally Directadmin and FreeBSD 11.0

After many months of testing and submitting bugs to Directadmin, there is finally an error and slick installation to Directadmin on FreeBSD 11. Previously a number of fixes had to be made in order to make certain aspects function i.e. Dovecot and PHP.

The latest “officially” released version of FreeBSD with Directadmin is 9.x both 32/64bit, however as times changes, things quickly become depreciated and not great running an out of date OS in this modern day. In fact it is frowned upon!

In the next few weeks I will be migrating my 9.3 install over to 11, due to the jump and the number of changes I have opted for a fresh installation.

The great news is… it works out the box now.

How to install an SNMP Server with FreeBSD ( made easy )

My preference is using Net-SNMP which is included in ports, start by fetching the latest ports tree;

# portsnap fetch
# portsnap extract

Then head over to the port location and install
# cd /usr/ports/net-mgmt/net-snmp
# make install clean

Copy the sample configuration over to a working configuration if you need some examples
cp /usr/local/share/snmp/snmpd.conf.example /etc/snmpd.conf

Or to work straight out of the box, you can have a quick and dirty configuration containing; ( obviously changing community and bits ) **default is 32**

e.g. rocommunity testcomm:32
Syntax;
rocommunity community:bits

Now to make the snmp server start at boot time;

snmpd_enable=”YES”
snmpd_conffile=”/etc/snmpd.conf”

Without rebooting start the SNMP server;
/usr/local/etc/rc.d/snmpd start

you can test by using;

snmpwalk -v1 -c public 127.0.0.1