Compare commits

...

7 Commits

Author SHA1 Message Date
Cédric Verstraeten
48cce20353 changed installation procedure 2015-07-05 20:42:03 +02:00
Cédric Verstraeten
e312ec391c change installation procedure 2015-07-05 20:41:06 +02:00
Cédric Verstraeten
1cd7410440 release 1.0.3 2015-07-05 20:23:19 +02:00
Cédric Verstraeten
dc63f9e62d release 1.0.3 2015-07-05 20:21:25 +02:00
Cédric Verstraeten
dfc74857e3 zipped images 2015-06-25 21:57:40 +02:00
Cédric Verstraeten
f243a02fd9 moved storage to google drive 2015-06-25 20:41:13 +02:00
Cédric Verstraeten
7d5818e21d hotfixes on images: resolved memory leak, optimized cloud sync 2015-06-24 07:00:15 +02:00
8 changed files with 70 additions and 78 deletions

View File

@@ -23,17 +23,16 @@ If you want to use Kerberos.io **as a service**, this would be the preferred way
First you will need to download the Kerberos image; click on the image below. The Kerberos.io image contains a Linux operating system, built on Arch Linux. The image has the machinery and webinterface installed, and ofcourse all the dependencies Kerberos needs. With this image you just have to plugin the SD card in your Raspberry Pi and you're done.
#### Raspberry Pi Model 2 (Recommended)
The Raspberry Pi 2 is the successor to the Raspberry Pi. It builds upon the original model B+ upgrading to 1 GB of RAM, and replacing the aged ARMv6l single-core with an ARMv7l Cortex-A7 quad-core.
[![Kerberos.io image](3_kerberos-image.png)](https://drive.google.com/open?id=0B-2b4NYY_1xuUmxxOURISjQweGc)
#### Raspberry Pi Model A, A+, B and B+
The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. Its a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video.
[![Kerberos.io image](3_kerberos-image.png)](https://mega.co.nz/#!OEAi3BaR!ukDKabNQVkhdGVOB0HiSUKiZ3sZyjIRk9wCuMA6Fyv0)
#### Raspberry Pi Model 2
The Raspberry Pi 2 is the successor to the Raspberry Pi. It builds upon the original model B+ upgrading to 1 GB of RAM, and replacing the aged ARMv6l single-core with an ARMv7l Cortex-A7 quad-core.
[![Kerberos.io image](3_kerberos-image.png)](https://mega.co.nz/#!PBhh2LhB!SH2VyZs1dJMRUbVmSzvem6G-itwfqSvBiuVdPDLfJeQ)
[![Kerberos.io image](3_kerberos-image.png)](https://drive.google.com/open?id=0B-2b4NYY_1xuMWpLcU8zWjl2cTg)
<a name="insert-your-sd-card"></a>
### 2. Insert your SD Card
@@ -109,4 +108,4 @@ To use Kerberos you only need access to the webinterface, however you can also *
<a name="install-from-source"></a>
## Install from source
This will be the procedure if you want to contribute to Kerberos or if you want to use Kerberos on your local machine. To install Kerberos from source; you will need to **[compile the machinery](/1.0.0/machinery/installation)** from source and **[import the webinterface](/1.0.0/web/installation)** into your favorite webserver.
This will be the procedure if you want to contribute to Kerberos or if you want to use Kerberos on your local machine. To install Kerberos from source; you will need to **[compile the machinery](/1.0.0/machinery/installation)** from source and **[import the webinterface](/1.0.0/web/installation)** into your favorite webserver.

View File

@@ -35,10 +35,6 @@ Compile kerberos
cd kerberos-io && mkdir build && cd build
cmake .. && make && make check
Add link library to path
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/home/kerberos-io/build/thirdparty/lib/
Give rights to config files
chmod -R 777 ../config
@@ -62,22 +58,6 @@ Copy and paste the configuration to the kerberos.service
[Install]
WantedBy=multi-user.target
Create timer file for kerberos
nano /etc/systemd/system/kerberos.timer
Copy and paste the configuration to the kerberos.timer
[Unit]
Description=Runs kerberos.service, 1 min after system boot.
[Timer]
OnBootSec=1min
Unit=kerberos.service
[Install]
WantedBy=multi-user.target
Enable the service to start on boot
systemctl enable kerberos.timer
systemctl enable kerberos.service

View File

@@ -1,9 +1,27 @@
# Release notes
* [1.0.3](#1-0-3)
* [1.0.2](#1-0-2)
* [1.0.1](#1-0-1)
* [1.0.0](#1-0-0)
<a name="1-0-3"></a>
## 1.0.3
#### Web
* Optimize performance, new datastructure has been implemented.
#### Machinery
* Memory optimization.
* Removal of images older than 3 days have been removed.
* Start machinery automatically (delay has been removed).
#### Cloud
* Resolved file exist problem.
<a name="1-0-2"></a>
## 1.0.2
@@ -13,15 +31,18 @@
#### Machinery
* Added extra timezones to timezone.xml
* Added extra timezones to timezone.xml.
<a name="1-0-1"></a>
## 1.0.1
#### Hot fixes
#### Web
* Improved error handling (date search)
* Improved memory cleanup
* Improved error handling (date search).
#### Machinery
* Improved memory cleanup.
<a name="1-0-0"></a>
## 1.0.0

View File

@@ -370,10 +370,6 @@ Copy paste the bash script
/usr/bin/forever restartall ;
fi;
#############################################
# Only keep images of last 3 days on sd-card.
##
find /home/kerberos-web/public/capture/ -type f -name '*.jpg' -mtime +1 -exec rm {} \;
##############################################################
# Check if disk size is more than 95%, if so remove some files
@@ -381,7 +377,7 @@ Copy paste the bash script
##
if [[ $(df -h | grep /dev/root | awk -F' ' '{ print $5/1 }' | tr ['%'] ["0"]) -gt 95 ]];
then
rm -f $( ls -d -1tr /home/kerberos-web/public/capture/* | head -n 500);
rm -f $( ls -d -1tr /home/kerberos-web/public/capture/* | head -n 1000);
fi;
Give rights to bash script

View File

@@ -23,17 +23,16 @@ If you want to use Kerberos.io **as a service**, this would be the preferred way
First you will need to download the Kerberos image; click on the image below. The Kerberos.io image contains a Linux operating system, built on Arch Linux. The image has the machinery and webinterface installed, and ofcourse all the dependencies Kerberos needs. With this image you just have to plugin the SD card in your Raspberry Pi and you're done.
#### Raspberry Pi Model 2 (Recommended)
The Raspberry Pi 2 is the successor to the Raspberry Pi. It builds upon the original model B+ upgrading to 1 GB of RAM, and replacing the aged ARMv6l single-core with an ARMv7l Cortex-A7 quad-core.
[![Kerberos.io image](3_kerberos-image.png)](https://drive.google.com/open?id=0B-2b4NYY_1xuUmxxOURISjQweGc)
#### Raspberry Pi Model A, A+, B and B+
The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. Its a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video.
[![Kerberos.io image](3_kerberos-image.png)](https://mega.co.nz/#!OEAi3BaR!ukDKabNQVkhdGVOB0HiSUKiZ3sZyjIRk9wCuMA6Fyv0)
#### Raspberry Pi Model 2
The Raspberry Pi 2 is the successor to the Raspberry Pi. It builds upon the original model B+ upgrading to 1 GB of RAM, and replacing the aged ARMv6l single-core with an ARMv7l Cortex-A7 quad-core.
[![Kerberos.io image](3_kerberos-image.png)](https://mega.co.nz/#!PBhh2LhB!SH2VyZs1dJMRUbVmSzvem6G-itwfqSvBiuVdPDLfJeQ)
[![Kerberos.io image](3_kerberos-image.png)](https://drive.google.com/open?id=0B-2b4NYY_1xuMWpLcU8zWjl2cTg)
<a name="insert-your-sd-card"></a>
### 2. Insert your SD Card
@@ -92,7 +91,7 @@ In Terminal, enter the following command ensuring that you identify the correct
<a name="setup-wifi-connection"></a>
### 4. (Optional) Setup WIFI connection
If you will be using Kerberos.io with a WIFI dongle, then check out the [F.A.Q. page](/dev/FAQ#setup-wifi).
If you will be using Kerberos.io with a WIFI dongle, then check out the [F.A.Q. page](/1.0.0/FAQ#setup-wifi).
<a name="power-on-raspberry-pi"></a>
### 5. Power on the Raspberry Pi
@@ -104,9 +103,9 @@ When the installation is completed, you can **plug the SD card** into your Raspb
<a name="access-raspberry-pi"></a>
### 6. (Optional) Access the Raspberry Pi with SSH
To use Kerberos you only need access to the webinterface, however you can also **[access the system with SSH](/dev/FAQ#how-to-access-the-pi)**.
To use Kerberos you only need access to the webinterface, however you can also **[access the system with SSH](/1.0.0/FAQ#how-to-access-the-pi)**.
<a name="install-from-source"></a>
## Install from source
This will be the procedure if you want to contribute to Kerberos or if you want to use Kerberos on your local machine. To install Kerberos from source; you will need to **[compile the machinery](/dev/machinery/installation)** from source and **[import the webinterface](/dev/web/installation)** into your favorite webserver1.
This will be the procedure if you want to contribute to Kerberos or if you want to use Kerberos on your local machine. To install Kerberos from source; you will need to **[compile the machinery](/1.0.0/machinery/installation)** from source and **[import the webinterface](/1.0.0/web/installation)** into your favorite webserver.

View File

@@ -35,10 +35,6 @@ Compile kerberos
cd kerberos-io && mkdir build && cd build
cmake .. && make && make check
Add link library to path
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/home/kerberos-io/build/thirdparty/lib/
Give rights to config files
chmod -R 777 ../config
@@ -62,22 +58,6 @@ Copy and paste the configuration to the kerberos.service
[Install]
WantedBy=multi-user.target
Create timer file for kerberos
nano /etc/systemd/system/kerberos.timer
Copy and paste the configuration to the kerberos.timer
[Unit]
Description=Runs kerberos.service, 1 min after system boot.
[Timer]
OnBootSec=1min
Unit=kerberos.service
[Install]
WantedBy=multi-user.target
Enable the service to start on boot
systemctl enable kerberos.timer
systemctl enable kerberos.service

View File

@@ -1,9 +1,27 @@
# Release notes
* [1.0.3](#1-0-3)
* [1.0.2](#1-0-2)
* [1.0.1](#1-0-1)
* [1.0.0](#1-0-0)
<a name="1-0-3"></a>
## 1.0.3
#### Web
* Optimize performance, new datastructure has been implemented.
#### Machinery
* Memory optimization.
* Removal of images older than 3 days have been removed.
* Start machinery automatically (delay has been removed).
#### Cloud
* Resolved file exist problem.
<a name="1-0-2"></a>
## 1.0.2
@@ -13,15 +31,18 @@
#### Machinery
* Added extra timezones to timezone.xml
* Added extra timezones to timezone.xml.
<a name="1-0-1"></a>
## 1.0.1
#### Hot fixes
#### Web
* Improved error handling (date search)
* Improved memory cleanup
* Improved error handling (date search).
#### Machinery
* Improved memory cleanup.
<a name="1-0-0"></a>
## 1.0.0

View File

@@ -370,10 +370,6 @@ Copy paste the bash script
/usr/bin/forever restartall ;
fi;
#############################################
# Only keep images of last 3 days on sd-card.
##
find /home/kerberos-web/public/capture/ -type f -name '*.jpg' -mtime +1 -exec rm {} \;
##############################################################
# Check if disk size is more than 95%, if so remove some files
@@ -381,7 +377,7 @@ Copy paste the bash script
##
if [[ $(df -h | grep /dev/root | awk -F' ' '{ print $5/1 }' | tr ['%'] ["0"]) -gt 95 ]];
then
rm -f $( ls -d -1tr /home/kerberos-web/public/capture/* | head -n 500);
rm -f $( ls -d -1tr /home/kerberos-web/public/capture/* | head -n 1000);
fi;
Give rights to bash script