P

How-to Guide Install IPMIView 2 on Debian/ Ubuntu

Hey folks,

Here's a quick, rough and ready guide for those new to the wonderful world of Linux, on getting Supermicro's IPMIView 2 packaged up and installed in a Debian based Linux Distro. I'll start off with a clean install of Ubuntu Mate as an example, as I have that to hand today. Also, I am doing this from the root account and not as a user, so you may need to set/ change permissions, perform additional steps etc on your install :)

Firstly you need to download two files. As I'm using Ubuntu Mate here, I'll just use Firefox for speed.

The latest IPMIView tar from the Supermicro ftp site is located here




You'll also need this little gem that I recently discovered from my travels on the web.




Once you have those in your downloads directory, you'll need to rename the ipmiview tar from Supermicro to "ipmiview_2.12.0+build160804.orig.tar.gz" in order that the builder script will play nice. Again, easily done without leaving the Desktop.




Now before we can do much with this, there are a couple of dependencies that we need to take care of, before attempting to build the Debian package proper for installation. Other Linux Distro's may already have these from the get go, but my copy of Ubuntu Mate doesn't. Luckily for us, these are available as easily installed packages from your repo.

These packages are:

The gcc compiler
The debhelper package used to help automate various tasks in Debian
The build-essential package which contains lists of other packages used when building new packages

The easiest way to install those and to perform the rest of this guide is to drop into the mate terminal and do it from the command line, but don't worry, it's easy peasey :)

We install the dependencies by typing "apt-get install gcc debhelper build-essential" and hitting return, you'll be asked to confirm the install, press Y and enter. It'll take a minute or two to install everything.






After that, run these commands, the last of which will take a minute or two to build the Debian package:

cd Downloads
tar zxf ipmiview_2.12.0+build160804.orig.tar.gz
cd IPMIView_2.12.0_build.160804_bundleJRE_Linux_x64/
tar xf ../ipmiview_2.12.0+build160804-1~all.debian.tar.xz
dpkg-buildpackage -us -uc -sa












It'll take a minute or two to build your package, so be patient here :)




To install the new package you just built type the following:

dpkg -i ../ipmiview_2.12.0+build160804-1~all_amd64.deb






After installation, you can launch IPMIView from the terminal by simply typing ipmiview and hitting enter, but that gets old quickly if you mainly play in the Desktop. To remedy that, we can create a quick desktop shortcut to make it more point and click.

Right click on the desktop and create a new empty file, name it ipmiview.desktop and save it. Yes, that's a dot in there :)




Open the file and type in the following then save and close:

[Desktop Entry]
Name=ipmiview
Exec=ipmiview
Terminal=true
Type=Application




Right click on the new ipmiview file and open the properties sheet. Select an icon, or provide your own if you wish. Then go to the permissions tab and check the box that says "allow executing file as program", then finally close the properties sheet. You should now be able to double click on the shortcut and run the application, without having to drop to the terminal.








So there you have it, nice and easy ipmi from your Debian based Desktop

My guide was inspired by this Blog that I tripped over recently, I hope you find it useful :)
  • Like
Reactions: jfoor
Author
pricklypunter
Views
7,328
First release
Last update
Rating
0.00 star(s) 0 ratings