hostname persistent – permanently without restart

Change hostname on Ubuntu without restart To change the hostname permanently without a restart enter the following command: hostnamectl set-hostname myhostname To verify: hostnamectl /etc/hostname contains name of the machine, as known to applications that run locally. /etc/hosts and DNS associate names with IP addresses. hostname may be mapped to whichever IP address the machine can access itself, but Read More …

SSL Wildcard *.example.com

SSL Wildcard CERT: sudo apt install certbot   certbot certonly –manual –preferred-challenges dns –server https://acme-v02.api.letsencrypt.org/directory –manual-public-ip-logging-ok -d ‘*.hg-system.com’   Go to your DNS Provider for e.g. Cloudflare insert the txt record “_acme-challenge” insert the code from the command ahead, wait for at least 2 min or till the DNS-Record is available and press enter (in Read More …

Solve GTA5 error 7002.1

GTA5 Error 7002.1 and why it happend. The Protected Folder Access is supposed to block crypto Trojans that want to encrypt the hard drive and limit the damage here. Since the Social Club accesses its own files at: %userprofile%\OneDrive\Dokumente\Rockstar Games\Launcher\, access is blocked here. To some extent To prevent errors such as the capture at Read More …

Linux Shell Scripts

#!/bin/bash url=$1 && file=”${url##*/}” && wget $url && extension=”${url##*.}” && echo -e “\n\n” if [ $extension = ‘js’ ] then echo -e “Generate JS HTML output\n” echo -ne “\n\n” elif [ $extension = ‘css’ ] then echo -e “Generate CSS HTML output\n” echo -ne “\n\n” elif [ $extension = ‘webp’ | $extension = ‘png’ | Read More …