Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • How to Install Asterisk VoIP Server on Debian 11 | 10 - Linux Shout

    In this tutorial, we will discuss some of the steps and commands to install the Asterisk VoIP server on Debian 11 Bullseye or 10 Buster using the terminal to call over Android or iPhone using a local network.

  • How to Install PyCharm on Debian 11 Bullseye

    PyCharm is a dedicated Python graphical IDE (Integrated Development Environment) popular amongst Python developers with its wide range of essential tools such as analyzing code, debugging, and integration. The IDE also comes with the command line, connects to a database, creates a virtual environment, and manages your version control system (Git).

    In the following tutorial, you will learn how to install PyCharm Community, Professional or Educational, with Flatpak or Snapcraft (Snap) on Debian 11 Bullseye.

  • Install apps on Linux with Flatpak | Opensource.com

    Computer applications consist of many small files that are linked together to perform a set of tasks. Because they get presented as "apps," colorful icons in the menu or on a desktop, most of us think of applications as a single, almost tangible thing. And in a way, it's comforting to think of them that way because they feel manageable that way. If an application is actually the amalgamation of hundreds of little library and asset files scattered throughout your computer, where's the application? And existential crisis aside, what happens when one application needs one version of a library while another application demands a different version?

  • Easily Install PowerDNS Admin on Debian 11/Debian 10 - kifarunix.com

    In this tutorial, you will learn how to easily install PowerDNS Admin on Debian 11/Debian 10. PowerDNS Admin is a web administrative interface for PowerDNS. It enables you to easily create and manage DNS zones from a web browser.

  • See, Multi-Account Containers extension is not needed to use Containers in Firefox – LinuxBSDos.com

    That last bit about integration with Mozilla VPN is new and can be useful in some edge situations. But we won’t get into that in this article. Let’s just focus on Containers. Like I said earlier, I’ve always relied on the Firefox Multi-Account Containers extension because I thought that was the easiest method of managing Firefox containers. But what I didn’t know is that the features that the Firefox Multi-Account Containers bring to the table are already built into Firefox Core, so all that’s needed to make them shine is to just make 2 changes in the Firefox via about:config.

    Those 2 changes will give me the same functionalities as the Firefox Multi-Account Containers. So that’s what I’m going to show you show to do in this post. To begin, open a tab and type about:config in the address bar. After clicking through whatever prompt or warning it throws up, type privacy.user in the search bar. The two preferences you’re looking for are privacy.userContext.enabled and privacy.userContext.ui.enabled. Figure 2 shows both preferences in their default state – false. Notice that if you long left-click the new tab (+) button before installing the Firefox Multi-Account Containers extension and with both preferences in their default state, that noting happens.

  • [Old] Migrating Technical Docs from Jekyll to Hugo+Docsy

    Recently, I migrated Graphviz'technical documentation from the Jekyll static site generator to the Hugo static site generator, and specifically the Docsy Hugo theme for technical documentation.

    I thought it would be straightforward to move static site generators, but it turned out rather difficult, so perhaps it's worth writing about. Good technical doc infra is underrated. I hope this will be useful to write about for anyone considering a move from Jekyll to Hugo, or anyone interested in an evaluation of Docsy.

  • Log backtraces at obfuscated Android methods

    If you have the source code to the app, and the app is in debug mode (not obfuscated by ProGuard), this is easy: open Android Studio, click in the left-margin of the source code to add a breakpoint, untick the "Suspend" checkbox and tick the "Logging Options – Stack trace" checkbox.

  • Simple network dashboard with vnstat

    Hi! If you run a server or a router, you may want to have a nice view of the bandwidth usage and statistics. This is easy and quick to achieve using vnstat software. It will gather data regularly from network interfaces and store it in rrd files, it's very efficient and easy to use, and its companion program vnstati can generate pictures, perfect for easy visualization.

  • The Pagination Predicament

    Previously there were 10 posts to a page, then you had to click through to the next page to see more posts. I have nearly 250 posts on this site now; ain’t no-one got time to be wading through 25 pages of blog posts!

    So now, all my posts render on a single page. To help you further, posts can be filtered by category at the top of the main blog page.

    Since I don’t have any featured images being displayed in my posts feed, the page still loads really quickly. Even when rendering ~250 posts.

  • How we use the SLURM job scheduler system on our compute servers

    Our motivation for using SLURM at all is that we have a pool of compute servers of varying capacity, and some GPU servers as well. A few of these compute servers are general login servers, but the problem with these is that they're a free for all; anyone can log in at any time and start using CPU (and perhaps memory, although that can't be fair-share scheduled so it's first come, first served). Traditionally people have wanted to reserve some dedicated amount of resources that are theirs for some amount of time. Well, SLURM does that.

  • Why region based memory allocation help with fragmentation

    Overall, I think we can say that region allocation reduces fragmentation by making the order of allocating and freeing memory less important. If you intermix allocating a bunch of different sized objects and then don't free all of them (or delay freeing them for a long time), in a simple allocator you wind up with allocated holes in your free ranges. In a region allocator, those different sized allocations go to different regions, and failing to free all of the objects of one size (in one region) doesn't cause problems for other regions of other sizes.

  • Computation that needs to be "secure" is everywhere in practice

    The problem is that we have wound up with a lot of things on our devices that we want to keep confidential, or in another perspective we've wound up in a world where a lot of untrusted things have an inordinate amount of access to our devices. Cryptographic keys are the tip of the iceberg; there are also access tokens in the form of cookies, JWTs, and all of the other forms they take, URLs that we visit, apps that we use, what we type on the keyboard, and on and on and on. We are barely keeping up with identifying what's sensitive and needs to be kept confidential, never mind actually controlling snooping on it.

