Hagfi.sh https://blog.hagfi.sh/ Recent content on Hagfi.sh Hugo -- gohugo.io en-us Fri, 30 Nov 2018 10:08:22 +0200 Yet Another Arch Guide https://blog.hagfi.sh/administration/yet-another-arch-guide/ Fri, 30 Nov 2018 10:08:22 +0200 https://blog.hagfi.sh/administration/yet-another-arch-guide/ <p>Setting up Arch with other bells and whistles.</p> Bash Tips & Tricks https://blog.hagfi.sh/administration/bash/ Sun, 11 Nov 2018 16:01:15 +0100 https://blog.hagfi.sh/administration/bash/ <p>Usefull bash tips &amp; tricks</p> Changing boot targets https://blog.hagfi.sh/administration/boot-targets/ Fri, 09 Nov 2018 10:08:15 +0200 https://blog.hagfi.sh/administration/boot-targets/ <p>Switch between run levels / environments.</p> Mount with automount (autofs) https://blog.hagfi.sh/administration/autofs/ Fri, 09 Nov 2018 10:08:15 +0200 https://blog.hagfi.sh/administration/autofs/ <p>Automagically mount remote directories on login.</p> Fatrace: Report system wide file access events https://blog.hagfi.sh/tools/fatrace/ Mon, 05 Nov 2018 22:13:49 +0200 https://blog.hagfi.sh/tools/fatrace/ <p>fatrace watches every file on server (except from itself and other kernel file systems).</p> Troubles with interfaces after a VM clone https://blog.hagfi.sh/administration/toubles-with-interfaces-after-clone/ Mon, 05 Nov 2018 22:13:49 +0200 https://blog.hagfi.sh/administration/toubles-with-interfaces-after-clone/ <p>Remapping interfaces and their MAC address.</p> NCDU: NCurses Disk Usage https://blog.hagfi.sh/tools/ncdu/ Mon, 17 Sep 2018 22:18:38 +0200 https://blog.hagfi.sh/tools/ncdu/ <p>ncdu is a command line tool to scan and calculate directory and file sizes.</p> Live Search With HUGO https://blog.hagfi.sh/development/live-search-with-hugo/ Wed, 29 Aug 2018 22:44:46 +0200 https://blog.hagfi.sh/development/live-search-with-hugo/ <p>HUGO is static, that&rsquo;s a fact. How can I implement a live search? Searching the internet provided me only solutions that require a page refresh, this time of age performance is key, so that&rsquo;s why I wanted a fast and fuzzy search implementation.</p> Let's Encrypt https://blog.hagfi.sh/administration/letsencrypt/ Sat, 25 Aug 2018 22:08:15 +0200 https://blog.hagfi.sh/administration/letsencrypt/ Let&rsquo;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 &lt;Directory /var/www/vhosts/letsencrypt/.well-known&gt; order allow,deny allow from all satisfy any &lt;/Directory&gt; Of (2) voeg volgende regels toe aan . MySQL Tuner https://blog.hagfi.sh/administration/mysql_tuner/ Sat, 25 Aug 2018 22:08:15 +0200 https://blog.hagfi.sh/administration/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' =&gt; &lsquo;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 https://blog.hagfi.sh/administration/windows_troubleshooting/ Sat, 25 Aug 2018 22:08:15 +0200 https://blog.hagfi.sh/administration/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, &hellip;) security, aan en afmelden set-up: updates en installatie verwijderen programma&rsquo;s system: OS meldingen application and services: diep graven &ndash;&gt; Filter Log: logged (date range) event level event source event ID: 99,-1024,-4634 rechtsonderaan &gt; event copy &gt; copy as text Luks Encryption https://blog.hagfi.sh/administration/luks-encryption/ Thu, 23 Aug 2018 22:08:15 +0200 https://blog.hagfi.sh/administration/luks-encryption/ <p>Create an encrypted partition that will automatically mount at boot.</p> https://blog.hagfi.sh/index.json Sun, 05 Mar 2017 21:10:52 +0100 https://blog.hagfi.sh/index.json