Categories
Mastering Development System & Network

Monitoring disk with dockerized collectd

I’m trying to monitor my host’s disk usage using collectd from within docker. I’m using the df collectd plugin, but I keep getting the message: collectd[8]: df plugin: cu_mount_getlist failed. collectd[8]: read-function of plugin `df’ failed. Will suspend it for 20.000 seconds. I’m configuring df like this in collectd.conf: LoadPlugin "df" <Plugin df> MountPoint "/hostfs" […]

Categories
Mastering Development System & Network

Podman fails to add container to a pod [firewalld, nftables]

Can’t start a podman container nor can I add container to a pod on CentOS8. I’ve tried the usual actions, e.g.: Made sure I am starting with clean state: sudo podman system reset which has deleted all images, containers, etc. sudo podman run -dt –rm nginx — the image gets pulled successfully, but podman throws […]

Categories
Mastering Development System & Network

SSL configuration – Lightsail

Having trouble getting SSL working on Amazon Lightsail using let’s encrypt (certbot –apache) Lightsail image Centos7 Added Apache2 note: (example.com, subdomain.example.com are not my domains, I’m anonymizing them) These are the troubleshooting steps I’ve taken. I’m able to confirm 443 is open using netcat, apache is listening using lsof -i -P -n | grep LISTEN […]

Categories
Mastering Development System & Network

How to assign a public IPv6 IP to each VPN client if hosting provider only gives a /64

I am running Ubuntu 18.04 with a hosting provider (Vultr) who gives each VPS an IPv6 /64 subnet, and I am running a WireGuard VPN. But I want to give each VPN client device its own public, GUA IPv6 rather than assigning a ULA IP space to my VPN and doing NAT66. I heard things […]

Categories
Mastering Development System & Network

Windows with no login and startup screen?

I am installing a PC to control an automated consumables dispenser machine inside the company. It runs on Windows 10 and any customer can access the application, use the mouse and the keyboard. So I would like to hide the possibility to: Lock the PC Log-out When the PC starts it would automatically log-in with […]

Categories
Mastering Development System & Network

Windows with no login and startup screen?

I am installing a PC to control an automated consumables dispenser machine inside the company. It runs on Windows 10 and any customer can access the application, use the mouse and the keyboard. So I would like to hide the possibility to: Lock the PC Log-out When the PC starts it would automatically log-in with […]

Categories
Mastering Development System & Network

NTDS database file checksum mismatch

I have a Windows 2019 virtual server that acts as an Active Directory server, DNS & VPN server. There was a power outage on 15th of January. Since then I cannot start the server properly. The error code when booting Windows is: 0xc00002e2 I have to start the server in DSRM (Directory Services Restore Mode). […]

Categories
Mastering Development System & Network

NTDS database file checksum mismatch

I have a Windows 2019 virtual server that acts as an Active Directory server, DNS & VPN server. There was a power outage on 15th of January. Since then I cannot start the server properly. The error code when booting Windows is: 0xc00002e2 I have to start the server in DSRM (Directory Services Restore Mode). […]

Categories
Mastering Development System & Network

Blocking .ico files from being uploaded with NGINX

Someone keeps uploading .ico files to my wordpress sites. I’d like to know if their is a way to block certain file types from being uploaded int eh NGINX config?

Categories
Mastering Development System & Network

Why is ISC DHCP server ignoring the fixed-address statement?

I want for the devices which belong to different VLANs to have different routers. For instance: The device 10.0.10.84 inside a VLAN 10.0.10.0/24 would have its router set to 10.0.10.1, whereas: The device 10.0.11.6 belonging to 10.0.11.0/24 should use the router 10.0.11.1. I configured ISC DHCP server like this: subnet 10.0.10.0 netmask 255.255.255.0 { option […]