Let’s see the David Gardner’s website to show us this trick :
Just have a look :
Slides from @vsrecio’s #dockerbday talk on @Docker up and running:
"Alexa , I need a Pi project for this week end !"
No probs sir … try to do the Alexa on rpi project :
I tried , and …. what a fu…g good tutorial
THANKS for this experience
I really enjoyed.
A little post to explain how i succeed to deploy a splunk forwarder on a raspberry pi 3
First install the client splunk enterprise on your labptop
Then configure it to accept receiving data on port 9997
In the upper right, click the dropdown for “Settings”. Under Data, click Forwarding and receiving, and you will be taken to the configuration page where you can set Splunk to listen for data from your Pi.
Click “configure receiving”, and you will be taken to the receive data configuration page. Assuming this is a brand new installation of Splunk, you will have no configurations. Click “New” and you will be taken to the new configuration wizard. For now, we will just add a new listener at port 9997, and click Save.
Then install the universal forwarder on your RPI :
Download the Universal Forwarder from http://apps.Splunk.com/app/1611 to your Pi
You’ll find some help on http://docs.splunk.com/Documentation/Splunk/6.0/Forwarding/Deployanixdfmanually
but it ‘s not necessary
just download the .tar file and use :
tar -xvf …. to unzip it
One important thing to know when installing the Universal Forwarder on *nix, is that the default install does NOT autorun on boot.
You can set it to autostart running the following as root:
$SPLUNK_HOME/bin/Splunk enable boot-start
To start Splunk on your forwarder, navigate to $SPLUNK_HOME /bin/ and run ./splunk start. You’ll see the standard output for startup.
At the next prompt, run ./splunk version, and you should see the version output for ARM Linux.
Congratulations, the Splunk Universal Forwarder is running on your Raspberry Pi!
Now, create a script which will be played by splunk to extract data :
edit file : $SPLUNK_HOME/bin/scripts
for c in $(seq 1 60)
TIME=$(date +"%D %T.%3N %Z")
CPU_TEMP=`echo $TEMP | cut -d \' -f 1`
VOLTS=`echo $VOLTS | cut -d V -f 1`
Then edit :
host = raspberrypi
index = main
interval = 60
source = cpu_details
sourcetype = pi_system_scripts
Then edit :
# Version 6.0
Where XX… is the IP of your labtop
BE CAREFUL to accept on your labtop firewall (Windows) the port 9997
if you don’t you will have in the log file on the rpi in $SPLUNK_HOME/var/log/splunk/splund.log
the error :
connection to ip=ip.address:9997 timed out
When it done just start splunk on the RPI :
and you ll receive data on the search screen of the plunk enterprise client installed on your labtop :
CONGRATULATION !! and have fun
The raspberry PI ZERO : the 5$ computer
A Broadcom BCM2835 application processor
1GHz ARM11 core (40% faster than Raspberry Pi 1)
512MB of LPDDR2 SDRAM
A micro-SD card slot
A mini-HDMI socket for 1080p60 video output
Micro-USB sockets for data and power
An unpopulated 40-pin GPIO header
Identical pinout to Model A+/B+/2B
An unpopulated composite video header
Our smallest ever form factor, at 65mm x 30mm x 5mm
I bought it yesterday and wait for te delivery
Will keep you in touch when tested
An infrastructure based on Varnish + Nginx + PHP-FPM + MariaDB
On Docker Containers
For a personnal blog or website
How : Build,Ship, Run
(Because the what is famous , we won’t do it from Dockerfiles . We will use Dockerhub images)
mkdir –p $HOME/data/webstack/conf $HOME/data/webstack/www
Step 2: install NGinx
docker pull nginx
Controle your image with docker images
Launch your container
docker pull jprjr/php–fpm
Let run the container :
docker run —name webstack_php_01 –p 9000:9000 –d jprjr/php–fpm
Step 4 : Make them talk together
Docker option : –link
We will copy the nginx configfile to the host
docker cp webstack_nginx_1:/etc/nginx/nginx.conf $HOME/data/webstack/conf/nginx.conf
Add the server part
In our usecase we need that the nginx container webstack_nginx_1 can communicate with the PHP container (webstack_php_01).
We delete the existing containers
docker stop webstack_php_01 && docker rm webstack_php_01
docker stop webstack_nginx_1 && docker rm webstack_nginx_1
And we recreate them by using a docker-compose command
Before create a docker-compose.yml file
– « 9000:9000 »
– « 8080:80 »
Then run the command
and try it :
Waffle creates a free project management solution from your existing GitHub Issues.
Track Your Work Automatically
Your Waffle board shows your GitHub Issues and Pull Requests in real time. Never wonder if an Issue is still in progress or not. Waffle listens to the actions in your workflow to know when work is finished and updates your status automatically.
Otto is the single solution to develop and deploy any application, with first class support for microservices.
Otto automatically builds development environments without any configuration; it can detect your project type and has built-in knowledge of industry-standard tools to setup a development environment that is ready to go. When you’re ready to deploy, otto builds and manages an infrastructure, sets up servers, builds, and deploys the application.
With the growing trend of microservices, Otto knows how to install and configure service dependencies for development and deployment. It automatically exposes these dependencies via DNS for your application to consume.