Not able to upgrade Ubuntu release

With the release of Ubuntu 20.02 LTS (Focal Fossa) my current Ubuntu server running 19.04 Disco Dingo did not receive updates anymore – Time to upgrade.So I connected to my server using SSH and entered the command which failed with the error: Failed to connect to https://changelogs.ubuntu.com/meta-release. Check your Internet connection Weiterlesen…

Build latest version of OpenSSL and Nginx from source

OpenSSL Download latest source: wget https://www.openssl.org/source/ Untar file: tar xvf cd into directory ./config (no sudo) make (no sudo) make test (no sudo) sudo make install reboot check new version with „openssl version“   If „openssl version“ gives an error after reboot: https://serverfault.com/questions/818445/error-while-loading-shared-libraries-libcrypto-so-1-1   Raspberry PI Nginx: https://github.com/MatthewVance/nginx-build Ubuntu: https://www.nginx.com/resources/admin-guide/installing-nginx-open-source/ and: https://www.vultr.com/docs/how-to-compile-nginx-from-source-on-ubuntu-16-04

MySQL inserts wrong datetime in table

set „default-time-zone               = ‚+02:00‘ “ in /etc/mysql/my.cnf and find used php ini file: php –ini and set „date.timezone = „Europe/Vienna“ “ in /etc/php/7.0/fpm/php.ini „date.timezone = „Europe/Vienna“ “ in /etc/php/7.0/cli/php.ini Maybe above isn’t necessary, just be aware of the export-settings in phpmyadmin. Under the point Data Creation Options there Weiterlesen…

Fix WordPress nginx infinite redirect

I’ve tried to access my newly setup WordPress-page through Chrome, Safari and Firefox and yll gave me the same endless redirect error. Finally after long search on Google and trial and error I found the solution https://stackoverflow.com/questions/19979843/wordpress-nginx-redirect-loop. Go to: /var/www/wordpress/wp-content/themes/THEMENAME/functions.php and add remove_filter(‚template_redirect‘, ‚redirect_canonical‘); right after the php opening tag (<?php). Weiterlesen…