Install WMIC on Debian Jessie for Observium

Modified from here to work with Debian Jessie Observium Turnkey VM

Step 1 – Install Required Packages

apt-get install autoconf bzip2 make build-essential

Step 2 – Download the ‘wmic’ source to /tmp

cd /tmp

wget http://www.openvas.org/download/wmi/wmi-1.3.14.tar.bz2

Step 3 – Untar the source

tar -jxvf wmi-1.3.14.tar.bz2

Step 4 – Go into the directory and add a line of text to the top of ‘GNUmakefile’

cd wmi-1.3.14/

#Edit ‘GNUmakefile’ and add the following at the top (just after the License Info) Step 5
ZENHOME=../..

Step 5 – Compile

make “CPP=gcc -E -ffreestanding”
#You will see an error, but if the bin file exists the build worked
Step 6
cp bin /bin/wmic
Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s