WordPress can be used for online courses
If you have an online course that can be accessed freely by anyone, WordPress is a good alternative. Use normal Posts and […]
Use openssl to encrypt secrets
If you have a secret key that you need to send to your friend, you certainly want to encrypt this secret. Sending […]
Find the country of the IP from your logs
First install the software: yum install GeoIP GeoIP-data Then: geoiplookup 40.77.167.49 which gives: GeoIP Country Edition: US, United States
Apache reverse-proxy to Nginx
I had a Nginx webserver that was behind a firewall, at the same time some external developers needed to access the website. […]
Upgrading mariadb 5.5 to mariadb 10.6 to support moodle 3.11
First you need to stop the running 5.5. version: Make a backup of your mariadb datafolder: Then remove the 5.5 version: Download […]
Machform error: Cardinality violation: 1242 Subquery returns more than 1 row
We have a multiuser Machform PHP application running on a Redhat 7 Linux server with Apache webserver and MariaDB database. In a […]