Useful Linux Commands for OpsMgr

A few commands for Linux, for Windows people using System Center Operations Manager.

John Savill

January 26, 2014

1 Min Read
Useful Linux Commands for OpsMgr

Q: What are some useful Linux commands to enable management and monitoring with System Center Operations Manager?

A: I'm not a Linux person; however, I recently needed to show monitoring of Linux through Operations Manager. Here are some useful Linux commands I used.

I want to be clear--these are likely not best practices, but they enabled me to get the monitoring running and do some basic management.

First, I installed the graphical interface:

sudo apt-get updatesudo apt-get install ubuntu-desktop

Then I started the graphical interface:

startx

I then enabled the root account:

sudo passwd root

Note: It's not required to use the root account to monitor from Operations Manager, and it's possible to use sudo access. However, it's more work, so in many environments, unless there is a root objection, I just use root (certainly in lab environments).

OpenSSH is required, so if you didn't enable OpenSSH during Linux installation, use the following (also LAMP can be useful as it includes Apache and MySQL):

sudo apt-get install openssh-server

To reboot the server I use the following:

sudo reboot now

 

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like