How to schedule tasks using at command on Linux

Learning how schedule and manage tasks using the at program

Requirements

  • Root permissions to start the atd daemon
  • Having the at program installed

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

During the administration of a system, being able to schedule a task for a later execution it’s one crucial ability: to perform a backup of a database for example, or perhaps to run a maintenance script. Less known than cron or anacron, the at program let us do this in a pretty easy way: in this tutorial we will learn how to use it and how it is different from the programs mentioned above.

Read more

Install Drupal Ubuntu 18.04 - Select Language

Install Drupal on Ubuntu 18.04 Bionic Beaver Linux

Objective

The objective is to install Drupal on Ubuntu 18.04 Bionic Beaver Linux

Operating System and Software Versions

  • Operating System: – Ubuntu 18.04 Bionic Beaver
  • Software: – Drupal 8.4.5 or higher

Requirements

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

Difficulty

EASY

Conventions

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

Ubuntu Lutris Start Overwatch Install

Install And Play Overwatch With Lutris On Ubuntu 18.04

Objective

Install and play Overwatch on Ubuntu 18.04

Distributions

This guide is tailored toward Ubuntu 18.04 but can be applied to other similar distributions.

Requirements

A working install of Ubuntu 18.04 with root privileges and a graphics card running the latest drivers.

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

Overwatch is one of the most popular PC games right now. It has a thriving esports scene and a community of millions playing it regularly worldwide. Unfortunately, it’s also completely unsupported on Linux and likely never will be.

That doesn’t mean that you can’t play Overwatch on Linux, though. It’s actually easy to get Overwatch running on Ubuntu with Lutris and Wine.

Before you start, make sure that you have the latest available drivers for your graphics card installed.

Read more

Enable Source package repository on Ubuntu 18.04

How to install ImageMagick 7 on Ubuntu 18.04 Linux

Objective

The objective is to install ImageMagick 7 on Ubuntu 18.04 Linux.

Operating System and Software Versions

  • Operating System: – Ubuntu 18.04 Bionic Beaver Linux
  • Software: – ImageMagick 7.0.7-38 or higher

Requirements

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

Difficulty

EASY

Conventions

Read more

First Login To Gitlab On Debian Stretch

How to Install Gitlab On Debian 9 Stretch Linux

Objective

Install Gitlab on Debian 9 Stretch

Distributions

Debian 9 Stretch

Requirements

A working installation of Debian Stretch with root access.

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

Gitlab is an awesome free software alternative to Github. It allows teams and individual developers to host and manage their own projects on servers that they control.

Debian Stretch provides a stable foundation for Gitlab and can make for an excellent code repository server. Plus, Gitlab’s Omnibus Package makes installation super simple.

Read more

How to add a new static route on RHEL7 Linux

Previously we have talked about how to configure a default gateway on RHEL7 Linux. This time we will talk about how to add a static route on RHEL7 Linux.

Any network we are trying to reach is accessed via default gateway only if it is not implicitly overwritten by another static route definition. Let’s have a look at a current routing table on our Redhat 7 Linux box:

root@rhel7 ~]# ip route show
default via 10.1.1.1 dev enp0s3  proto static  metric 1024 
10.0.0.0/8 dev enp0s3  proto kernel  scope link  src 10.1.1.110

Read more

How to start a docker container as daemon process

Instead of running docker container with an interactive shell it is also possible to let docker container to run as a daemon which means that the docker container would run in the background completely detached from your current shell. The following CentOS docker container will start as a daemonized container using -d option, while at the same time executing ping 8.8.8.8 using an endless bash while loop.

# docker run --name centos-linux -d centos /bin/sh -c "while true; do ping 8.8.8.8; done"

Read more

How to configure FTP server on Debian 9 Stretch Linux

Objective

The objective is to install and configure FTP server on Debian 9 Stretch Linux allowing both anonymous or local user access.

Operating System and Software Versions

  • Operating System: – Debian 9 Stretch
  • Software: – vsFTPd version 3.0.3

Requirements

Privileged access to

Difficulty

MEDIUM

Conventions

Read more

guest_installer

How to create and manage KVM virtual machines from CLI

Objective

Learn how to create and manage KVM virtual machines from command line

Operating System and Software Versions

  • Operating System: – All Linux distributions

Requirements

  • Root access
  • Packages:
    • qemu-kvm – The main package
    • libvirt – Includes the libvirtd server exporting the virtualization support
    • libvirt-client – This package contains virsh and other client-side utilities
    • virt-install – Utility to install virtual machines
    • virt-viewer – Utility to display graphical console for a virtual machine

Difficulty

MEDIUM

Conventions

Read more