today's howtos
-
Firewalld in Examples: A Complete Beginner’s Guide
This guide will teach you all you need to know to get started with firewalld to add, change, and remove rules from your firewall zones.
Nowadays, configuring and implementing a reliable firewall for your servers and network is a must. Without it, the question is no longer if but when malicious attacks will harm you, unfortunately, are common on the Internet these days.
This is where Firewalld comes into play. Firewalld, the default firewall in Linux distros such as Red Hat Enterprise Linux, Fedora, Oracle Linux, openSUSE, AlmaLinux, Rocky Linux, and others, provides all the protection you need to secure your servers and network. But before we get into how to use it, let’s first explain what it is.
-
Apache2 http logging into journald ring buffer - Lukáš Zapletal
My webserver at home has several services including Mastodon. And I use Apache2 for web content and as a reverse web proxy, however, this system is configured to log all hits in /var/log/httpd. Both disks in my server are SSD and I do not want to let it to rotate hundreds of megabytes of access logs every week full of bots trying to find security hole in wordpress or other known software (which is not even running on my site).
-
Prevent Lubuntu 22.04 (SDDM and LXQt) from leaving an external drive mounted incorrectly for other users | Fitzcarraldo’s Blog
An external USB disk drive is connected permanently to my family’s PC that currently has Lubuntu 22.04 installed. There are several user accounts on this multi-user single-seat machine. If a user does not unmount the external drive before logging out, when another user logs in, the external drive is still mounted with the priviledges of the previous user. In the days when Lubuntu used LightDM and LXDE, I devised a scheme to unmount automatically the external drive when each user logged out (see an earlier post). However, that method is no longer possible now Lubuntu no longer uses LightDM. Therefore I devised a different scheme. This time, the external drive is unmounted automatically every time a user logs in, and udisks2 automatically mounts it for the current user. Below I explain the new scheme. In the example below the external USB drive happens to be an NTFS drive and have the label ‘FREECOM HDD’. The machine actually has several user accounts but, for the sake of brevity, the commands for only two users are shown. All the steps shown below are performed by the account holder with the ability to use the sudo command to get superuser priviledges.
-
How to Display Your User Avatar in GNOME Quick Settings - OMG! Ubuntu!
A glut of great GNOME extensions that modify, manage, or merge features in to the new Quick Settings menu in GNOME 43 have been released over the past few weeks — and another one has just appeared!
We’ve seen Bluetooth integration, button removers, time remaining battery tweak, and a super all-in-one add-on that adds notifications and media controls to the Quick Settings menu.
The latest bolt-on for the fast-access menu?
-
How To Install GlassFish on Rocky Linux 9 - idroot
In this tutorial, we will show you how to install GlassFish on Rocky Linux 9. For those of you who didn’t know, GlassFish is a free and open-source implementation of the Java EE Platform developed by Eclipse. It’s the world’s leading implementation of the Java EE platform. GlassFish provides a lightweight application server and allows you to deploy multiple Java-based applications. The GlasshFish project was originally started by Sun Microsystem. It comes with two different free Licenses – The Common Development and Distribution License and the GNU General Public License.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the GlassFish on Rocky Linux. 9.
-
How to install Hugo website generator on Ubuntu 22.04
It is incredibly fast because it is written in Go and will be able to build your website in no time.
Hugo is open-source and completely free. So, you can use it without restrictions both for learning and for medium-scale information projects.
Hugo provides a robust theming system that is easy to implement but capable of producing even the most complicated websites. So, there will be no creativity problems when creating the site.
Therefore, it is an important tool, and we are going to install it.
-
2 Ways to VLC Media Player on Fedora 37/36/35
The VLC Media Player is an open-source, free portable, cross-platform media player software and streaming media server developed by the VideoLAN project. VLC can play nearly all known multimedia files and DVDs, Audio CDs, VCDs, and various streaming protocols and can be extended and customized with multiple plugins.
In the following tutorial, you will learn to install the VLC Media Player on a Fedora workstation desktop using two methods with RPM Fusion with the dnf package manager or the flatpak package manager, along with some tips in maintaining or removing VLC in the future using the command line terminal.