Category Archives: Unix

Install OpenNMS on FreeBSD


# cd /usr/ports/net-mgmt
# wget -c

–2009-05-15 03:17:40–
Connecting to||:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 15093 (15K) [application/x-tar]
Saving to: `opennms-164-freebsd-port.tgz’

100%[=====================================================================================================>] 15,093      5.23K/s   in 2.8s

2009-05-15 03:17:45 (5.23 KB/s) – `opennms-164-freebsd-port.tgz’ saved [15093/15093]

Extract and delete

# tar xvzf opennms-164-freebsd-port.tgz && rm opennms-164-freebsd-port.tgz

x opennms/
x opennms/files/
x opennms/distinfo
x opennms/pkg-descr
x opennms/pkg-message
x opennms/pkg-plist
x opennms/Makefile
x opennms/files/
x opennms/files/patch-maven-conf_settings.xml
x opennms/files/patch-pom.xml

Continue reading

Install ocsinventory-ng and glpi on FreeBSD

Recent search for finding solution for inventory computer in the school lead me to interesting url :

From their architecture page :

“OCS Inventory NG uses an agent, which runs the inventory on client computers, and a management server, which centralizes inventory results, allow viewing inventory results and creating deployment packages.”


Very interesting software. After think a little bit I decide to try to install it on one of FreeBSD jail.

(In case you have old FreeBSD iso, you can try different version that works).

Here’s the steps :

1. Install database server

cd /usr/ports/databases/mysql50-server/ && make install

2. Install ocsinventory-ng

cd /usr/ports/net-mgmt/ocsinventory-ng/ && make install

3. Install logrotate

cd /usr/ports/sysutils/logrotate && make install

mkdir /etc/logrotate.d

mkdir /etc/logrotate.d/ocsinventory-NG

cd /usr/ports/net-mgmt/ocsinventory-ng/work/OCSNG_LINUX_SERVER_1.01


That step will initiate checking screen.

Continue reading

7.0-RELEASE-p6 with freebsd-update

freebsd-update is cool

# freebsd-update fetch
Looking up mirrors… 1 mirrors found.
Fetching metadata signature for 7.0-RELEASE from… done.
Fetching metadata index… done.
Fetching 2 metadata patches.. done.
Applying metadata patches… done.
Inspecting system… done.
Preparing to download files… done.
Fetching 8 patches….. done.
Applying patches… done.

The following files will be updated as part of updating to 7.0-RELEASE-p7:

WARNING: FreeBSD 7.0-RELEASE-p6 is approaching its End-of-Life date.
It is strongly recommended that you upgrade to a newer
release within the next 1 month.
edp# freebsd-update install
Installing updates… done.