How to Add a User to Sudo Group on Debian 9

In this article, we will show you how to add a user to the sudo group in Debian 9.

Every time you install a fresh new operating system, a user named root is being created automatically. This user is extremely powerful and even dangerous because it has a complete access to the server. Typically, the root user is only used for administrative tasks, as there are no restrictions present like they are for any other user.

Note that Linux does not have an “undo” command. In order to reduce the risk of irreversible damage to the system, we can create a user who will not have privileges to execute commands that can affect the server. However, having administrative access may still be appropriate for everyday tasks – sometimes we need the power to execute some command as an administrative user. This benefit can be utilized using the sudo command. However, to use the sudo command, the user is required to be present in the sudo group. Let’s get started with the tutorial. This should work in Debian 10 as well as other future versions of Debian, as these commands usually only have small variations over time.

(more…)

How to Install Apache Kafka on CentOS 7

In this tutorial, we will show you how to install Apache Kafka on CentOS 7.

Apache Kafka is an open source messaging system and distributed streaming platform. It’s designed to be scalable, responsive, and provide an excellent experience when dealing with real-time data feeds. It’s great at providing real time analytics and processing of data – and thanks to its rich API support, developers can easily implement Apache Kafka and mold it to their exact needs.

Let’s begin with the installation.

(more…)

How to Install Jupyter on CentOS 7

In this tutorial, we will go over the steps necessary to install Jupyter Notebook on a CentOS server.

Jupyter Notebook is a popular and widely used open-source web-based software that allows users to create and share documents that contain live code, equations, visualizations, and narrative text.

Jupyter Notebook can be used for data cleaning and transformation, numerical simulations, statistical modeling, data visualization, machine learning, and much more. It has support for over 40 programming languages, including Python, Scala, R, and Julia. Let’s get started with the installation.

(more…)

How to Install SOPlanning on Ubuntu 18.04

In this tutorial, we will show you how to install SOPlanning on an Ubuntu 18.04 server along with installing the Apache web server.

SOPlanning is a simple and open-source online planning tool designed to efficiently organize projects and tasks. It allows you to easily manage and plan your working tasks and assignments for each person of your team. This tool is very useful for any projects, small businesses, production plants, booking systems, vacation management systems, and so on. Let’s begin with the installation.

(more…)

Introduction to Bash Aliases

In this article, we will show you how to make use of the alias command through some useful examples. We’ll cover creating aliases, show you a few useful examples, and show you how to delete aliases as well.

If you are working on the command line a lot of the time, you may have noticed that most of the commands you use are extended commands with flags, or options, along with piping the output of commands into other programs.

Imagine that every time you needed to change directory, you would have to type “change-directory” instead of “cd” or if every time you needed to list the contents of a directory, you’d have to type “list” instead of “ls“. That’s why the makers of most commands attempt to eliminate the long names of the commands and replace them with shortened names. It reduces the amount of typing you have to do to get things done, and also makes the commands easier to remember as a bonus, thanks to the shorter name.

Basically, bash aliases are just shortcuts for the longer commands. The alias command allows us to run any command or even a group of commands (which includes options and filenames) by typing a custom phrase (which can even be just a single word) into the command line.

(more…)

How to Set Up and Use Yum Repositories on CentOS 7

This tutorial explains how to set up and use Yum repositories on a CentOS 7 VPS.

The official CentOS 7 repository has a huge list of packages and it covers almost all bases in terms of software for servers, but sometimes we need some additional packages which are not available in the official repositories. In that case, we can simply add new repositories to further expand the catalogue of packages available to us. Let’s begin with the tutorial.

(more…)

How to Install GCC on Debian 9

In this guide, we will walk you through the steps of installing GCC on a server running Debian 9 using two different methods: using the APT package manager (Advanced Package Tool), and installation from source.

GCC, also known as the GNU Compiler Collection, is developed by Richard Stallman and was released by the Free Software Foundation. GCC is a very useful and widely-used collection of programming compilers, such as C, C++, Objective-C, Fortran, Objective-C++, Java, Go, and Ada. GCC is an official compiler of the GNU operating system, but it is also a standard compiler on many Unix operating systems such as Linux. Let’s get started with the installation.

(more…)

What is the Wait Command in Linux? (With Examples)

In this tutorial, we will explain what the wait command is, as well as providing a few usage examples so that you can better understand how to use it on a Linux VPS.

wait is a versatile tool which you can use in Linux to determine when a given process or job is completed. It will return its termination status as a result, with which you can understand whether the process completed successfully or if it failed for some reason. While this command looks similar to the sleep command, they fulfill different purposes. Let’s get into it.

(more…)

How to Enable SSH on Debian 9

In this article, we will show you how to enable root access for SSH on a Debian 9 server.

Before we start with setting up our SSH service, we need to know what SSH actually is. SSH stands for Secure Shell and it is a UNIX-based command interface and protocol which usually is used to gain secure access to a remote machine. Luckily, SSH is turned on by default on a Debian 9 Server install. While SSH is turned on, we also know that a fresh installation of Debian 9 comes with root access disabled, which means you will not be able to log in directly to your server via SSH as the root user. However, you will be able to run commands with the same authority as the root user when using the ‘sudo’ prefix on your commands. If you are constantly working on your server and you need root access, it’s more comfortable to log in directly as a root user instead of using the ‘sudo’ command all the time.

We can also configure SSH to allow specific users or groups, as well as blacklisting certain users or groups from having access which can make server management a lot easier. Let’s get started.

(more…)

How to Install Apache Kafka on Ubuntu 16.04

In this tutorial, we will show you how to install and configure Apache Kafka on an Ubuntu 16.04 VPS.

Apache Kafka is one of the most popular open-source stream processing software platforms available. Developed by the Apache Software Foundation, Apache Kafka is written in Scala and Java. The project aims to provide a unified, high-throughput, low-latency platform for handling real-time data feeds. It’s a scalable, fault-tolerant, publish-subscribe messaging system that allows you to build distributed applications. Let’s begin with the installation.

(more…)