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…)

How to List Users in Linux

In this tutorial, we’ll be going over how to list the users that have been created on your Linux system. This applies for all distributions, and is very easy to do.

The users on your system can be either normal “human” users or system users. The normal users are usually other people that can log in and interact with your server, while the system users are used to start non-interactive background services. You might even create users for certain software platforms to have a user that grants them access to certain files and directories. Let’s begin.

(more…)

How to Install Nagios Core on Ubuntu 16.04

This tutorial explains how to install Nagios Core on an Ubuntu 16.04 server. Nagios is an open source enterprise-class software that is used to monitor network infrastructures, servers and applications. With Nagios you can monitor Linux and Windows servers as well as web applications, Linux and Unix applications and Windows applications. The features include parallelized service checks, plugin system, notifications via email, pager or user defined service, web interface for viewing status, log files, problem history and notifications and much more.

This guide should work on other Linux VPS systems as well, such as the latest versions of Ubuntu, but it was tested and written for Ubuntu 16.04.

(more…)

How to Install GCC on Ubuntu 18.04

In this article, we will show you how to install GCC on an Ubuntu 18.04 server.

If we use the apt command to install GCC from a repository, we will have the default GCC version (GCC 7.4). However, if you want the latest version of GCC, you will need to install it from source. Version 8 of GCChas complete C++11, C++14 support, partial C++17 support, and experimental C++2a support. With GCC 8, C11 and C++14 support are enabled by default, and there is no need to add -std=c11 or -std=c++14. Let’s get started.

(more…)

How to Install PrestaShop on Ubuntu 18.04

In this article, we will show you how to install PrestaShop on Ubuntu 18.04 LTS.

PrestaShop is a free shopping cart platform written in the PHP programming language with support for the MySQL database management system. PrestaShop is used to build and run an online store and it is very easy to use. With PrestaShop, you can share your ideas and products and sell them on the internet. Let’s get started.

(more…)

How to Install Moodle on Ubuntu 18.04

In this tutorial, we will be installing Moodle on an Ubuntu 18.04 server.

Moodle is a well-known open-source learning management system written in PHP. With its customizable features, people all over the world are using Moodle to create websites to run and manage their online courses. Moodle enables us to conduct face-to-face online learning and training, as well as grading and testing. We can create assignments, quizzes, homework, and so on.

Moodle was originally released in 2002 and has been translated to over 100 languages ever since, making it accessible to as many students and teachers as possible. The installation process shouldn’t take much time, so let’s get started. (more…)