Debian Linux

How to install VirtualBox on Debian Linux

Objective The following article will describe a simple procedure on how to install Virtual box on Debian Linux. Operating System and Software Versions Operating System: - Debian 9 Stretch Software: - VirtualBox 5.1 Requirements Privileged access to your Debian system will be required. Difficulty EASY Conventions
Read More...

How to setup a Static IP address on Debian Linux

Objective The objective is to configure a static IP address on Debian Linux server. Please note that for Desktop installations it is recommended to use GUI tools, such as network-manager . If you wish to configure your network interfaces directly via /etc/network/interfaces file on your Desktop, make sure you disable any other possibly interfering network configuration daemons. For example, the below commands will disable network-manager : # systemctl stop NetworkManager.service # systemctl...
Read More...

How to install Logstash On Debian Linux

Objective The following guide describes a basic installation of Logstash on Debian Linux. Operating System and Software Versions Operating System: - Debian 9 (Stretch) Software: - Logstash 5.2 Requirements Privileged access to your Debian system will be required. Difficulty EASY Conventions
Read More...

How to install Elasticsearch On Debian Linux

Objective The objective is to provide you with a simple to follow steps on how to install Elasticsearch on Debian Linux. The guide does not delve into Elasticsearch configuration as this is a tale for another time. Operating System and Software Versions Operating System: - Debian 9 (Stretch) Software: - Elasticsearch 5.2.0 Requirements Privileged access to your Debian system will be required Difficulty EASY Conventions
Read More...

How to install Java SE Development Kit on Debian Linux

Objective The objective of this guide is to provide a simple to follow steps on how to install Java SE Development Kit on Debian Linux. OS and Software Version Operating System: Debian 9 (Stretch) Software: Java SE Development Kit 8 Requirements Privileged access to your Debian Linux is required. Optionally, curl will be used to download an appropriate Java JDK tarball. Difficulty EASY Conventions
Read More...

Generate SSL Certificates With LetsEncrypt on Debian Linux

Introduction In case you haven't realized already, encryption is important. For the web, that means using SSL certificates to secure web traffic. Recently, Mozilla and Google have gone as far as to mark sites without SSL certificates as insecure in Firefox and Chrome.
Read More...

How to install missing ifconfig command on Debian Linux

Objective The ifconfig command has been deprecated and thus missing by default on Debian Linux, starting from Debian stretch. # ifconfig -bash: ifconfig: command not found The new and recommended alternative for examining a network configuration on Debian Linux is ip command. For example to use ip command to display a network configuration run the following: # ip address The above ip command can be abbreviated to: # ip a If you still prefer to use ifconfig as part of your daily sys admin...
Read More...

How to load missing firmware from removable media during Debian Linux installation

Objective The default Debian Linux installation CD/DVD may not contain proprietary firmware (drivers) for your hardware. From this reason, it is up to the user to load this non-free firmware during the Debian Linux installation. This article helps you to prepare your removable media to load missing firmware during the Debian Linux installation. However, you may consider an yet another, alternative approach in comparison to loading your firmware from the USB drive as described below, which is...
Read More...

Installation of the latest bleeding edge PHP 7 on Debian 8 Jessie Linux

Introduction Debian's current stable package repository may not always contain an up to date software to be in line with our expectations. There is a very good reason for this, such as a stable system as a trade-off for running bleeding edge software. PHP server-side scripting language is not an exemption! At the time of writing the current Debian's PHP version is 5.6.29 whereas the latest PHP source release is 7.1.0 ( given that there is no PHP 6 at all ). The current PHP developer's claims...
Read More...

How to install kannel sms gateway on Debian Linux for nagios SMS notifications

What you will learn In this article, you will learn how to install kannel server on Debian and integrate it to a Nagios server for sms notifications. We asume that the reader already has a working Nagios server and we will focus on Kannel installation and its integration with Nagios. Requirements Privileged access to your Debian server SMPP account or USB modem A Nagios server Privileged access to your Nagios server Difficulty MEDIUM Conventions # - requires given command to be executed with...
Read More...

Install the Latest Eclipse Java IDE on Debian 8 and Ubuntu 16.04 Linux

