How to install Gnome and start gui in Redhat Linux

How to install Gnome and start GUI in Redhat Linux

This article will answer the following questions: How to start GUI in Redhat Linux. GNOME is the default desktop environment on Red Hat Enterprise Linux, but only if you opt for the full installation of the operating system. Other installations don’t include any GUI by default. If you’ve chosen a minimal install but don’t want to be limited to just the command line, you can install the GNOME desktop environment in a few simple commands.

Read more

How to tune Linux extended (ext) filesystems using dumpe2fs and tune2fs

The ext2, ext3 and ext4 filesystems are some of the most known and used filesystems specifically designed for Linux. The first one, ext2 (second extended filesystems) is, as its name suggests, the older of the three. It has no journal feature, which is the biggest advantage of its successor over him: ext3. Released in 2008, ext4 is the more recent, and currently the default filesystem on many Linux distributions.

Read more

Megatools Linux install and Basic Introduction

Megatools Linux install and Basic Introduction

This tutorial will deal with Megatools Linux install and Basic Introduction. MEGA is one of the most famous cloud storage and file hosting services available. The service offered by the company are normally accessible via web interface or dedicated applications also on smartphone operating systems such as Android or iOS. In this article we see how to access the service from the command line via a free and open source set of tools written in Python: Megatools.

Read more

ampache raspberry pi

Ampache Raspberry Pi installation

In this Ampache Raspberry Pi installation you will learn how to setup a web based audio/video streaming application, which allow us to access our music and videos remotely. It is a completely open source project, written in PHP. The source code is hosted on github, and at the moment of writing, the latest available release is 4.4.3. In this tutorial we see how to install it on a Raspberry Pi OS, so to create a self-hosted media server.

Read more

How to configure DHCP on Linux

What is DHCP and how to configure DHCP server in Linux

DHCP is a networking protocol used to assign IP addresses to networked devices. In this guide, we’ll introduce you to the protocol and explain how it works. You’ll also see how to implement a DHCP server on Linux systems, and configure it for your own network.

In this tutorial you will learn:

  • What is DHCP?
  • How to implement a DHCP server on major Linux distros
  • How to configure DHCP on Linux

Read more

Send an email using Telnet

Send an email using Telnet

In this guide, we’ll show the step by step instructions to send an email using Telnet on a Linux system. This a great way to test your mail server configuration such as exim, sendmail or postfix without the need for an email client.

In this tutorial you will learn:

  • How to install Telnet on major Linux distros
  • How to send an email using Telnet protocol on Linux

Read more

Checking the current runlevel on a Linux system

How to check a current runlevel of your Linux system

Before systemd came into existence, most major Linux distributions ran a Sys-V style init system. Sys-V used seven different “runlevels” to determine which processes to start on the system. For example, runlevel 3 was typically reserved for the command line and its related programs, whereas runlevel 5 would launch a GUI and all the processes required for it. Results may vary, depending on the distro in question.

These days, the vast majority of Linux distros have adopted systemd as their init system. Some distros still use Sys-V, where the implementation of runlevels as described above still exists. On systemd systems, the concept of runlevels is still alive, but they have been adapted into systemd “targets.”

Remnants of Sys-V still exist on some systems, where commands like runlevel still work. But some modern systemd distros have eradicated this support completely. In this guide, we’ll show you how to check the current runlevel on Linux.

In this tutorial you will learn:

  • How to check the current runlevel

Read more

Saving the output of a PostgreSQL query to text file

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

Read more

Configuring SSH login without password between two systems

SSH login without password

If you ever get tired of typing in your SSH password, we’ve got good news. It’s possible to configure public key authentication on Linux systems, which allows you to connect to a server through SSH, without using a password.

The best part is, using key authentication is actually more secure than typing in a password each time. This is in addition to being far more convenient. It also allows you to automate certain tasks, such as rsync scripts or other Bash scripts that utilize SSH, SCP, etc.

The process for setting up key authentication involves generating RSA keys on one system, then copying the key to a remote host. This works on any Linux distribution and is a short and easy process. Follow along with the instructions below as we take you through the step by step guide to configure passwordless SSH on Linux.

In this tutorial you will learn:

  • Generate RSA keys and transfer to remote system
  • How to login with SSH without a password

Read more