today's howtos
-
Enable .htaccess on Apache 2 Linux Server
When using the Apache web server, .htaccess files (also called “distributed configuration files”) are used to specify configuration on a per-directory basis, or more generally to modify the behavior of the Apache web server without having to access virtual hosts files directly (this is usually impossible for example, on shared hosts). For these .htaccess files to have any effect, we must first enable the pertinent setting in the Apache configuration.
In this tutorial, we will see how to enable .htacces on Apache 2 for a Linux system. You will also learn how to disable it, in case you decide to turn the setting off later.
-
How to get a Filename from the Absolute Path in Linux - TREND OCEANS
Let's say I do have the path of /usr/share/man/man1/basename.1.gz, which I'll use to execute the following command to get the filename.
-
System Clock vs Hardware Clock on Linux
The system clock and the hardware clock are used for different purposes on a Linux system. The system clock is maintained by the operating system, and the hardware clock is maintained in BIOS. The hardware clock will continue to keep time when the computer is powered off, thanks to the CMOS battery on the motherboard. The system clock maintains time by querying online time servers whenever the computer is powered on.
The hardware clock will set the time for the system clock upon installation if there is no internet connection. Apart from this scenario, there is little use for the hardware clock in Linux. Instead, Linux uses systemd to synchronize the system time with online servers or an NTPD server.
Linux programs and services will rely on the system clock, not the hardware clock. Usually, the hardware clock will get synchronized to the system time whenever the computer is powered off. This way, the hardware time can remain accurate and will not drift off more than a few milliseconds while the computer is off, usually. In this tutorial, you will learn the difference between system clock and hardware clock, and about commands that can be used to view or set the hardware clock and system clock in Linux.
-
How to install, generate and list Locale on Linux
The locale on a Linux system is what determines the type of characters and encoding that appear in your command line terminal. Changing the locale will set various environment variables to different values. The terminal and other applications can then query those variables to figure out what type of characters and settings to show the user.
In this tutorial, you will see the step by step instructions on how to list all of the available locales on your Linux system, as well as set and generate a new one to use.
-
List of exit codes on Linux
When a script or process exits or is terminated by some other means, it will have an exit code, which gives some indication about how or why the script or process ended. For example, an exit code of 0 means that the process exited without error – in other words, it completed its task and exited as expected. On the other hand, an exit code of 1 means that the process encountered some kind of error upon exiting.
In addition to those two exit codes, there are a slew of other reserved codes in Bash that have their own meanings. In this tutorial, we will show you a list of exit codes on a Linux system, and explain what each of them mean.
-
Change IP address on Ubuntu Server
You have two options when configuring the IP address on your Ubuntu Server, and that is either a static IP address or DHCP. A static IP address allows you to manually select your IP address by configuring it on the Linux system, whereas DHCP relies on the router or DHCP server to lease you an IP address – either a reserved one or the next available one that is currently free, depending on the setup.
In addition to the IP address configuration, Linux administrators may also need to set the DNS server and default gateway, or setup a virtual IP address. In this tutorial, you will see how to change to static IP or DHCP, and edit the other aforementioned network settings on Ubuntu Server.
-
Install Harbor Image Registry on Ubuntu 20.04|22.04 LTS
In this tutorial, we will show you how to install Harbor on Ubuntu systems.
Harbor is an open source registry that secures artifacts with policies and role-based access control, ensures images are scanned and free from vulnerabilities, and signs images as trusted. Harbor, a CNCF Graduated project, delivers compliance, performance, and interoperability to help you consistently and securely manage artifacts across cloud native compute platforms like Kubernetes and Docker.
-
How to install LOMP Stack on Ubuntu 22.04
LOMP Stack is an acronym for Linux, OpenLiteSpeed, MariaDB and PHP. OpenLiteSpeed is an open-source version of LiteSpeed Web Server. Litespeed servers are essentially known for the best performance and responsive web server and it integrates easily well with different versions of PHP. MariaDB is a database server, Alot of popular CMS uses MariaDB/MySQL as a database backend to store the content so we will be installing that and alot of CMS are based on PHP Language!
-
How to Install Python 3.9 on Linux Mint 21 LTS
Python is a programming language that is widely used in many different applications. Python 3.9 is now classified as a Long Term Support (LTS) release of Python, which was released on October 5, 2020. Python 3.9 has moved to a security LTS release, receiving security-only updates until October 5, 2025. Python 3.9 includes many new features from 3.8 and improvements, such as support for Unicode 13.0 and improvements to the asyncio library. In addition, Python 3.9 is now faster and more memory-efficient than previous versions of Python.
For the official Python 3.9 rundown notes, visit the official Python webpage What’s New in Python 3.9.
In the following tutorial, you will learn how to download the latest Python 3.9 on Linux Mint 21 LTS using the command terminal and how to download and compile as an alternative method.
-
How to Install Linux Kernel 6.0 on AlmaLinux 9
As anyone who has used AlmaLinux for any time knows, one of its primary focuses is stability. This can often mean that the distribution is relatively stable but usually has very outdated packages in terms of new features. For example, at the time of this writing, AlmaLinux features kernel 5.14, but some users may require a more recent kernel for better hardware compatibility, among many other things. While this focus on stability is admirable, it can be frustrating for users who need the latest and most significant features that newer kernels often provide. Fortunately, there are a few ways to work around this issue. One option is to use the ELRepo repository, which has an excellent reputation amongst EL9 distributions such as CentOS Stream, Rocky Linux, etc.
Some of the various changes besides the typical CPU improvements include the following.
-
Installing Windows 11 on VirtualBox on Arcolinux with two separate UEFI partitions
-
How To Get Started with Deepin Terminal on Ubuntu Linux
Deepin Terminal is a free and open-source program developed by Deepin Technology. The appealing thing about the Deepin terminal emulator is its intuitive interface, which includes useful capabilities. It has a tabby user interface, similar to that of browsers, in which you may add extra workspaces. Customized terminal keyboard shortcuts are also possible.
If you don’t want to have to write and execute a system update command every time, you can create a keyboard shortcut for it. After that, you just need to hit the assigned keystroke every time, and Deepin Terminal will automatically run the update command.
-
How to Set Static IP Address on Ubuntu Server 22.04
In this post, we will cover how to set static ip address on Ubuntu server 22.04. netplan is used set static ip address on ubuntu server from command line.
-
How to create a Kubernetes operator | Enable Sysadmin
The Kubernetes Operator Framework is an open source toolkit that manages Kubernetes operators in an effective, automated, and scalable way.
-
How to easily generate Helm charts using Dekorate | Red Hat Developer
Learn how to easily generate Helm charts using Dekorate, how to map properties when installing or updating your charts, and how to use Helm profiles.
-
How to install Alacritty Terminal on Ubuntu 22.04 LTS - Linux Shout
Learn the steps and commands to install Alacritty terminal on Ubuntu 22.04 jammy jellyfish Linux using the PPA repo or by compiling it from source code.
Alacritty terminal is known for its fast speed. It’s written in Rust and uses OpenGL for rendering to be the fastest terminal emulator available. It is the simplest terminal emulator for Linux because the developers want to increase its performance of it. That means you won’t find things like tabs, splits, or GUI config editor. Therefore, this terminal is for those who are Linux using some old system or have limited resources, or looking for a performance-centric Terminal.
It is not for those who want some fancy Terminal with dozens of features such as Tabby and Terminator instead a simple, minimal one that can use the GPU to enhance the performance. Well, it is a relatively new Terminal as compared to other popular names such as Gnome terminal or XFCE terminal.
Here in this tutorial article, where we know how to install and use Alacritty on Ubuntu 22.04 Linux…