Debian Linux

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 show The above ip command can be abbreviated to: # ip a s If you still prefer to use ifconfig as part of your daily sys...
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...

Debian apt-get stretch sources.list

Related sources.list repositories: Wheezy , Jessie , Stretch , Buster Security Updates # /etc/apt/sources.list : deb http://security.debian.org/ stretch/updates main contrib non-free deb-src http://security.debian.org/ stretch/updates main contrib non-free Australia Mirror # /etc/apt/sources.list : deb http://ftp.au.debian.org/debian/ stretch main contrib non-free deb-src http://ftp.au.debian.org/debian/ stretch main contrib non-free
Read More...

How to list all or specific packages installed on Debian/Ubuntu Linux system

There are multiple way on how to determine whether a specific package is already installed on your system. The first dpkg command will list all currenlty installed packages on your system: # dpkg -l
Read More...

How to list all files installed by the DEB package on Ubuntu/Debian Linux

The typical question after we install a new package on our system is that what are the actual files ware installed and what is their location. This may be even less obvious if the final executable name intended to start your program has slightly different name than the package its self. In the following example we are going to install a dummy package hello using apt-get command: # apt-get install hello... (Reading database... 7528 files and directories currently installed.) Preparing to...
Read More...

How to extract files from Debian package archive DEB

Very useful tool to extract files from Debian package archive DEB (*.deb) is ar command. First, let's download a sample debian package hello_2.10-1_amd64.deb : $ wget http://ftp.us.debian.org/debian/pool/main/h/hello/hello_2.10-1_amd64.deb Now, that we have downloaded our sample Debian package we can use ar command to list its content. This can be achieved by t option: $ ar t hello_2.10-1_amd64.deb debian-binary control.tar.gz data.tar.xz
Read More...

ownCloud file sync and share server installation on Debian 8 Jessie Linux

This article will describe an installation of the ownCloud file sync and share server on Debian 8 Linux Jessie. This article does not assume any pre-installed packages. Using the commands below you can install ownCloud on the fresh installation of Debian 8 Linux Jessie. Furthermore, we will be using external sources to install the latest version of ownCloud suite. Let's begin by inclusion of the ownCloud repository: # wget -q...
Read More...

How to install Python3 Beautiful Soup environment on Debian Linux

Beautiful Soup is a Python package for parsing HTML and XML documents and it resides within a Debian package named python-bs4 . However, python-bs4 package is a default package on Debian Linux system for Python 2 version. Therefore, if your intention is to use Python3 as a default environment you will need to also install Python3 and its corresponding version of BS4 python3-bs4 . Let's start by python3 installation: # apt-get install -y vim python3 After a successful installation of python3...
Read More...