Vagrant and DigitalOcean (APIv2)

Introduction In this tutorial we learned to very basics of Vagrant. Essentially, it was showing how to create virtual machines on top of VirtualBox. In today’s article, I wanted to show you how to do this with DigitalOcean. In other words, we will create a recipe to create a virtual machine running on DigitalOcean. Installing the DigitalOcean plugin… Read More »

Getting started with Vagrant

Introduction I recently had to look deeper into Vagrant. Sure I heard about it, but I never got my hands dirty with it. As usual, I try to document most things of what I learn. Otherwise, I will have forgotten about it by next month. So, let’s get started. What is Vagrant? Vagrant allows you to create virtual… Read More »

ELK tutorial: part 3

Installing and configuring Logstash-Forwarder On the central server, create a folder called ‘/etc/pki/tls/certs’ and ‘/etc/pki/tls/private’: ubuntu@elk: sudo mkdir -p /etc/pki/tls/certs ubuntu@elk: sudo mkdir /etc/pki/tls/private Because logstash-forwarder is using an SSL connection to the ELK server, we will need to create a certificate. To do so, add the following to your ‘/etc/ssl/openssl.cfg’ file (most likely the v3_ca tag is… Read More »

ELK tutorial: part 2

Introduction In part 1, we installed the ELK stack. This part will focus on the configuration of it. We’ll keep it rather simple for now. We will process a local Apache access log file and visualize it using Kibana. Let’s get started! Configuring Logstash Logstash needs a configuration file. input { stdin { } } filter { grok… Read More »

ELK tutorial: part 1

[keen] Introduction I have recently been playing around with Elastisearch, Logstash and Kibana, often referred to as the ELK stack. Installing ELK Installing ELK is rather simple. To do so, go to the Elastic website (here) and download each package. As I’m running on Ubuntu (fresh install on Openstack), I’m downloading the equivalent packages for each service: ubuntu@elk:~$… Read More »

Consuming Express (NodeJS) REST API with Angular

In our previous post, we had developed a simple Jade application to consume the REST API service we developed in this post. Right now, we will basically do the same but we will use Angular instead of Jade. To get started, we will first clone the Github repository that contains the server code. wim@ubuntu:~/Blog/Express_Todo_Mongo_API_Angular$ git clone https://github.com/wiwa1978/blog-express-todo-mongo-api Express_Todo_Mongo_API_Angular… Read More »

Consuming Express (NodeJS) REST API with Jade

In this post, we created a REST API server that allows a client to add, update, delete and show todo items. One could use a REST client, such as POSTMAN, to consume the REST API services exposed by the REST server developed in Express (NodeJS). In this post, we are going to clone the repository from Github and… Read More »

REST API Server with Node (Express) and Mongo

In previous posts, I have been using Sinatra and Flask to create a REST API for a simple todo application. Nodejs has been on my todo list for quite some time so I decided to get to create the same todo-application again in NodeJS (with the Express JS framework). Have fun following this tutorial. Luckily, the Express framework… Read More »

Raspberry Pi and Unison

What is Unison Unison is a small file synchronisation tool, very similar to Dropbox actually. Only difference is that Dropbox is a cloud service, while Unison is able to perform syncing between two computers on a local network. Install Unison on MAC I have been downloading Unison (version 2.40.69) for MAC OSX. You can find it here. The… Read More »