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 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 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 Docker on Ubuntu 18.04

In this tutorial, we will cover the steps needed for installing Docker on Ubuntu 18.04.

Docker is mainly a software development platform and a kind of virtualization technology that makes it easy to develop and deploy apps inside of neatly packaged virtual containerized environments. Docker containers can be deployed to any machine without any compatibility issues, so the software stays system agnostic, simpler to use, less work to develop and easy to maintain and deploy.

Docker is a form of virtualization but, unlike a Virtual Machine, the resources are shared directly with the host. Let’s begin with the installation.

(more…)

How to Install Apache Cassandra on Ubuntu 18.04

In this article, we will show you how to install Apache Cassandra on Ubuntu 18.04.

Apache Cassandra is an open-source NoSQL database manager which offers high availability and scalability by providing fault-tolerant multi-level cloud setup. It is useful for applications that will require a lot of data with redundancy but without compromising performance and security. There are several advantages that we’ll go over down below. Let’s begin with the installation.

(more…)

How to install Easy Hosting Control Panel on Ubuntu 16.04

How to install Easy Hosting Control Panel on Ubuntu 16.04

Easy Hosting Control Panel (EHCP) is a free and open source control panel written in PHP, which can be used to host your websites on your virtual private server. Easy Hosting Control Panel provides a simple and easy to use interface, for creating and managing users, websites,  MySQL databases, DNS management, ftp and email accounts, and much more. In this tutorial, we will show you how to install the Easy Hosting Control Panel on Ubuntu 16.04. Let’s get started.

(more…)

Speed Up SSH Connections in Linux

Speed Up SSH Connections in Linux

We’ll show you, how to speed up SSH connections in Linux. SSH is a very secure method for managing Linux servers. Sometimes it can be very slow especially if you need to open multiple SSH connections to your server. One such scenario would be if you use Git for your development work, as Git uses multiple SSH connections to transfer files and if your server is not configured correctly it will add unnecessary overhead by re-establishing a connection for every file transferred. In today’s tutorial we are going to learn how to speed up SSH connections in Linux. Let’s get started!
(more…)

How-to-Setup-Reverse-SSH-Tunnel-on-Linux

How to Setup Reverse SSH Tunnel on Linux

We’ll explain to you, how to set up reverse SSH tunnel on Linux. Let’s say you have a Linux machine behind NAT and a VPS.You want to SSH to the Linux machine behind NAT from your VPS but you don’t want to bother with port forwarding or your machine behind NAT doesn’t have a static IP address. We have an easy solution, in today’s tutorial we are going to learn how to set up a reverse SSH tunnel on Linux.

(more…)