Linux Tutorials

Latest How often do you have to reboot your Linux server?

How often do you have to reboot your Linux server?

Saturday, January 14, 2023

Are you tired of constantly having to reboot your servers to fix issues or apply updates? You’re not alone. Server maintenance and uptime can be a tricky balance, and the decision of when to reboot a server comes with trade-offs. In this article, we’ll take a deep dive into the reasons why servers may need to be rebooted, the potential consequences of not rebooting, and the different approaches to server maintenance and uptime.

Older Linux Tutorials

  • How to mount a remote filesystem over SSH with sshfs

    How to mount a remote filesystem over SSH with sshfs

    Tuesday, January 3, 2023

    SSH (Secure Shell) is a protocol used to establish an encrypted connection with a remote machine using a client-server model: the ssh server runs on the machine we want to access remotely, while a client is used on the machines from which we want to connect. Thanks to sshfs, we can use an existing SSH connection to mount a remote directory in a secure way, without using additional services like NFS or Samba.

  • How to extend the Thunar file manager with custom actions

    How to extend the Thunar file manager with custom actions

    Thursday, December 29, 2022

    Thunar is the file manager included in Xfce, a free and open source Desktop Environment which implements the traditional desktop metaphor, and has become the favorite of many users which switched to it when the GNOME project introduced the GNOME shell. Thunar is light on resources but doesn’t lack functionalities which can be extended further by creating custom actions.

  • How to Install etcd on Ubuntu

    How to Install etcd on Ubuntu

    Tuesday, December 20, 2022

    Etcd is a free and open-source distributed and secure key-value store used to store the most critical information of a given distributed system. Etcd is written in Go making it extremely fast in distributed systems without incurring a performance overhead from clustered machines. In this guide, you discover the basics of installing and setting up an etcd cluster on Ubuntu systems.

  • OpenLiteSpeed installation on Linux

    OpenLiteSpeed installation on Linux

    Thursday, December 8, 2022

    OpenLiteSpeed is the open source version of LiteSpeed Web Server Enterprise. It is a web server like Apache or NGINX, and can be installed on all Linux systems. OpenLiteSpeed is developed to be highly scalable, can accelerate WordPress performance, and work on minimal hardware specs.

  • How to perform unattended Linux installations with Kickstart

    How to perform unattended Linux installations with Kickstart

    Monday, December 5, 2022

    Kickstart is an automatic installation method natively available on those distributions which uses the Anaconda installer: Red Hat Enterprise Linux (and its clones) and Fedora. It can also be used to install Ubuntu, actually, but in that context it acts as a layer of compatibility to the debian-native preseeding method. With Kickstart we can perform unattended, customizable and reproducible installations.

  • VIM tutorial for beginners

    VIM tutorial for beginners

    Monday, November 21, 2022

    The Vim editor (and its predecessor, vi) is a command line editor for Linux systems. It has a long standing reputation as being the most powerful text editor on Linux. After mastering it, many users will even claim that it is far speedier and more convenient to use than a typical GUI editor packed with lots of features in its menus.

    Vim has a staggering number of features and functions, but they are all hidden behind keyboard shortcuts and commands. There are no menus or hints in Vim, as users are expected to have enough of a grasp to navigate around on their own. And this is where Vim’s learning curve turns off most new users from bothering with it. Many novices would rather stick with something simple, like nano, than deal with all Vim’s depth.

  • Set and Get environmental shell variable using c++

    Set and Get environmental shell variable using c++

    Sunday, November 13, 2022

    Environment variables in the Bash shell can be accessed or set using a C++ program. This is facilitated by the getnenv() and putenv() functions defined in the C/C++ stdlib.h library. Environmental variable expansion is a great feature of a Linux shell as it enables programmers and users to rely on the environment settings of each user separately. C++ getenv() will read all exported environmental variables and putenv() will set existing or create new variables.

  • How to clone a Linux system

    How to clone a Linux system

    Friday, November 11, 2022

    Making a clone of your Linux system is a great way to make a complete backup. This type of backup would preserve all your system and personal files, as well as any customizations and settings that you have applied to your operating system over time (assuming everything is on one hard drive). Cloning and restoring a Linux system is relatively easy, since Linux will not encounter errors if you clone it onto different hardware – at worst, you may have a few hiccups, such as the need to uninstall and install necessary drivers.

  • Full disk Encryption with VeraCrypt on Ubuntu Linux

    Full disk Encryption with VeraCrypt on Ubuntu Linux

    Monday, October 17, 2022

    VeraCrypt is a cross platform encryption solution. It can create encrypted containers to protect your files, or you can encrypt an entire disk partition on a Linux system. VeraCrypt uses the latest encryption standards, so many users place their trust in it. In this tutorial, you will see the step by step instructions to encrypt an entire disk on Ubuntu Linux.

  • Change IP address on Ubuntu Server

    Change IP address on Ubuntu Server

    Wednesday, October 12, 2022

    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.