Linux - Svet Paregov https://paregov.net Svetoslav (Svet) Paregov's Personal Web Site Tue, 08 Mar 2022 16:02:47 +0000 en-US hourly 1 https://wordpress.org/?v=6.9.4 https://paregov.net/wp-content/uploads/2019/11/cropped-site_icon_512x512-32x32.png Linux - Svet Paregov https://paregov.net 32 32 169379028 Setup MicroK8s Kubernetes cluster on Ubuntu with ingress and dashboard https://paregov.net/setup-microk8s-kubernetes-cluster-on-ubuntu-with-ingress-and-dashboard/?utm_source=rss&utm_medium=rss&utm_campaign=setup-microk8s-kubernetes-cluster-on-ubuntu-with-ingress-and-dashboard Mon, 28 Feb 2022 14:47:35 +0000 https://paregov.net/?p=9641 So far I have been using only Docker Desktop and the Kubernetes provided with it. It is good enough for development, but I wanted to expose my services so I can access them through the internet and to know that they will start again on machine restart. In addition I would like to run them in a virtual machine (VM), so Windows is no longer an option. That means I need something else. For me the option is Linux and …

The post Setup MicroK8s Kubernetes cluster on Ubuntu with ingress and dashboard first appeared on Svet Paregov.

]]>
So far I have been using only Docker Desktop and the Kubernetes provided with it. It is good enough for development, but I wanted to expose my services so I can access them through the internet and to know that they will start again on machine restart. In addition I would like to run them in a virtual machine (VM), so Windows is no longer an option. That means I need something else. For me the option is Linux and …

The post Setup MicroK8s Kubernetes cluster on Ubuntu with ingress and dashboard first appeared on Svet Paregov.

]]>
9641
Nginx Proxy Manager and Let’s Encrypt certificates https://paregov.net/nginx-proxy-manager-and-lets-encrypt-certificates/?utm_source=rss&utm_medium=rss&utm_campaign=nginx-proxy-manager-and-lets-encrypt-certificates Mon, 03 Jan 2022 19:18:20 +0000 https://paregov.net/?p=9552 hero

In my previous for Nginx and Nginx Proxy Manager (NPM), I wrote on how to install NPM, but didn’t configure any certificates.

Out of the box Nginx Proxy Manager supports Let’s Encrypt SSL auto creation and renewal.

There is one limitation – you can create certificates only for specific domains/subdomains directly. If you want to create wildcard certificate you will need to use DNS Challenge.

What does that mean? You need to use some DNS server that allows API …

The post Nginx Proxy Manager and Let’s Encrypt certificates first appeared on Svet Paregov.

]]>
hero

In my previous for Nginx and Nginx Proxy Manager (NPM), I wrote on how to install NPM, but didn’t configure any certificates.

Out of the box Nginx Proxy Manager supports Let’s Encrypt SSL auto creation and renewal.

There is one limitation – you can create certificates only for specific domains/subdomains directly. If you want to create wildcard certificate you will need to use DNS Challenge.

What does that mean? You need to use some DNS server that allows API …

The post Nginx Proxy Manager and Let’s Encrypt certificates first appeared on Svet Paregov.

]]>
9552
NginX as a reverse proxy with Nginx Proxy Manager https://paregov.net/nginx-as-a-reverse-proxy-with-nginx-proxy-manager/?utm_source=rss&utm_medium=rss&utm_campaign=nginx-as-a-reverse-proxy-with-nginx-proxy-manager Mon, 03 Jan 2022 15:20:09 +0000 https://paregov.net/?p=9542

Lately I have started playing with Kubernetes and wanted to expose some of the locally hosted services on internet. The situation is that I want to expose multiple clusters running on separate machines through the same IP address and port. Checking around it seems nginx is the the best option. Keep in mind that even you want to expose just one service it is still good idea to do it through nginx.

I have installed Ubuntu 20.04.3 on Raspberry Pi …

The post NginX as a reverse proxy with Nginx Proxy Manager first appeared on Svet Paregov.

]]>

Lately I have started playing with Kubernetes and wanted to expose some of the locally hosted services on internet. The situation is that I want to expose multiple clusters running on separate machines through the same IP address and port. Checking around it seems nginx is the the best option. Keep in mind that even you want to expose just one service it is still good idea to do it through nginx.

I have installed Ubuntu 20.04.3 on Raspberry Pi …

The post NginX as a reverse proxy with Nginx Proxy Manager first appeared on Svet Paregov.

]]>
9542
How to recover mdadm RAID array after superblock is zeroed https://paregov.net/how-to-recover-mdadm-raid-array-after-superblock-is-zeroed/?utm_source=rss&utm_medium=rss&utm_campaign=how-to-recover-mdadm-raid-array-after-superblock-is-zeroed Sat, 05 Sep 2015 01:35:00 +0000 https://paregov.net/?p=6559 Few days ago I got one of my Linux RAID1 arrays go bad. One of the disks got bad sectors and the other one lost it’s superblock. So the array was degradated and the only one “good” disk was with bad sectors. I added a new disk and tried to sync the data but it stucked on 36%. Using tools like “dd” or “ddrescue” didn’t help neither. The “dd” just kept stopping and the “ddrescue” was recovering with 364Bytes/second so …

The post How to recover mdadm RAID array after superblock is zeroed first appeared on Svet Paregov.

]]>
Few days ago I got one of my Linux RAID1 arrays go bad. One of the disks got bad sectors and the other one lost it’s superblock. So the array was degradated and the only one “good” disk was with bad sectors. I added a new disk and tried to sync the data but it stucked on 36%. Using tools like “dd” or “ddrescue” didn’t help neither. The “dd” just kept stopping and the “ddrescue” was recovering with 364Bytes/second so …

The post How to recover mdadm RAID array after superblock is zeroed first appeared on Svet Paregov.

]]>
6559