Skip to content

🔐 Karlo Luiten

Think Evil, DO Good

🔐 Karlo Luiten

Think Evil, DO Good

  • Home
  • About me
    • About me
    • LinkedIn
    • Guide to Karlo
  • SELinux cheat sheet
  • CISSP Reference
  • Contact
    • Home
    • 2023
    • May
Uncategorized

Elasticsearch start fail on debian 11 after install from ES repos

karlo May 16, 2023 0 Comments

This guide helped me a lot: https://techviewleo.com/install-elastic-stack-elk-8-on-ubuntu/ After first installing with this parameter: export ES_SKIP_SET_KERNEL_PARAMETERS=true && apt-get install elasticsearch I then used the linked guide. Important parts: sudo vim /etc/elasticsearch/elasticsearch.yml…

CLI and tools Linux

Add a simple password to apache site

karlo May 11, 2023 0 Comments

To add a password to your site: apt install apache2-utils htpasswd -c /etc/apache2/.htpasswd user # Config <Directory "/var/www/html"> AuthType Basic AuthName "Restricted Content" AuthUserFile /etc/apache2/.htpasswd Require valid-user </Directory>

Linux

Linux: add user to existing group

karlo May 11, 2023 0 Comments

To add an existing user to an existing Linux group: usermod -a -G group user # Example usermod -a -G www-data django

Networking

Mikrotik RouterOS guest VLAN routed over ProtonVPN (2023)

karlo May 9, 2023 0 Comments

Get a wireguard config, it has a private key and peer information Add a new wireguard interface, I called it proton1. Use the private key from the config file. Add…

CLI and tools

SSH in for loop (consuming stdin / using file descriptor 3)

karlo May 7, 2023 0 Comments

Ever found yourself using a for/while loop using SSH in the loop, only to find out your loop only runs once? Your stdin is captured by ssh... This can be…

CLI and tools

Bash clear tmp files (for script) on exit (trap)

karlo May 7, 2023 0 Comments

TMP="$(mktemp -d)" trap 'rm -rf -- "$TMP"' EXIT

Uncategorized

Apache2 (apache) forward https headers

karlo May 3, 2023 0 Comments

RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME} RequestHeader set "X-Forwarded-SSL" expr=%{HTTPS}

Uncategorized

Postgres read long lines (wrap text)

karlo May 1, 2023 0 Comments

\pset format wrapped

Posts

  • Python upgrade venv python binary/version September 15, 2023
  • Git use different ssh key once September 12, 2023
  • TASK ERROR: zfs error: could not find any snapshots to destroy; check snapshot names. September 5, 2023
  • Upgrade postgresql cluster from 13 to 15 June 29, 2023
  • Upgrade debian 11 to 12 June 29, 2023
  • Elasticsearch start fail on debian 11 after install from ES repos May 16, 2023
  • Add a simple password to apache site May 11, 2023
  • Linux: add user to existing group May 11, 2023
  • Mikrotik RouterOS guest VLAN routed over ProtonVPN (2023) May 9, 2023
  • SSH in for loop (consuming stdin / using file descriptor 3) May 7, 2023
  • Bash clear tmp files (for script) on exit (trap) May 7, 2023
  • Apache2 (apache) forward https headers May 3, 2023
  • Postgres read long lines (wrap text) May 1, 2023
  • Install `strings` command in debian/linux April 30, 2023
  • SSH jump host config April 8, 2023
  • Wireguard site-to-site (proxmox to mikrotik/routeros) April 8, 2023
  • Masquerade ip forward for Proxmox on hetzner (single IP) April 7, 2023
  • Proxmox migrate to node outside of cluster April 7, 2023
  • Fix “Cannot remove image, a guest with VMID ‘xxx’ exists!” April 7, 2023
  • Add Microsoft fonts (like Arial) to Nextcloud Office (Collabora) April 4, 2023

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Posts

Uncategorized

Python upgrade venv python binary/version

Uncategorized

Git use different ssh key once

Uncategorized

TASK ERROR: zfs error: could not find any snapshots to destroy; check snapshot names.

Uncategorized

Upgrade postgresql cluster from 13 to 15

🔐 Karlo Luiten

Think Evil, DO Good

Copyright © All rights reserved | Blogus by Themeansar.