Latest Posts
Setup a Kafka cluster with 3 nodes on CentOS 7
Apache Kafka is an open source distributed stream processing platform. From a high-level perspective, Kafka is a distributed messaging system that allows producers to send messages to a topic and consumers to read messages from a topic. Kafka is massively scalable and offers high throughput and low latency when operated in a cluster. This post explains how to set up a Kafka cluster consisting of 3 nodes for a development environment.
Continue ReadingCreate a minimal CentOS 7 Virtual Box image for Java application deployment
When working on a server-side Java project, I usually prefer to use a virtual machine to run the application. This post shows an example how to set up a Virtual Box CentOS 7 image that can be used to deploy our applications. An image like this can also be used to install services the application requires, e.g. a MySQL database, a Kafka instance or a distributed Ignite cache. I decided to describe this task quite detailed as I will use a basic image like this for several posts in the future.
Continue ReadingStart script for Spring Boot applications with sytemd on CentOS 7 and Ubuntu 17.10
In this post, we will create a Linux start script for a Spring Boot web application. The example is based on CentOS 7 / Ubuntu 17.10 using systemd. Additionally, we will utilize the Spring Boot Maven plugin to create an executable jar file. This executable jar file will be used in the context of systemd to automatically start the application whenever we restart the Linux server.
Continue ReadingSet up a private git server
In this post we are going to install a private git server, that can be used for small to medium size personal projects. The described process works on any Red Hat based distribution, e.g. CentOS or Fedora, but it should be easy to implement it on other distributions as well.
Continue ReadingSecure SSH access with certificate based authentication and firewall rules
When I set up a new Linux server, I usually take couple of steps to secure the way I connect to the box using SSH. In this post I will walk you through the process to secure SSH access using firewall rules, changing the SSH port and enabling certificate based authentication. In this example I used a CentOS 7 box.
Continue ReadingTags
AOP Apache Kafka Bootstrap Go Java Linux Nginx Security Spring Spring Boot Spring Security SSL ThymeleafSearch
Archive
- 1 April 2018
- 1 March 2018
- 2 February 2018
- 1 January 2018
- 5 December 2017
- 7 November 2017
- 2 October 2017