Select Page

Weakness

i have been aware of this, but i consider this a weakness because i have been wrong so many times. i’d watch something and about 1-2-5-10 minutes in, when some part of the content happens to click, I’ll formulate an opinion and do something stupid about it, like writing something, and then by the time it reaches the end, something has changed and what i initially believed becomes irrelevant and i change my mind, but i already did that stupid thing 😅

i know about this, but i keep doing it over and over again 😅 so it’s one of those things i know i have to improve but it seems i’m unsuccessful at.

i

Tasty – no-name recipe #1

Tasty – no-name recipe #1

When i was in the supermarket, had the impulse that i’d like to cook something with aubergines. My mom makes a killer stuffed aubergines with minced meat, so i thought i’d give it a go. So i bought 2 aubergines and a pack of beef and pork minced meat.

When i came home, i had a pan in which i fried some meat the other day, so i obviously reused that to flavor the minced meat even more, which after it was done, i took to the side.

i then chopped a couple of onions and a couple of cayenne peppers, left the seeds in there for heat, and some garlic and put it in the pan on medium heat, so they went frying slowly, while i started carving the insides of the aubergines and chopping them to add them to the fried onions and garlic. i added one big red pepper too, and then i realized that the whole thing was getting too big for the 2 aubergines, so i came up with another idea.

Whipped up my dutch oven, grabbed a zucchini and 4 carrots, chopped them round, and put them at the bottom. Then on top of them, i drizzled half the meat. Then i took the carved aubergines, and i sliced them sideways into pieces and made 2 black suns on top of the meat, and put whatever was left around them. Then dropped in the onion/garlic/peppers mixture on top of the rest of the meat.

Now, i needed some moisture inside the dutch oven but didn’t have any chicken or beef stock at home, so i just filled the frying pan with water, and let it boil a bit, deglazing everything from the bottom, and once it was close to boiling i threw that on top of the layers in the dutch oven, covered it up and put it in the oven at 180 degrees Celsius for 1 hour.

Once that was finished, i took a whole bunch of parsley and generously put it on top.

For lunch, i made a quick saffron risotto to go along with it. Came out fantastic.

i

Switch from MySQL 8 to MariaDB on cPanel/WHM

Apparently, the newest setup of cPanel servers comes in with MySQL8 by default. i have tried migrating a customer but there are some database incompatibilities, therefore we just put up another box with AlmaLinux 8 and here are the steps for performing a MySQL swap to MariaDB:

Now, this works on brand new servers, where maybe you forgot to setup MariaDB right in the beginning as per the cPanel tutorial here. If you have databases/users on the server and you still wish to downgrade, make sure to back them up beforehand, as we’re removing the SQL Server and the data.

  • Disable MySQL monitor in WHM >> Service Manager (we don’t want MySQL attempts to restart the service while we are working)
  • i cannot live without this: dnf install bash-completion
  • Stop MySQL: systemctl stop mysqld
  • mv /var/lib/mysql /var/lib/mysql-old
  • mv /etc/my.cnf /etc/my.cnf-old
  • Remove the MySQL rpm’s: yum remove mysql-community-client-8.0.32-1.el8.x86_64 mysql-community-common-8.0.32-1.el8.x86_64 mysql-community-libs-8.0.32-1.el8.x86_64 mysql-community-server-8.0.32-1.el8.x86_64 mysql-community-icu-data-files-8.0.32-1.el8.x86_64 mysql80-community-release-el8-4.noarch mysql-community-client-plugins-8.0.32-1.el8.x86_64
  • Add the MariaDB repo. i am adding the 10.3 – feel free to change for whatever version you need.
  • cat >> /etc/yum.repos.d/mariadb.repo << EOF
    [mariadb]
    name = MariaDB
    baseurl = http://yum.mariadb.org/10.3/rhel8-amd64
    module_hotfixes=1
    gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
    gpgcheck=1
    EOF
  • Install the MariaDB Server and Client: dnf update && dnf install MariaDB-client.x86_64 MariaDB-common.x86_64 MariaDB-server.x86_64
  • WHM >> SQL Services >> MySQL Root Password – > Change the MySQL root password
  • Force cPanel/WHM upgrade: /scripts/upcp –force
  • Enable the new MariaDB installation: systemctl enable mariadb.service
  • Enable the MySQL monitor in WHM >> Service Manager

That’s it! Enjoy!

i am back!

Under a different name, and after having scrapped 512kbps.com, but it’s been a long time and i have missed this. i have missed writing. i have done a bunch of reading meanwhile, and hopefully, this all comes down to be something better.

i realized that i missed writing. i missed a spot for the daily and the stuff i wanted to say. it was always nice to just let the fingers run across the keyboard and put out whatever came through. So there it is. i probably wish i had more to say right off the bat, but i am sure things will come just fine, since i just spent most of the time setting everything up and I’m not fully done.

Looking forward to seeing a new journey and whoever decides to tag along, I’m glad to see you.

i

OpenVPN SSL Certificate Update

Here’s a quick script that will allow you to update your OpenVPN SSL Certificate, in case it expired. Please keep in mind to update the “SERVER” variable, to the actual server string that’s in your installation, located in the folder: /etc/openvpn/easy-rsa/pki/reqs/

!#/bin/bash -x
SERVER=server_Tan0QTKIV8puAS5G
echo ${SERVER}
cd /etc/openvpn/easy-rsa/
rm pki/reqs/${SERVER}.req
rm pki/private/${SERVER}.key
rm pki/issued/${SERVER}.crt
EASYRSA_CERT_EXPIRE=3650 ./easyrsa build-server-full ${SERVER} nopass
EASYRSA_CRL_DAYS=3650 ./easyrsa gen-crl
cp pki/crl.pem /etc/openvpn
cp pki/issued/${SERVER}.crt /etc/openvpn
cp pki/private/${SERVER}.key /etc/openvpn/
systemctl restart [email protected]

Pin It on Pinterest