More in Tux Machines

Review: UBports on the PinePhone

At the end of 2021 I posted a review about the PinePhone and what it was like running the device's default operating system: Manjaro Linux featuring the Plasma Mobile interface. While I've had decent experiences with Plasma Mobile in the past, the combination of Manjaro, the PinePhone, and this interface left a lot to be desired. It was slow, it was unstable, and there were issues with the battery charge indicator. To make matters worse, the default applications were not polished or well named. It was a rough experience and, though I can see where there is hope for Manjaro on the PinePhone, I was eager to try something different. In the past I have had mostly good experiences with the UBports distribution. UBports is a community project which has continued Canonical's Ubuntu Touch operating system for smart phones and tablets. Since I've run UBports on devices which didn't have any more memory or processing power than the PinePhone, I was optimistic about trying out the PinePhone with this alternative distribution. Read more

Switching from OpenNTPd to Chrony

A friend recently reminded me of the existence of chrony, a "versatile implementation of the Network Time Protocol (NTP)". Read more

today's howtos

  • How to Enable MySQL/MariaDB Query Logging

    In this short and easy to follow guide, we cover how to enable MySQL/MariaDB query logging and save queries to a file. When using a database, it often happens that developers want to know what’s going on behind the scene. Whether it is for troubleshooting, performance tuning, or out of sheer curiosity. General query logs remain one of the most popular sources of auditing and diagnostic information in MySQL/MariaDB databases. After logging is enabled, the database server will write information to the log file when clients connect or disconnect, and it will log each SQL statement.

  • How to install Zotero on Ubuntu 22.04 or 20.04 LTS - Linux Shout

    Zotero is a reference management system and academic network, here we learn the steps to install Zotero in Linux such as Ubuntu 22.04 Jammy JellyFish or Ubuntu 20.04 Focal Fossa. Zotero is an open-source and free tool that helps in collecting, organizing, citing, and sharing research. It consists of two components: Zotero standalone (Mac, Windows, Linux) with a plugin for Firefox, Google Chrome, and Safari; Zotero web application: computer-independent access to your library, finding and setting up groups on specific topics (see collaboration), making contacts with others. The two components of this tool can be synchronized with each other. If you are often involved in extensive projects at work or have to write a large-scale work during your studies, you quickly lose track of the sources used. With Zotero, you keep all information together and create a clear library for your project without much effort. It is particularly suitable for literature research on the Internet and the direct transfer of the researched data and works in groups that want to manage literature together.

  • How to Copy Directory in Linux: (Beginner to Advance)

    While working in several operating systems, we use to add files and folders, cut, copy, edit and delete them as per our choice. Just like all these, the Linux system provides us the opportunity to copy a single folder to another folder even though the folder is empty or not. Therefore, we will discuss some easy methods to copy one directory to another in Ubuntu 20.04 system. Let’s have a fresh start by using the different ways to copy a directory from one place to another in Linux. For this particular purpose, we must open up the terminal shell as we are going to do all things in it. There are two ways to open it. One is from the activity search area and the other is the shortcut key “Ctrl+Alt+T”. Practice one of the mentioned methods to open it and start implementing the commands in it one by one.

  • How to Change Default Torrent Client for Magnet Links in Ubuntu 20.04+ | UbuntuHandbook

    When clicking a magnet link in Chrome browser, it pops-up with “Open xdg-open” option allows to launch the default app to start the downloading. Unlike Firefox, Google Chrome does not offer an option to choose which app to handle the link. Instead, it launches the default app directly. For those want to change this default app to handle magnet links, here’s how to do the trick in Ubuntu.

  • How to install Microsoft Fonts on Elementary OS 6.0 - Invidious
  • How to install VCV Rack 2 on a Chromebook

    Today we are looking at how to install VCV Rack 2 on a Chromebook. Please follow the video/audio guide as a tutorial where we explain the process step by step and use the commands below.

  • How to Install Papirus Icon Theme on Ubuntu - OMG! Ubuntu!

    Changing the icon theme on Ubuntu is an easy way to give your desktop a new look and feel. In this post we show you how to install Papirus icons on Ubuntu from a PPA. Why use the Papirus icon set? Because it’s good — in fact, it’s one of the best icon themes for Ubuntu not to mention other Linux distros like Linux Mint, Zorin OS, and Manjaro. Thousands of users use this set, and several Linux distributions ship it as their default.

  • Exploring GIT Commit Hashes & Generating Cryptographic Zeros – Jon's FOSS Blog

    So I was trying to research what goes into generating a GIT commit hash and I thought I would try to personalize the cryptographic hash output a little bit. My computer isn’t that powerful but it may be possible to generate more zeros!

Keyboards and Open-Source - Ignorance is bliss..

.

In my Keyboard Fun post from last year I talked a bit about my interest in mechanical keyboards. Since then, I played around with a few more keyboards/switches/keycaps/… Interesting enough, beside the actual hardware, naturally there is some software component to all these keyboards, too. Whereas most commercial keyboards still come with proprietary firmware, there is the trend within the keyboard enthusiast scene to go for open-source firmware. This allows you to properly update the firmware even from your Linux machine and do proper configuration of e.g. the keymap, too. Read more