Guide

Kerio Control ©: install it on APU2

Disclaimer of liability of this guide

The information and data contained in this guide, in all sites that have a link to this guide, including texts, graphics, link links or other elements, serve only to inform customers of the potential offered, and must be considered as such.

Atlante Informatica s.r.l. will not be liable for any damage, regardless of whether the damage is caused by the use or inability to use this guide, or caused by the information contained in it. If due to the use of the information contained in this guide, those who use it will have to modify a piece of equipment or have to incur expenses, these cannot be attributed to Atlante Informatica s.r.l. and remain in their charge.

In any case, Atlante Informatica s.r.l. it is not exonerated where the law expressly provides for it.

The use of this guide involves the tacit acceptance of the aforementioned disclaimers.

Introduction

With this guide we want to show you the steps to take to install Kerio Control © on the entry level Apu2 4Gb Ram appliance.

For our laboratory we used:

APU 2 4GB Ram with 64GB MSATA

Kerio Control © version 9.2.9

Null modem cable

Create the USB stick

We have prepared the flash drive with Rufus by setting these parameters:

Once the writing is complete, open the isolinux.cfg file on the stick (E: boot Linux)

and modify it as follows and save:

PROMPT 1
TIMEOUT 20
DEFAULT linux
DISPLAY f1.txt
F1 f1.txt
LABEL linux
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd console=ttyS0,115200n8
LABEL auto
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd autoinstall console=ttyS0,115200n8
LABEL safe
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd noacpi nosmp console=ttyS0,115200n8

Connect the serial to your PC with speed 115200 n 8 1 (possibly use the program MobaxTerm for simplicity).

CAUTION!!!!
CONNECT ONLY NIC 1 (CLOSE TO SERIAL) IF YOU HAVE A DHCP IN YOUR NETWORK. OTHERWISE ALL CONNECTED NICS WILL BE CONFIGURED TO DEFAULT AS WAN AND WILL NOT BE ACCESSIBLE

Put the stick in the APU2 still off, and power it up to start the boot.
As soon as the boot starts it will ask you if you want to access the boot menu: yes.

Press F10, and choose the USB stick

The classic Kerio Control © installation will then start on the console output. Once finished, connect an ethernet cable to the central port and from the web go here: https://10.10.10.1:4081/admin to complete the installation from the graphical interface.

Kerio

To enable the SSH (after installation is complete)

From the graphical interface of Kerio Control ©, hold SHIFT and go to system –> health status. The button: Enable SSH will appear

To enable the console boot output (once installation is complete)

For expert users: be careful because you could ruin the correct execution of the program.

We enable SSH in the console.

First we need to replace the partition with the write rights.

Kerio

Then we change the speed from 9600 to 115200 (APU speed)

Kerio

We modify the file as follows:

# $Revision$

::sysinit:/usr/bin/run-parts2 -a start /etc/boxrc.d
::ctrlaltdel:/sbin/reboot
::shutdown:/usr/bin/run-parts2 –reverse -a stop /etc/boxrc.d
::restart:/sbin/init

tty1::respawn:/usr/sbin/kerio-console.init
tty2::respawn:/sbin/getty -L 115200 tty2
tty3::respawn:/sbin/getty -L 115200 tty3
ttyS0::respawn:/sbin/getty -L 115200 ttyS0

After the reboot we will have this screen on the console:

# OPTIONAL – ATTENTION, ONLY FOR EXPERIENCED USERS WHY CAN MAKE THE SYSTEM UNSTABLE #
We modify the boot to get all the output in serial.

First you need to get the file grub-mkconfig_lib (we used that of a Debian 8 Jessie). Then follow the commands below, after editing the file / usr / share / grub / default / grub as shown in the figure.

Before being able to give the upgrade-grub2 command, you must remount sda1 in rw

Kerio

Then:

Kerio
  ti posso interessare anche