It’s this time again. Last time in 2012. Fast forward to 2021. Here we are again. This time it a little different. The drive has not failed yet but it shows signs of failures. smartctrl says it cannot read few sectors. Waring: One thing you learn over many years working with computers, servers, etc, is… Continue reading gpt/mdadm/debian stable/failed drive replacement howto
Category: Debian
Enabling HTTP/2
aptitude or apt-get aptitude install php-fpma2enmod proxy_fcgi setenvifa2enconf php7.3-fpm #Lets enable mpm_event a2dismod php7.3a2dismod mpm_preforka2enmod mpm_event /etc/init.d/apache2 restart a2enmod http2 Few Errors that came up. The order above fixes the issues. a2enmod mpm_event Considering conflict mpm_worker for mpm_event: Considering conflict mpm_prefork for mpm_event: ERROR: Module mpm_prefork is enabled – cannot proceed due to conflicts. It… Continue reading Enabling HTTP/2
Mysql/MariaDB Upgrade from Debian 9 to 10
I read the release notes for Debian: https://www.debian.org/releases/stable/amd64/release-notes/ Did the standard upgrade from Debian 9(stretch) to Debian 10 (buster) In this blog we will cover the proper way to upgrade mysql as to not to get this problem. While I’m not saying this covers all steps mysql/mariadb upgrade, its a good lesson on what to… Continue reading Mysql/MariaDB Upgrade from Debian 9 to 10
Upgrade from Dell Latitude E7470 to Dell XPS P56F002
Dell XPS on Debian Stable 10, Thunderbolt, 2xhdmi Amazing setup
Moving / (root partition) to NVME while keeping /home on HDD
I need to move my running Linux Debian machine to my new m.2 nvme Samsung drive to gain 10x IO speed improvement. It’s crazy fast! The procedure is very similar as below http://lucasmanual.com/blog/move-root-partition-to-home-partition/ Prerequisites: You already installed NVME and partitioned it You have gpt2 with grub partition similar to : /dev/nvme0n1p1 [ 2.00 MiB] /dev/nvme0n1p2… Continue reading Moving / (root partition) to NVME while keeping /home on HDD
Cookiecutter – Modify context in post_gen_project.py
Cookiecutter is a template where you can setup skeleton of a project, and based on parameters from cookiecutter.json it will prefill all files with the supplied values. Advance Cookiecutter Question: How can I add new context based on what was submitted from cookiecutter.json, then come up with my own variations, and pass them back to… Continue reading Cookiecutter – Modify context in post_gen_project.py
AirMouse (MX3)- Disable Power Button (linux)
Hello, **Kids pressing the power button on a remote, and on a laptop** **You want your computer to be always on** **#Whyairmouse see below** In order to disable power button, go to settings in gnome shell. (or search settings) Click on keyboard Go to Window Then using your airmouse click “Toggle Full Screen” and press… Continue reading AirMouse (MX3)- Disable Power Button (linux)
JBL E50BT and Debian Linux
Hello, Install these packages and enjoy your music via bluetooth on gnome shell using JBL E50BT ($99 @ 12/2016) apt-get install pulseaudio pulseaudio-module-bluetooth pavucontrol bluez-firmware Keywords: JBL Bluetooth Debian Stable Jessie Pair E50BT
Quick Intro to Cassandra vs MongoDB with python
Cassandra Conclusion: “One way that Cassandra deviates from Mongo is that it offers much more control on how it’s data is laid out. Consider a scenario where we are interested in laying out large quantities of data that are related, like a friend’s list. Storing this in MongoDB can be a bit tricky – it’s… Continue reading Quick Intro to Cassandra vs MongoDB with python
Move root partition to home partition
If you have made these mistakes when installing your Linux Debian Server at home or work, this article might help you. Mistakes: * You split the drive into / (root portion) and /home portion. 3 years later and 1-2 Debian upgrades you run out of space on root. You need to move it off to… Continue reading Move root partition to home partition