Introduction Eclipse is a powerful and feature-rich IDE for Java developers, but the versions packaged with Debian and Ubuntu lag far behind the latest releases. In fact, the version shipping with Ubuntu 16.04 was released in 2012 and was discontinued quite some time ago. Despite the fact that both Ubuntu and Debian don't package and ship new versions of it anymore, Eclipse is still easily available to users of both distributions. You just have to go about getting it a different way, and the...
Read More...

How to setup latest version of Django framework with Python 3 on Debian 8 Jessie Linux

The following quick guide will help you to setup a latest version of Django framework with Python 3 on Debian Jessie Linux. The current default Django version on Debian 8 Jessie Linux is 1.7 with python 2.7. Follow the below step in order to install Python 3 with latest Django. Let's start by installation of python3-setuptools : # apt-get install python3-setuptools The above command will also install Python 3 on your system. Next, use easy_install3 to install alternative Python package...
Read More...

Enable SSH root login on Debian Linux Server

After fresh system installation the root login on the Debian Linux is disabled by default. When you attempt to login as root user to your Debian Jessie Linux server the access will be denied eg.: $ ssh root@10.1.1.12 root@10.1.1.12's password: Permission denied, please try again. root@10.1.1.12's password: Permission denied, please try again. root@10.1.1.12's password: Permission denied (publickey,password). To enable SSH login for a root user on Debian Linux system you need to first configure...
Read More...

How to move docker's default /var/lib/docker to another directory on Ubuntu/Debian Linux

The following config will guide you through a process of changing the docker's default /var/lib/docker storage disk space to another directory. There are various reasons why you may want to change docker's default directory from which the most obvious could be that ran out of disk space. The following guide should work for both Ubuntu and Debian Linux or any other systemd system. Make sure to follow this guide in the exact order of execution. Let's get started by modifying systemd's docker...
Read More...

Custom kernels in Ubuntu/Debian - how, when and why

So, you've decided to try out this thing you heard others talk about, called 'compiling a custom kernel'. If you are trying this as a hobby, or because you want to learn a new skill, very well – read on. However, before we start, we will try to explain situations when this need arises and how to deal with it. Note that this is an extensive subject which needs much more in terms of space than we will provide here. You will learn the basics, what you need, what to do and what you'll achieve. For...
Read More...

C development on Linux - Getting a package in the official Debian repositories - XII.

Author: Rares Aioanei Introduction This is the last installment of our C development series, and arguably the most non-technical one. If you followed us from the beginning and practiced as much as possible, you now have some basic knowledge on C development and how to package your (favorite) application for two of the most used Linux distribution families, Debian and Redhat. This article is about the community, how to contribute, how to collaborate and finally, how to get your package in the...
Read More...

Installation of Cran R-3.2.1 on Debian Linux 8 Jessie

The following config will guide you through a process of installing Cran R-3.2.1 on Debian Linux 8 Jessie. First, updated you repository list: # apt-get udpate If you have not done so yet install a curl command which you will use to download Cran R-3.2.1 source code: # apt-get install curl
Read More...

Configuring Ubuntu style sudo privilege authorization on Debian Linux

The following lines will describe a procedure on how to mimic Ubuntu's sudo privilege authorization system on Debian Linux. Sudo allows users to run programs with the authorization privileges of another user by supplying their own password for authentication. If you have not done so yet, first install sudo package: # apt-get install sudo Once sudo is installed run: # visudo which allows you to edit the content of /etc/sudoers file. Change the content of this file as show below: Defaults...
Read More...

Installation of Amazon s3cmd Command Line S3 tool on Debian Linux

This short config will describe a installation of s3cmd Command Line S3 tool on Debian. First update your repository: # apt-get update Next, install Python package installer pip which will be later used to install s3cmd : apt-get install python-pip
Read More...

bash: netstat: command not found - Debian/Ubuntu Linux

If you are looking for the netstat command and getting error: bash: netstat: command not found This simply means that the relevant package net-tools which includes netstat executable is not installed, thus missing. The package net-tools may not be installed on your system by default so you need to install it manually. The package also includes aditional utilisties such as arp , ifconfig , netstat , rarp , nameif and route .
Read More...