A Linux OS created by Buildroot which runs Kerberos.io out-of-the-box.
Clone or download
Latest commit d9075ab May 31, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
arch initial commit Feb 26, 2016
board blacklist rtl8192cu May 26, 2018
boot initial commit Feb 26, 2016
configs upgrade May 24, 2018
fs initial commit Feb 26, 2016
linux initial commit Feb 26, 2016
package update linux-firmware May 31, 2018
support initial commit Feb 26, 2016
system initial commit Feb 26, 2016
toolchain initial commit Feb 26, 2016
.gitignore initial commit Feb 26, 2016
COPYING initial commit Feb 26, 2016
Config.in initial commit Feb 26, 2016
Config.in.legacy initial commit Feb 26, 2016
Makefile initial commit Feb 26, 2016
Makefile.legacy initial commit Feb 26, 2016
README.md Minor edits to formatting in README Mar 19, 2018
build.sh initial commit Feb 26, 2016
deploy.py fix change app storage path Apr 11, 2016
install-centos.sh add install on ubuntu 14 Apr 5, 2016
install-ubuntu.sh Update install-ubuntu.sh Jun 8, 2016
mkrelease.sh change working directory Jul 3, 2017
uploadrelease.py sort releases pick last Jul 3, 2017
writeimage.sh initial commit Feb 26, 2016

README.md

KERBEROS.IO

Join the chat gitcheese.com

Kerberos.io - video surveillance

Vote for features

Feature Requests

What is KiOS?

A Linux OS created by Buildroot which runs Kerberos.io out-of-the-box. This repository cross-compiles for the Raspberry Pi 1, 2 and 3. Below you can find an installation script for Ubuntu 14 and CentOS 7. When the compilation is done, three different images will be available in the current working directory.

How to install KiOS on your Raspberry Pi?

Please go to our documentation website, there is explained the complete process to get started with Kerberos.io.

How to build KiOS on Ubuntu 14

# Install dependencies

apt-get update
apt-get install -y git build-essential unzip mercurial php5 php5-gd mcrypt php5-mcrypt php5-curl
php5enmod mcrypt
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
apt-get install -y nodejs npm nodejs-legacy
npm install -g bower

# Cloning the source code

git clone https://github.com/kerberos-io/kios
cd kios
git checkout develop

# Creating releases for Raspberry Pi 1, 2 and 3

./build.sh all
./build.sh all mkrelease

How to build KiOS on CentOS 7

# Install dependencies

yum install -y git hg bc perl-devel dosfstools
curl --silent --location https://rpm.nodesource.com/setup_5.x | bash -
yum install -y php  php-xml php-gd php-curl nodejs
yum -y install epel-release && yum -y install php-mcrypt php-pdo
npm install -g bower
yum group install "Development Tools" -y

# Cloning the source code

git clone https://github.com/kerberos-io/kios
cd kios
git checkout develop

# Creating releases for Raspberry Pi 1, 2 and 3

./build.sh all
./build.sh all mkrelease

How to build KiOS on DigitalOcean

If you don't want to build KiOS on your local workingstation but you prefer to build it on a VM at DigitalOcean you're at the right place. You will find a script at the root of the KiOS repository named deploy.py.

The python script will need some environment variables and use the DigitalOcean API to create a VM, build KiOS, transfer the images to your local workingstation and destory the VM again.

Environment variables

You'll need to define severable variables; you can add these at the beginning of the deploy script or EXPORT them at your commandline.

# The token from your DigitalOcean account
os.environ['kerberosio_token'] = 'cdae884ef42585ca35e797bc0a2209ff9c5f94f1c59f15f7c3bcb9722bd17261'

# The name of the VM you will create; this doesn't matter at all..
os.environ['kerberosio_server_name'] = 'buildroot.cedricverstraeten.be'

# If you have added an SSH key to DigitalOcean, you can select it
os.environ['kerberosio_ssh_key'] = 'a1:50:01:fd:60:27:62:27:5d:aa:83:b0:c5:54:0c:37'

# Define the id of the image, you'd like to use (e.g. Ubuntu 14)
os.environ['kerberosio_image_id'] = '16724351'

# The location of where to install KiOS on the VM
os.environ['kerberosio_kios_dir'] = '/root/kios/'

# The location on your local workingstation where the images should be stored.
os.environ['kerberosio_release_dir'] = '/Users/cedricverst/Desktop/'

After you've defined the environment variables you can simply run the script and you will have some freshly build KiOs images. Hurray!