Asterisk Blacklist Hobby webbhotell


Update to PHP 8.1 on Ubuntu 22.04

Filed under: Uncategorized — Mathz @ 14:23
Add PPA for PHP 8.1
sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update

Install PHP 8.1
sudo apt install php8.1

Install PHP 8.1 Packages
sudo apt install php8.1-common php8.1-mysql php8.1-xml php8.1-xmlrpc php8.1-curl php8.1-gd php8.1-imagick php8.1-cli php8.1-dev php8.1-imap php8.1-mbstring php8.1-opcache php8.1-soap php8.1-zip php8.1-intl -y

PHP 8 Enable
sudo a2dismod php<old-php-version>
sudo a2enmod php8.1  
sudo service apache2 restart

Enable PHP version for Console
sudo update-alternatives --config php 


Clean docker images and volumes

Filed under: Uncategorized — Mathz @ 17:50
docker image prune -a
docker volume prune -f
docker system prune -a -f


Secret API URL for Home Assistant Pollenkollen

Filed under: Uncategorized — Mathz @ 22:24


Test drive speed and IO

Filed under: Uncategorized — Mathz @ 15:12

fio --ioengine=libaio --filename=test --size=10G --time_based --name=fio --group_reporting --runtime=60 --iodepth=32 --rw=read --bs=1M --numjobs=24


Tibber price chart

Filed under: Uncategorized — Mathz @ 15:20

Fil med apexcharts-card config:




Filed under: Uncategorized — Mathz @ 18:05

sudo lvextend -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv

sudo resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv


Home Assistant not healthy

Filed under: Uncategorized — Mathz @ 13:28
'AddonManager.update' blocked from execution, system is not healthy
'NodeRed.update' blocked from execution, system is not healthy
Error during processing IssueType.TRUST

ha su repair
ha core rebuild
ha host reboot


Convert pfx file to pem file

Filed under: Uncategorized — Mathz @ 17:33

Conversion to a combined PEM file

To convert a PFX file to a PEM file that contains both the certificate and private key, the following command needs to be used:
# openssl pkcs12 -in filename.pfx -out cert.pem -nodes

Conversion to separate PEM files

We can extract the private key form a PFX to a PEM file with this command:
# openssl pkcs12 -in filename.pfx -nocerts -out key.pem

Exporting the certificate only:
# openssl pkcs12 -in filename.pfx -clcerts -nokeys -out cert.pem

Removing the password from the extracted private key:
# openssl rsa -in key.pem -out server.key


Ubuntu installed a fixed version of package

Filed under: Uncategorized — Mathz @ 18:44

Find all packages available

rmadison sudo

Install a specific version

sudo apt install sudo=1.8.31-1ubuntu1.2


NET::ERR_CERT_INVALID – Dockerfile docker-unifi-controller

Filed under: Hemsidor — Mathz @ 14:56

There’s a secret passphrase built into the error page. Just make sure the page is selected (click anywhere on the screen), and just type thisisunsafe.

Older Posts »

Powered by WordPress