Skip to content

Instantly share code, notes, and snippets.

View oadiazm's full-sized avatar

Oscar Andrés Díaz oadiazm

View GitHub Profile
@oadiazm
oadiazm / zimbra-letsencrypt-renew.md
Created December 24, 2019 21:49 — forked from ugurerkan/zimbra-letsencrypt-renew.md
Zimbra 8.6.0 Letsencrypt SSL renew walkthrough.
1) Prerequisite : Properly configured Hot / Warm Elasticsearch cluster with correct node attributes.
2) Configure Metricbeat to point directly to Elasticsearch and run setup
NOTE: When metricbeat setup is run, it will overwrite the ILM Policy and recreate the bootstrap index with that policy,
this is often confusing. Running setup also creates all the dashboards, index templates etc. so it is very useful.
As part of the template it will name the ILM policy and rollover_alias in this example metricbeat-7.4.0
./metricbeat setup
@oadiazm
oadiazm / linux-vms-on-apple-m1-with-networking.md
Created July 11, 2024 20:58 — forked from davidandreoletti/linux-vms-on-apple-m1-with-networking.md
Short summary to run Linux VMs on an Apple M1 host using QEMU, libvirt and HVF with a working network setup

Linux Virtual Machines with Private Network on an Apple M1 Device

Background

The aim was to be able to:

  1. Run multiple Linux VMs on an Apple M1/ARM device
  2. Use Apple's HVF for native performance speeds
  3. Configure VMs to allow network access to each other
  4. Configure VMs to allow access to the internet
  5. Not rely on custom modifications of software
@oadiazm
oadiazm / README.md
Created August 2, 2024 21:12 — forked from DavainWhite/README.md
Setting up Docker, Rancher, and Traefik with Monitoring Tools in a Secure Environment

Setting up Docker, Rancher, and Traefik with Monitoring Tools in a Secure Environment

This Cloud-Init script facilitates a robust deployment of Docker, Rancher, Traefik, and integrates Prometheus, Grafana, and Loki for comprehensive monitoring within an isolated environment, leveraging the ubuntu/jammy/cloud LXD image. Meticulous attention has been given to fortify the infrastructure, implementing strict access controls, minimal container permissions, and automated SSL provisioning via Traefik integrated with Cloudflare for seamless certificate renewal.

Requirements

  • Operational knowledge of LXD, Docker, Rancher, and Cloudflare.
  • Access to the ubuntu/jammy/cloud LXD image.
  • Additionally, refer to Monitoring Stack Gist for deploying the monitoring stack.