You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
297 lines
12 KiB
297 lines
12 KiB
<!DOCTYPE html> |
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> |
|
<head> |
|
<title> |
|
Hagfi.sh |
|
</title> |
|
|
|
<link href="http://gmpg.org/xfn/11" rel="profile"> |
|
<meta http-equiv="content-type" content="text/html; charset=utf-8"> |
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> |
|
|
|
<meta name="description" content=""> |
|
<meta name="keywords" content=""> |
|
<meta name="author" content=""> |
|
<meta name="generator" content="Hugo 0.18.1" /> |
|
|
|
<meta property="og:title" content="Hagfi.sh" /> |
|
<meta property="og:description" content="" /> |
|
<meta property="og:type" content="website" /> |
|
<meta property="og:locale" content="en_US" /> |
|
<meta property="og:url" content="https://hagfi.sh/" /> |
|
|
|
|
|
|
|
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/base-min.css"> |
|
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/pure-min.css"> |
|
|
|
|
|
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/grids-responsive-min.css"> |
|
|
|
|
|
|
|
<link rel="stylesheet" href="https://hagfi.sh//css/redlounge.css"> |
|
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet"> |
|
<link href='//fonts.googleapis.com/css?family=Raleway:400,200,100,700,300,500,600,800' rel='stylesheet' type='text/css'> |
|
<link href='//fonts.googleapis.com/css?family=Libre+Baskerville:400,700,400italic' rel='stylesheet' type='text/css'> |
|
|
|
|
|
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/touch-icon-144-precomposed.png"> |
|
<link rel="shortcut icon" type="image/x-icon" href="/img/favicon.png"> |
|
|
|
|
|
<link href="https://hagfi.sh/index.xml" rel="alternate" type="application/rss+xml" title="Hagfi.sh" /> |
|
|
|
|
|
|
|
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/styles/tomorrow-night-bright.min.css"> |
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/highlight.min.js"></script> |
|
<script>hljs.initHighlightingOnLoad();</script> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</head> |
|
|
|
<body> |
|
<div id="layout" class="pure-g"> |
|
<div class="sidebar pure-u-1 pure-u-md-1-4"> |
|
<div class="header"> |
|
|
|
|
|
|
|
|
|
<h1 class="brand-title">Hagfi.sh</h1> |
|
<h2 class="brand-tagline">Documentation</h2> |
|
|
|
<nav class="nav"> |
|
<ul class="nav-list"> |
|
<li class="nav-item"><span class="nav-item-separator">//</span><a href="https://hagfi.sh/">Home</a></li> |
|
|
|
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/administration">Administration</a></li> |
|
|
|
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/development">Development</a></li> |
|
|
|
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/tools">Tools</a></li> |
|
|
|
</ul> |
|
</nav> |
|
|
|
|
|
|
|
</div> |
|
</div> |
|
|
|
|
|
<div class="content pure-u-1 pure-u-md-3-4"> |
|
<a name="top"></a> |
|
|
|
|
|
<div class="posts"> |
|
|
|
|
|
<section class="post"> |
|
<header class="post-header"> |
|
|
|
<h1 class="post-title"> |
|
<a href="/administration/letsencrypt/">Let's Encrypt</a> |
|
</h1> |
|
</header> |
|
<p class="post-meta"> |
|
|
|
<span class="post-date"> |
|
<span class="post-date-day"><sup>25</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Aug</span> <span class="post-date-year">2018</span> |
|
</span> |
|
|
|
|
|
|
|
|
|
|
|
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>2 min. read</em></span> |
|
|
|
|
|
</p> |
|
|
|
<article class="post-summary"> |
|
Let’s Encrypt: Aanmaken / vernieuwen certificaat: /opt/letsencrypt/letsencrypt-auto certonly --expand ---email support@nucleus.be --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 . |
|
</article> |
|
<div class="read-more-link"> |
|
<a href="/administration/letsencrypt/"><span class="read-more-slashes">//</span>Read More...</a> |
|
</div> |
|
|
|
</section> |
|
|
|
<section class="post"> |
|
<header class="post-header"> |
|
|
|
<h1 class="post-title"> |
|
<a href="/administration/mysql_tuner/">MySQL Tuner</a> |
|
</h1> |
|
</header> |
|
<p class="post-meta"> |
|
|
|
<span class="post-date"> |
|
<span class="post-date-day"><sup>25</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Aug</span> <span class="post-date-year">2018</span> |
|
</span> |
|
|
|
|
|
|
|
|
|
|
|
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>3 min. read</em></span> |
|
|
|
|
|
</p> |
|
|
|
<article class="post-summary"> |
|
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. |
|
</article> |
|
<div class="read-more-link"> |
|
<a href="/administration/mysql_tuner/"><span class="read-more-slashes">//</span>Read More...</a> |
|
</div> |
|
|
|
</section> |
|
|
|
<section class="post"> |
|
<header class="post-header"> |
|
|
|
<h1 class="post-title"> |
|
<a href="/administration/windows_troubleshooting/">Windows troubleshooting</a> |
|
</h1> |
|
</header> |
|
<p class="post-meta"> |
|
|
|
<span class="post-date"> |
|
<span class="post-date-day"><sup>25</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Aug</span> <span class="post-date-year">2018</span> |
|
</span> |
|
|
|
|
|
|
|
|
|
|
|
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>2 min. read</em></span> |
|
|
|
|
|
</p> |
|
|
|
<article class="post-summary"> |
|
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 |
|
</article> |
|
<div class="read-more-link"> |
|
<a href="/administration/windows_troubleshooting/"><span class="read-more-slashes">//</span>Read More...</a> |
|
</div> |
|
|
|
</section> |
|
|
|
<section class="post"> |
|
<header class="post-header"> |
|
|
|
<h1 class="post-title"> |
|
<a href="/administration/dont-let-your-application-interfere-with-letsencrypt/">Dont Let Your Application Interfere With Letsencrypt</a> |
|
</h1> |
|
</header> |
|
<p class="post-meta"> |
|
|
|
<span class="post-date"> |
|
<span class="post-date-day"><sup>23</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Aug</span> <span class="post-date-year">2018</span> |
|
</span> |
|
|
|
|
|
|
|
|
|
|
|
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>1 min. read</em></span> |
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
<h2 id="tips-and-tricks-to-keep-letsencrypt-working">Tips and tricks to keep letsencrypt working</h2> |
|
|
|
|
|
</section> |
|
|
|
<section class="post"> |
|
<header class="post-header"> |
|
|
|
<h1 class="post-title"> |
|
<a href="/development/vue-js/">Vue Js</a> |
|
</h1> |
|
</header> |
|
<p class="post-meta"> |
|
|
|
<span class="post-date"> |
|
<span class="post-date-day"><sup>23</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Aug</span> <span class="post-date-year">2018</span> |
|
</span> |
|
|
|
|
|
|
|
|
|
|
|
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>1 min. read</em></span> |
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
<h2 id="awesomeness-about-vuejs">Awesomeness about VueJS</h2> |
|
|
|
|
|
</section> |
|
|
|
<section class="post"> |
|
<header class="post-header"> |
|
|
|
<h1 class="post-title"> |
|
<a href="/administration/luks-encryption/">Luks Encryption</a> |
|
</h1> |
|
</header> |
|
<p class="post-meta"> |
|
|
|
<span class="post-date"> |
|
<span class="post-date-day"><sup>23</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Aug</span> <span class="post-date-year">2018</span> |
|
</span> |
|
|
|
|
|
By <a class="post-author" >Kristof Vandam</a> |
|
|
|
|
|
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>1 min. read</em></span> |
|
|
|
|
|
</p> |
|
|
|
<article class="post-summary"> |
|
Add a new disk (LVM) root@server:/dev/centos # for i in /sys/class/scsi_host/host*; do echo "- - -" > $i/scan; done root@server:/dev/centos # NEWDISK=$(dmesg|tail|grep 'Attached'|awk '{print $4}'|tail -n1|cut -d "[" -f2|cut -d "]" -f1) root@server:/dev/centos # VGROUP=$(vgdisplay|grep Name|head -n1|awk '{print $3}') root@server:/dev/centos # echo ${NEWDISK} sdd root@server:/dev/centos # echo ${VGROUP} centos root@server:/dev/centos # pvcreate /dev/${NEWDISK} Physical volume "/dev/sdd" successfully created. root@server:/dev/centos # vgextend ${VGROUP} /dev/${NEWDISK} Volume group "centos" successfully extended Create a logical volume (LVM) root@server:/dev/centos # lvcreate -L 15G -n encrypted centos Logical volume "encrypted" created. |
|
</article> |
|
<div class="read-more-link"> |
|
<a href="/administration/luks-encryption/"><span class="read-more-slashes">//</span>Read More...</a> |
|
</div> |
|
|
|
</section> |
|
|
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
|
|
</body> |
|
</html>
|
|
|