SELinux, which stands for Security Enhanced Linux, is an extra layer of security control built for Linux systems. SELinux has three possible modes in which it can be running. Depending on which mode it’s in will determine the behavior of SELinux. In this tutorial, we’ll show you how to check the SELinux status aka. operational mode. The most common and easiest way to check SELinux status is by executing the getenforce command.
Luke Reynolds
How to Change SElinux Operational Mode
SELinux, which stands for Security Enhanced Linux, is an extra layer of security control built for Linux systems. The original version of SELinux was developed by the NSA. Other key contributors include Red Hat, which has enabled it by default in their own RHEL and its derivative Linux distributions.
Linux command line tutorial
The purpose of this Linux command line tutorial is get you, the Linux user, proficient at the command line.
Cat command in Linux with examples
The cat command in Linux is our primary tool for viewing the contents of text files on Linux systems. When using or administrating a Linux system, you are usually confronted with a command line. There are no graphical aids such as mouse or windows to help you navigate through directories or edit files.
Firefox Debian install
Mozilla Firefox is, without a doubt, the most popular web browser on Linux systems. It’s even installed as the default web browser on the vast majority of Linux distributions, including Debian Linux.
Configuring Gmail as a Sendmail email relay
Sendmail is email routing software that can allow Linux systems to send an email from the command line. This allows you to send email from your bash scripts, hosted website, or from command line using the mail
command. Another example where you can utilize this setting is for notification purposes such as failed backups, etc.
In this guide, we’ll go over the step by step instructions to configure Gmail as a relay for the sendmail client on Linux. Note that Sendmail is just one of many utilities which can be configured to rely on a Gmail account. Others that are capable of this include postfix, exim, ssmpt, etc. The instructions here should work for any mainstream Linux distribution.
In this tutorial you will learn:
- Gmail configuration prerequisites
- How to install Sendmail and mail utilities on Linux
- How to configure Gmail as a relay for Sendmail
- How to test the config by sending an email from command line
Turn Off directory browsing on Apache
When installing Apache on a Linux system, the directory content listing is enabled by default. This may be a desirable features in some scenarios, but it’s a potential security hole in others. It’s easy enough to turn this setting on or off for each website (virtual host) that you have set up.
In this guide, we’ll go over the step by step instructions to edit the Apache configuration to hide directory content listing for Apache.
In this tutorial you will learn:
- How to hide directory content listing in Apache
Saving an output of PostgreSQL query to a text file
When using PostgreSQL on Linux, there may be times that you wish to save the output of a query. Normally, the output appears on your screen. It’s possible to redirect this output to a file instead, which would allow you to view it later. In this guide, we’ll show you how to save the output of a PostgreSQL query to a file.
In this tutorial you will learn:
- How to save the output of a PostgreSQL query to a file
How to start with OpenCV on Ubuntu Linux
OpenCV is a computer vision library that can be used in the development of applications programmed in C++ and C. It is relatively easy to get started with OpenCV, but you will need some basic C programming skills and the prerequisite packages installed on your system. In this tutorial, we will go through the step by step instructions of installing everything required for OpenCV on an Ubuntu Linux system. Then, we will compile a basic program to get you started with using OpenCV.
Convert ogg to mp3
The purpose of this tutorial is to show how to convert .ogg
Ogg Vorbis audio files into .mp3
format. This can be done with a couple of different tools via the command line on all major Linux distros. You will also see how to batch convert files in case you have many audios to convert at once.
How to remap keys with xmodmap
Setting your keyboard layout should be one of the first things users do when installing or setting up their Linux system. Every system will come with a slew of preconfigured layouts for various languages or preferences. But what if you want to take it a step further and modify a layout to your liking?
How to install custom kernel on Ubuntu/Debian Linux
The Linux kernel sits at the core of all Linux systems. It is open source and able to be downloaded and compiled by anyone. If you have compiled a custom Linux kernel or downloaded one online, it is easy to install that kernel on an Ubuntu or Debian based systems.