Yet Another Arch Guide

Setting up Arch with other bells and whistles.

Bash Tips & Tricks

Usefull bash tips & tricks

Changing boot targets

Switch between run levels / environments.

Mount with automount (autofs)

Automagically mount remote directories on login.

Troubles with interfaces after a VM clone

Remapping interfaces and their MAC address.

Let's Encrypt

Let’s Encrypt: Aanmaken / vernieuwen certificaat: /opt/letsencrypt/letsencrypt-auto certonly --expand ---email support@domain.tld --agree-tos --webroot -w /var/www/vhosts/WEB/ROOT -d domain.tld -d domainalias.tld --dry-run /bin/certbot --text --agree-tos --non-interactive certonly -a webroot --webroot-path /var/www/vhosts/WEB/ROOT -d domain.tld -d domainalias.tld --dry-run --dry-run om het aanmaken te testen. Apache / httpd (1) Voeg volgende regels toe aan de apache config: Alias /.well-known /var/www/vhosts/letsencrypt/.well-known <Directory /var/www/vhosts/letsencrypt/.well-known> order allow,deny allow from all satisfy any </Directory> Of (2) voeg volgende regels toe aan .

MySQL Tuner

MySQL Tuner WAARDE ACTIE query_cache_size AFBLIJVEN table_cache AFBLIJVEN (maximumwaarde = 64) table_open_cache AFBLIJVEN join_buffer_size Verhogen indien Joins performed without indexes++ tmp_table_size Verhogen = max_heap_table_size max_heap_table_size Verhogen = tmp_table_size query_cache_type =1 indien =0 mysql tuning improvements table_cache NOOIT hoger dan 64 Sudo vim /etc/my.cnf query_cache_size' => ‘256M’, It caches the select query along with the result set, which enables the identical selects to execute faster as the data fetches from the in memory.

Windows troubleshooting

Windows troubleshooting VRAGEN: openen vanuit ticketing, wachtwoord en gebruiker custom even viewer view? test server? EventViewer run: eventvwr custom views windows application (non windows standard, puppet, vmware, mssql, …) security, aan en afmelden set-up: updates en installatie verwijderen programma’s system: OS meldingen application and services: diep graven –> Filter Log: logged (date range) event level event source event ID: 99,-1024,-4634 rechtsonderaan > event copy > copy as text

Luks Encryption

Create an encrypted partition that will automatically mount at boot.