Part 1 – Apple OSX MP – Configuring your Mac for OMI

So let’s get started!

The first thing we need to do is getting our Apple Mac ready for compiling OMI. To compile OMI on a Mac demands some changes in some of the source files of the OMI package. At this point I would like to give credit due to the following post that shows you how to compile OMI for Linux: Managing Linux via OMI: Installation. Before you change the settings on your Mac shown in this blog, please be aware that this might pose a security risk so I would advise against doing this on a production system. Ok Lets get started. The first thing we need to do is make sure we are working with the latest version of OSX. The version that we will be using is OS X 10.8 Mountain Lion.

Next we need to install Xcode (free of charge). Login to the App Store with your Apple ID and install Xcode.

In Xcode we need to change a settings before we can edit/compile/install the omi package. From the menu click Preferences and then the Downloads button. We need to add the Command Line Tools.

Your Mac does not allow you to edit source code downloaded form the internet by default. To change this we must browse to System Preferences -> Security & Privacy and change the Allow applications downloaded from: setting to Anywhere.

We also want to be able to login with SSH, so we enable this System Preferences -> Sharing and checking the Remote Login check box.

OMI expects to run under the root account, so we will want to enable it. To do this you must enable the root user:

  1. Choose Apple menu -> System Preferences, and then click Users & Groups.
  2. Click the lock icon to unlock it, and then type an administrator name and password.
  3. In the Network Account Server section, click Join or Edit.
  4. Click Open Directory Utility.
  5. Click the lock icon to unlock it, and then enter your administrator name and password.
  6. Choose Edit -> Enable Root User, and then enter a root user password in the Password and Verify fields.

Your Mac should now be ready to compile, configure, and install the OMI package as shown in part 2.

Advertisements

About Vincent de Vries

A proud (to be called) geek that is specialized in Microsoft products but is an equal opportunist for other platforms like Linux. Currently interested in Machine Learning and in particular Neural Networks.
This entry was posted in Apple Mac, Management Pack, MP, OpsMgr 2012. Bookmark the permalink.

One Response to Part 1 – Apple OSX MP – Configuring your Mac for OMI

  1. Pingback: Monitoring OS X Mountain Lion (10.8) with OpsMgr 2012 R2 | MP Alchemy

Leave a Reply

Fill in your details below or click an icon to log in:

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