Running a classic web hosting environment with virtual hosts and chroot isolation has been the de facto standard for a long time. Even when using chroot all sites still share the same namespaces for network, users and processes. The Linux kernel has built in support for a set of features called LXC (Linux Containers) which… Continue reading Shared hosting vs. Containerized hosting
Author: Nimpen J. Nordström
System Developer and Network Security Enthusiast
Backup wordpress before upgrading
That’s what the title says, but what is the best way to do it..
dnssec, Bind9 on Alpine
Signing your zones might sound complicated, here are 5 steps to get going on Alpine Linux 3.12 with Bind 9.14. 1) Create the bind config Make sure to fulfil the necessary dependencies! The command for alpine is “apk add bind bind-dnssec-tools” # vi /etc/bind/named.conf /etc/bind/named.conf 2) Create your zonefile cd /etc/bind/zones vi bekla.ga /etc/bind/zones/bekla.ga 3)… Continue reading dnssec, Bind9 on Alpine
Moving in with Google
Our first LXC-Server hosted on the Google Cloud Platform
Autoload .ovpn on boot
Automation is what makes it possible to sit on the back porch chilling instead of manually running tasks
Unprivileged containers as root, an oxymoron?
It’s not, it can actually be accomplished by using subuid (subordinate user id’s) & subgid (subordinate group id’s) built into the linux kernel.
Building a RESTful API
API (Application Programming Interface) is a set of functions that allows the creation of applications that access the features or data of a service. A RESTful API uses HTTP requests to GET, PUT, POST and DELETE data.
Server room temperature surveillance
I’m kind of a control freak when it comes to my servers, lately the temperatures in Sweden reaches well above 30 degrees celsius and i need to get a warning in case the temp goes below 23 or above 26.
LXC 3 – the missing utilities
I have been using LXC for a while and there are a few commands i would like to have in my toolbox. In this article i will provide you with a few scripts for managing your LXC containers.
Better-, Butter-, B-tree Filesystem (btrfs)
My standard Linux server setup usually consists of a software raid1 with two disks syncing. The problem with traditional raid, both software and hardware raid, is that it is only useful if one of your drives completely dies. If you experience Silent Data Corruption or if your drive goes bad you might end up with… Continue reading Better-, Butter-, B-tree Filesystem (btrfs)