Setup OMD Server

From Comprofix
Jump to navigation Jump to search


System Overview

  • OS: Debian Linux
  • RAM: 2GB
  • HDD: 20GB

Install Debian

  • Install Debian using the NetInstall Media
  • Set Language to English
  • Set Country to Australia
  • Set Keymap to American English
  • Set a hostname - monitoring
  • Set a Domain Name - Blank
  • Leave Root Password blank and continue. User will be added to the sudo group.
  • Set full name for new user - administrator
  • Set a username - administrator
  • Set users password
  • Set State for time zone - Queensland
  • Set Partition Method - Guided - use entire disk
  • Select Disk
  • Set Partition Scheme - All files in one partition...
  • Finish Partitioning
  • Write changes to disks - Yes
  • Select Country for Debian Archive Mirror - Australia
  • Select Archive Mirror -
  • HTTP Proxy - None
  • Package Survey - No
  • Choose Software to Install - SSH server, standard system utilities
  • Install GRUB boot loader - Yes
  • Select Device for boot loader - /dev/sda
  • Installation Complete - Continue

System Setup

  • Login as the user you created
  • Update Sources Lists
sudo sed -i 's/main.*/main contrib non-free/g' /etc/apt/sources.list
apt-get update
apt-get upgrade
  • Install system utilities
sudo apt-get -y install vim sudo build-essential git curl linux-headers-$(uname -r) zsh

Install OMD

  • Install GPG Key for OMD Repository
gpg --keyserver --recv-keys F8C1CA08A57B9ED7
gpg --armor --export F8C1CA08A57B9ED7 | apt-key add -
  • Add OMD Source List
sudo echo "deb jessie main" | sudo tee -a /etc/apt/sources.list.d/
sudo apt-get update

Check for your correct source

Install OMD

apt-get install omd-1.30
  • Enter a Password for the MySQL "root" user when prompted
  • Create a site for OMD
omd create <sitename>
  • Start the OMD Site
omd start <sitename>
  • Open a web browser to machines IP Address/sitename
Username: omdadmin
Password: omd
  • OMD Installation is now complete