Pandora: Documentation en: Appliance Install

From Pandora FMS Wiki
Jump to: navigation, search

Go back to Pandora FMS documentation index

1 Appliance CD

Since releasing the 4.1 version, we have been using an Appliance installation system to install the operating system and Pandora FMS from the CD with all the required dependencies. In older versions, we used to use SUSE as Base System. However, since the 4.1. version, the base system is CentOs, RedHat Enterprise Linux's brother. The installation CD can be used to install Pandora FMS on a dedicated physical system or in a virtual machine.

The installation of the CD uses the Redhat installation system (Anaconda) itself, allowing a graphical or text installation. The CD comes with all the software required to accomplish the installation, so that Internet connection is not necessary to complete a full installation of Pandora FMS. Since the "normal installation" of Pandora from packages usually need Internet connection to solve dependencies, etc., we can consider this last improvement as a big advantage.

The basic credentials to access the machine when you have set up your application, are the following ones:

SSH Access

root / (defined in the initial installation)

MySQL access   

root / pandora

Pandora FMS Web Console

admin / pandora

1.1 Minimum Requirements

The installation CD has been conceived to preinstall Pandora FMS in medium-sized environments. However, if it is parameterized, you can adjust it so it will preinstall Pandora FMS in any kind of environment.

Nonetheless, the following things are required to instal the system.

  • 1024 MB RAM, 2GB recommended.
  • Disk 2GB, 8GB recommended.
  • 2.4Ghz CPU, Dual Core recommended.

1.2 Recording image to disk

  1. Linux: Use a disc burning application (brasero, k3b, wodim). (brasero, k3b, wodim).
  2. Windows: Use a disc burning application (nero, freeisoburner).
  3. Mac: Use the System Disk tool to burn the ISO.
  4. You will get a bootable CD with the installation system Pandora FMS
  5. You can also burn the ISO to a USB stick to boot the system from there.
  6. Check in your BIOS if your system does not boot using the CD as a source

1.3 Installation

This screen will show up when starting. If you do not press any key, the Live CD will be automatically loaded. You can use the live CD to "explore" Pandora FMS, but we do not recommend it.




Centos1.png



If you press a key in the boot screen, the boot menu will be displayed with the options you can see in the screenshot below. If you select "Install (Text mode) the installation will be performed in text mode. However, if you choose the Install option, the graphical installation will start (recommended).



Centos2.png




1.3.1 Graphical installation

The graphical installer will be guiding you throughout the whole installation process. This installer is available in several languages. It is a standard installation process used by Redhat / CentOS.



Cntos1.png
The graphic installer starts with a screen like this one.






Cntos2.png
Pick the installation language, which will be used for the base operating system.





Cntos3.png
Select the appropriate keyboard for the system.





Cntos4.png
If you have a special hardware disk, you can use an external CD with drivers. It's usual to use the default option (using default drivers).





Cntos5.png
Configure the machine hostname.





Cntos6.png
Select the time zone





Cntos7.png
Choose the password of the "root" user (super user)





Cntos8.png

Choose the partitioning. Unless you know what you are doing, use the "Use the entire disk" option.





Cntos9.png

Confirmation to create the filesystem. After that, the target disk will be erased.





Cntosa.png
The system starts copying data to the disk.





Cntosb.png
Pandora FMS has been successfully installed. Remove the CD from the drive and press the button to restart the system

1.3.2 Installation from the Live CD

If you have chosen the live cd or you have not had time to choose an option, after the boot, this screen with some icons will appear, including the Installation disk icon.



<center> Centos3.png



From this step on, the installation will be identical to the (Graphical) installation explained in the previous section.

1.3.3 Text mode installation

After selecting the "text mode installation", a welcome screen will appear.

Centos4.png



Now it's time to select the language. After selecting the language, an error may occur when finding the disk. In that case, please, restart the unit.

Centos5.png





Centos6.png



In this step you can choose your system time zone.

Centos8.png



Here, you must introduce the root password.

Centos9.png



One of the last steps is to select the type of partitioning. You will have thee options: use the entire disk, replace the installed system or use the free disk space.

Centos10.png





Centos11.png



Once all the steps have been completed, the files must be copied to the disk and the installation will be over.

Centos12.png



1.4 Post-installation

1.4.1 Time zone setup

It's very important that you configure the time zone in the Pandora FMS console. You access it in the Administration menu, under Setup.



Timezone setup console.PNG

Timezone must have the same time zone as the system or database to avoid mismatches of time.



1.5 First boot



Cntosboot.png
This is how the screen would look when booting the system.





Cntos desktop.png
Desktop after booting and logging in (automatically). If you prefer to manually log in, remember that the account "artica" does not have any password. You can set one from the system configuration.





Cntos setup.png
From these options you can configure the base system. You do not need to do anything from the command console, everything can be managed easily from here.





Cntos browser.png
If you click on the icon of Pandora in the desktop, you will access directly the Pandora Web Console with the browser.



Keep in mind that the "pandora" account of MySQL has been created with a fixed password. Go to / etc / pandora / pandora_server.conf to see the default password. Other fixed users have been created too. Both users, artica and root, have the same fixed password than the "pandora" MySQL user. Please, change this password as soon as possible with the following commands:

passwd root
passwd artica

To find the IP address assigned automatically to your system by the network, run the command below from a shell:

ifconfig

You can change the IP from the administration menus (Graphic mode) or though the command line with the Cent0s command:

system-config-network

Info.png

Just for advanced users: If you wish to set the system to NOT start in graphical mode, you can change the system runlevel by editing / etc / inittab and changing the level 5 for Level 3.

 


1.5.1 Server Reconfiguration

If you ever wish to change any parameter of the system network or anything else in the system, you can do it by using the system GUI menu or with the command 'setup' from the command line:



Cntos setup.png
From these options you can configure the base system. Everything can be managed easily from here.





Centos setup sc.png
"setup" screen , through the shell.



To make changes to the server from the command line, you need to execute commands as "root" or superuser account. To do this, you must obtain certain permissions by using the command:

su -

It will request the root password. If you enter it well, it should give you a shell like the following one, ending with "#". It means you have root permissions:

linux-9pg0:/home/user # 

Template warning.png

Beware when running commands as root. A misused command could disable the whole system

 


1.5.2 YUM packages Management

YUM is a package manager for CentOS command line similar to APT / GET of SUSE Zypper or Debian. To search for a package, use the line below:

yum search <nombre_paquete> 

To install a package:

yum install <nombre-paquete>

To install packages, you must do it like a root.

1.5.3 Technical Notes on Appliance

Note that the preconfigured system has the features below that you can change to increase safety:

  • SSH access as root enabled.
  • SELinux enforcement disabled.
  • Firewall disabled.
  • Automatic access to the "artica" account via sudo.
  • The artica account with password "pandora" is enabled by default.
  • Automatic Login System in the graphical console (X).
  • Pandora Web Console Default password (admin / pandora).
  • MySQL user "root" default password (different from OS user).

These parameters should be modified in a production system.

Go Back to Pandora FMS documentation index