The user experienced a 'Segmentation fault (Core dumped)' error after installing and running Python 3.12 in Ubuntu. The problem was Python's standard library 'readline' crashing. The issue was resolved by installing libreadline-dev and recompiling Python 3.12 from the source.
Tag: Linux
TIL – Find the git commit that deleted a file in a git repository
The below command filters commits that deleted file using diff-filter from git log git log --diff-filter=D -- deleted_file.example It takes advantage of the flag diff-filter.
Setup Nginx Reverse Proxy to access PostgreSQL database remotely
In this tutorial, we will be discussing how we can leverage the power of Nginx to create a reverse proxy for our PostgreSQL server. This will allow us to access our PostgreSQL database from remote servers. So for example, let's say you have an app hosted in a vps and you would like to access the app db from your local computer.
How to read Data Matrix using Python in Linux
In this article, I'm going to introduce you to an interesting python module named pylibdmtx! This library is written based on the libdmtx library. You can install it in Ubuntu by using the following command: sudo apt install libdmtx0a Now that you have the library installed let's install pylibdmtx. I'm assuming you already have python…
Setup Real Time Login Alert using a Telegram Bot in Linux VPS
In this article, We are going to setup linux vps login alert based on PAM using Telegram Bot. I am assuming you already have a vps and know how to use ssh to login. 1. Create a Telegram Bot and Get the Access Token To create a Telegram bot, we will need a telegram account.…
How to run Multiple Terminal Sessions on Linux VPS Server
In this article, I will introduce you with one of the handy tool for your vps servers. It is an extremely useful app for maintaining multiple terminal sessions through just one window! This Command Line Utility is called Screen.You may think of it as a Manager who manages different terminal sessions for you using shell.…
How to create a .torrent file to share files or directories with a self hosted Private Tracker in Linux
In this tutorial, you will learn how to create self hosted private tracker using bittornado on a linux based system to share file using torrent and, seed it using ctorrent.