Reading local mail delivered by Postfix.

How to install postfix mail server on RHEL 8 / CentOS 8

Postfix is a common mail server, many large distributions are shipped with Postfix installed by default. The default configuration allows local mailing only, but that in itself is very useful on a machine used by many users, and even if there is no such traffic, many services dump their reports and messages into e-mails, which is delivered to the root user locally, so the sysadmin will be noticed on any events of interest when he/she logs in and switches to root user.

A simple example would be scheduled cron jobs: any output not redirected from the output of a script running from cron will be wrapped to an e-mail and will be delivered to root‘s mailbox, so the administrator does not even have to make any effort to have the reports of the nightly backup jobs at hand.

While this standalone mode is certainly a nice service as it is, postfix is a full-fledged mail server, capable of receiving, forwarding, relaying, filtering of e-mails, it basically have every feature we need for a mail server.

In this tutorial you will learn:

  • How to install postfix on RHEL 8 / CentOS 8
  • How to verify the working service with standalone functionality.

Read more

Ubuntu Bionic Nextcloud Create Admin

How to Install Nextcloud On Ubuntu 18.04 Bionic Beaver Linux

Objective

Install Nextcloud on Ubuntu 18.04

Distributions

Ubuntu 18.04

Requirements

A working install of Ubuntu 18.04 with root privileges

Difficulty

Easy

Conventions

  • # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ – requires given linux commands to be executed as a regular non-privileged user

Introduction

When it comes to self hosted cloud storage Nextcloud is definitely the best option. It’s fully open source, and allows you full control over your server. You can, of course, create your own user accounts and manage access too.

There are a couple of options when it comes to setting up Nextcloud on Ubuntu. You can use Docker or you can follow the traditional install method. Either one will work. The Docker method will probably work better if you don’t want to configure and manage the entire server yourself.

Read more

Tomcat providing the examples application

How to set up Apache webserver proxy in front of Apache Tomcat on Red Hat Linux

Objective

Our objective is to setup Apache httpd to work as a proxy in front of the Apache Tomcat application container.

Operating System and Software Versions

  • Operating system: Red Hat Enterprise Linux 7.5
  • Software: Apache httpd, Apache Tomcat

Requirements

Privileged access to the system

Difficulty

EASY

Conventions

  • # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ – given linux commands to be executed as a regular non-privileged user

Introduction

Using Apache httpd as a proxy to an Apache Tomcat application container is a common setup. It comes with many use cases, the most trivial is serving static content from httpd, while providing services implementing heavy business logic from an application written in Java that resides in the Tomcat container.

Read more

TTY console resolution on Ubuntu 18.04 Server virtual machine

How to increase TTY console resolution on Ubuntu 18.04 Server

The default TTY console resolution on Ubuntu 18.04 Server is normally 800×600. This may be satisfactory in many cases. However, there are times that higher resolution is required. To increase TTY console resolution on the Ubuntu 18.04 server it is necessary to change the configuration of the relevant GRUB boot loader settings within the /etc/default/grub.

Read more

Nagios Compile Configuration On Ubuntu 18.04

Install Nagios on Ubuntu 18.04 Bionic Beaver Linux

Objective

Install and configure Nagios on Ubuntu 18.04 Bionic Beaver

Distributions

Ubuntu 18.04

Requirements

A working install of Ubuntu 18.04 with root privileges

Difficulty

Easy

Conventions

  • # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ – requires given linux commands to be executed as a regular non-privileged user

What is Nagios

Nagios is one of the best enterprise grade server monitoring solutions available. Unlike cPanel, it’s available across a wide range of Linux distributions, including Debian and Ubuntu.

Since Ubuntu 18.04 is an LTS release, upgrading your servers and running Nagios on them could be a great idea. Even though Nagios isn’t up to date in the Ubuntu repositories, and setup isn’t turn-key, it’s still not too hard to get it running.

Read more

FreeIPA login page

How to install and configure FreeIPA on Red Hat Linux

Objective

Our objective is to install and configure a standalone FreeIPA server on Red Hat Enterprise Linux.

Operating System and Software Versions

  • Operating System: Red Hat Enterprise Linux 7.5
  • Software: FreeIPA 4.5.4-10

Requirements

Privileged access to the target server, available software repository.

Difficulty

MEDIUM

Conventions

  • # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ – given linux commands to be executed as a regular non-privileged user

Introduction

FreeIPA is mainly a directory service, where you can store information about your users, and their rights regarding login, become root, or just run a specific command as root on your systems that are joined your FreeIPA domain, and many more. Although this is the main feature of the service, there are optional components that can be very useful, like DNS and PKI – this makes FreeIPA an essential infrastructural part of a Linux-based system. It has a nice web-based GUI, and powerful command line interface.

Read more

Install Redis on Ubuntu 18.04 Bionic Beaver Linux

Objective

The objective is to Install Redis server or client on Ubuntu 18.04 Bionic Beaver

Operating System and Software Versions

  • Operating System: – Ubuntu 18.04 Bionic Beaver
  • Software: – Redis 4.0.8 or higher

Requirements

Privileged access to your Ubuntu System as root or via sudo command is required.

Difficulty

EASY

Conventions

Read more

How to install Varnish cache server with Nginx on Ubuntu 18.04 Bionic Beaver Linux

Objective

The objective is to install and configure a Varnish Cache server with Nginx on Ubuntu 18.04 Bionic Beaver Linux. Varnish is a fast caching server which sits in front of any web server and serves previously cached pages, hence, improving the website’s response time.

Operating System and Software Versions

  • Operating System: – Ubuntu 18.04 Bionic Beaver Linux
  • Software: – Varnish 5.2 or higher

Requirements

Privileged access to your Ubuntu System as root or via sudo command is required.

Difficulty

MEDIUM

Conventions

Read more

install ubuntu server GUI - Mate core

Install GUI on Ubuntu Server 18.04 Bionic Beaver

Objective

Ubuntu server GUI does not come installed by default on Ubuntu 18.04 Bionic Beaver. However, this does not mean that desktop environment cannot be installed on your server.

This guide will provide you with an information on how to install GUI on your Ubuntu server 18.04.

Operating System and Software Versions

  • Operating System: – Ubuntu Server 18.04 Bionic

Requirements

Privileged access to your Ubuntu System as root or via sudo command is required.

Difficulty

EASY

Conventions

Read more

How to Configure A NFS File Server On Ubuntu 18.04 Bionic Beaver

Objective

Install and configure NFS on Ubuntu 18.04

Distributions

Ubuntu 18.04

Requirements

A working install of Ubuntu 18.04 with root privileges

Difficulty

Easy

Conventions

  • # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ – requires given linux commands to be executed as a regular non-privileged user

Introduction

Sharing files is a central function of Linux systems. It’s so central, in fact, that file sharing functionality is built directy into the kernel itself. It’s also important enough that the developers of Debian, and Ubuntu in turn, have made NFS file sharing very simple.

Read more