In this post we will demonstrate how to create authorized files with correct permissions in Linux. First create the deploy user and in my case add it to the docker group: $ useradd -s /bin/bash -m -G docker -c "docker…
Linux
A collection of 26 posts
Getting Started with Multipass VMs
I stumbled upon a great project from Canonical called Multipass which allows you to run lightweight virtual machines on your laptop/workstation and it's super fast! It's using the native hypervisors of all supported platforms, so you can run Multipass…
Capturing 54 Million Passwords with a Docker SSH Honeypot
The last couple of days I picked up on my ELK Stack a couple thousands of SSH Brute Force Attacks, so I decided I will just revisit my SSH Server configuration, and change my SSH Port to something else for…
Install Java Development Kit 10 on Ubuntu
With the announcement of improved docker container integration with Java 10, the JVM is now aware of resource constraints, as not from prior versions. More information on this post Differences in Java 8 and Java 10: As you can see…
Nginx Basic Authentication with Source IP Whitelisting
Quick post on how to setup HTTP Basic Authentication and whitelist IP Based Sources to not get prompted for Authentication. This could be useful for systems interacting with Nginx, so that they don't have to provide authentication. Dependencies: Install nginx…
Setup Payara Java Application Server on Ubuntu 16.04
Today we will setup Payara 5 on Ubuntu 16.04 About: Payara is an Open Source Java Application Server. Pre-Requirements: Update and Install Java 8: $ apt update && apt upgrade -y $ apt-get install wget curl unzip software-properties-common python-software-properties -y…
Create a Logical Storage Volume using LVM on Ubuntu
Logical Volume Manager (LVM) - adds an extra layer between the physical disks and the file system, which allows you to resize your storage on the fly, use multiple disks, instead of one, etc. Concepts: Physical Volume: Physical Volume represents…
Expanding the Size of your EBS Volume on AWS EC2 for Linux
Resizing your EBS Volume on the fly, that is attached to your EC2 Linux instance, on Amazon Web Services. We want to resize our EBS Volume from 100GB to 1000GB and at the moment my EBS Volume is 100GB, as…