How to install KODI media software on Ubuntu 16.04 Linux Desktop

Objective

The installation of KODI media software is fairly easy and straight forward procedure. The objective is to install KODI media software on Ubuntu 16.04 Linux Desktop via PPA repository.

Requirements

Privileged access to your Ubuntu System as root or via sudo command is required.

Difficulty

EASY

Conventions

  • # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ – requires given linux commands to be executed as a regular non-privileged user

Instructions

Add PPA KODI repository

If applicable, first make add-apt-repository command available on your system:

$ sudo apt-get install python-software-properties

Next, add PPA repository:

$ sudo add-apt-repository -y -r ppa:team-xbmc/ppa

Read more

determining device port

Connect your Ubuntu Linux machine to cisco serial console

What you will learn

In this article, you will learn how you can use your Ubuntu Linux machine to open a serial console on a cisco device.

Requirements

  • Privileged access to your Ubuntu machine
  • A serial cable

Conventions

# – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ – requires given linux commands to be executed as a regular non-privileged user

How to proceed

Install screen

In this step you need to install screen, a program that will allow you to open the serial console fo your cisco device.

$ sudo apt install screen

Read more

git clone etherpad

Install Etherpad web-based real-time collaborative editor on Ubuntu 16.04 Linux

Introduction

Etherpad is an Open Source, web-based and real-time collaborative editor. It allows multiple persons, using their web browsers to edit a document at the same time. It also offers some cool features like rich text formatting and instant messaging.

The objective is to install Etherpad on Ubuntu 16.04 Linux.

Conventions

# – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ – requires given linux commands to be executed as a regular non-privileged user

Requirements

Privileged access to your Ubuntu machine.

Steps to follow

Install the prerequisites

In this first stage, let’s install git, curl, libssl-dev, python and build-essential.

$ sudo apt install git curl python libssl-dev pkg-config build-essential

Install node.js

Etherpad relies on node.js. We will install its latest stable version by using the following linux commands:

$ wget https://nodejs.org/dist/v6.9.2/node-v6.9.2-linux-x64.tar.xz
$ tar xJf node-v6.9.2-linux-x64.tar.xz
$ sudo mkdir /opt/nodejs/ && mv node-v6.9.2-linux-x64/* /opt/nodejs
$ echo "PATH=$PATH:/opt/nodejs/bin" >> ~/.profile

Read more

Installing A Django Development Environment on Ubuntu

Django is easily the most popular web framework written in Python. It strikes a delicate balance between feature completeness and efficiency, including powerful features like automatic migration generation and a full-featured admin interface. Setting up a Django development environment in Ubuntu is fairly easy, and can be done in only a few steps.

Installing Virtualenv

It’s best to use a Python virtual environment when developing in a complex framework like Django, especially if you intend to work on multiple projects at once. It’s also probably a good idea to make sure that you have both versions of Python up to date.

$ sudo apt-get install virtualenv python python3

Read more

qTox running on Ubuntu

Protecting Your Chat With qTox on Ubuntu Linux

Intro

Many people rely on proprietary chat solutions like Skype, but those solutions pose serious concerns for both privacy and security. Additionally, development of the Skype Linux client has been unpredictable at best, even stalling for a number of years, only to resume just recently.

qTox running on Ubuntu

Read more

Install LXD with apt-get install lxd

Getting Started With LXD containers on Ubuntu 16.04

Why LXD?

It’s no secret that containers are hot right now in the Linux world. They are quickly becoming the backbone of the Cloud and are making DevOps dreams come true. Even so, at first glance, it seems a bit redundant for Canonical to develop a new container system for Ubuntu in a world easily dominated by Docker. So why, then, did they do it? To fill a middle ground between traditional virtual machines and Docker. Canonical said it themselves, “By combining the speed and density of containers with the security of traditional virtual machines, Canonical’s LXD is the next‐generation of container hypervisor for Linux.” Not only that, but Docker containers can be run within LXD containers, adding another dimension to potential container configurations.

LXD is an enhancement of the existing LXC Linux container hypervisor with it’s own toolset, sharing a similar relationship to the original project as Ubuntu does with Debian with the goal of taking existing great software and streamlining it for easier use. On Canonical’s latest Ubuntu LTS release, 16.04, LXD is well integrated and easy to use with clear and concise CLI tools that make container creation and management seamless.

Initial Setup

Getting started with LXD on Ubuntu 16.04 is as close to effortless as could be expected. Canonical condensed the install to a single package, making this a one command install. A simple sudo apt-get install lxd will get everything needed to get started.

Install LXD with apt-get install lxd

Read more

Install AMDGPU-PRO 16.50 on Ubuntu 16.04 Xenial Xerus Linux

Introduction

The latest AMDGPU drivers launched from AMD only a few short days ago bringing changes like FreeSync support and additional support for mobile chipsets as well as the obvious performance improvements.

Like the previous versions of the proprietary AMDGPU driver, only “Enterprise Grade” distributions are supported, so you won’t find official Ubuntu 16.10 support just yet. Ubuntu 16.04 is continuing to be supported, and that will be the target of this guide.

Getting The Packages

AMD has provided the packages required for the install in a tarball. The reason for a tarball of .deb packages instead of the .run installer of previous AMD drivers is that AMDGPU-PRO functions by providing its own custom versions of key pieces of software needed for the drivers to function properly.

AMDGPU-PRO is build ton the open source AMDGPU drivers, and just like those drivers, requires newer versions of Mesa, DRM, and the Kernel. To ensure that these requirements are met, they are provided.

You can get the tarball one of two ways. If you prefer to use your browser, go to AMD’s website and download the drivers and untar them with your graphical archive manager of choice.

https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx

If you’d prefer to use the command line, wget the package directly and untar it from the command line.

$ cd ~/Downloads
$ wget https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-16.50-362463.tar.xz
$ tar -xJvf amdgpu-pro_16.50-362463.tar.xz

Read more

check vpnserver installation

Setting up SoftEther VPN Server on Ubuntu 16.04 Xenial Xerus Linux

Introduction

Whether you want to be able to connect remotely to your corporate network or to construct a virtual network between two remote points, through an unsecure network (eg: Internet), you will somehow need a VPN (Virtual Private Network). A VPN allows you to securely connect to a remote LAN (Local Area Network) through Internet or untrusted networks.

SoftEther is an Open Source VPN Server, an alternative to OpenVPN. It’s thought to be the world’s most powerful and easy-to-user multi-protocol VPN software.
Our article concerns how to setup SoftEther on Ubuntu Xenial Xerus Linux.

What you will need

  • Ubuntu 16.04 Xenial Xerus Linux
  • A 30 GB available disk space is recommended
  • A root privilege

Note that binaries used for this article are x64 architectures. If your machine is not x64, you need to choose the suitable binaries.

Conventions

# – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ – requires given linux commands to be executed as a regular non-privileged user
> – given command to be executed from vpncmd command line interface

Preparing the server

Upgrade the system:

$ sudo apt update
$ sudo apt upgrade

Install (if not installed yet) build-essential for compilation purpose:

$ sudo apt install build-essential

Read more

A beginner’s introduction to snaps the universal Linux package format

Introduction

What are snaps and why you should use them? The Linux ecosystem has suffered from an old problem since the dawn of the concept of ‘distribution’, and that
problem is fragmentation. One of the biggest issues that cause this fragmentation is different package formats; I can’t run my .debs on my Fedora system or my .rpms on my
Ubuntu machine. Yes, we do have alien, which should allow the transition between the two formats, but there are two problems with this approach : there are other package
formats besides rpm and deb and besides, alien doesn’t always work as expected. So the issue is still there, or I should say, was there. Enter snap, the universal Linux
package format, which strives to offer users and developers a single packaging format and easiness when it comes to creating new packages with the applications and libraries
that are needed, ensuring that said packages are easily shareable between distributions. Dell, Samsung and the Linux Foundation are quoted as contributors, while among
supported distributions are Fedora, Ubuntu, Arch or OpenSUSE.

This article will detail how to use snaps as a simple user, as well as instructions for developers/packagers
on how to create snaps for others to use. The OS we’re gonna use is Ubuntu 16.04, but the instructions below shouldn’t be hard to adapt to other distributions.

Snaps as a simple user

This part will give you a tour of snap from a user perspective : how to install the necessary tools and how to use them for basic, day-to-day
usage. First, you need to install snapcraft, a package that provide snap, the go-to tool for aforementioned day-to-day operations :

 $ sudo apt install snapcraft

Read more

Deployment of Kippo SSH Honeypot on Ubuntu Linux

Introduction

Do you feel that someone is attempting to access you server? To find out, you can deploy a honeypot within your system to help you ease your paranoia by either confirming or dismissing your initial believe. As an example you can start the Kippo SSH honeypot, which allows you to monitor brute-force attempts, collect up today exploits and malware. Kippo also automatically records hacker’s shell session, which you can replay to explore various hacking techniques and later use this gathered knowledge to harden your production server. Another reason why to install a honeypot is to take away an attention from your production server. In this tutorial we will show how to deploy a Kippo SSH honeypot on the Ubuntu server.

Prerequisites

Kippo SSH honeypot is a python based application. Therefore, we need to first install python libraries:

$ sudo apt-get install python-twisted

Normally you would run you sshd service listening on default port 22. It makes sense to use this port for your SSH honeypot and thus if you already run the SSH service we need to change the default port to some other number. I would suggest not to use alternative port 2222 as its use is already generally known and it could sabotage your disguise. Let’s pick some random 4-digit number like 4632. Open your SSH /etc/ssh/sshd_config configuration file and change the Port directive from:

Read more

Windows 7 partitioning

Dual boot Ubuntu Linux and Windows 7

Introduction

You need Windows for a program you use for work, your favorite game runs only on Windows or you are a developer that works on some cross-platform project. And of course, you can’t even think about giving up your favorite OS. Whatever the reason, you need Windows and a virtual machine won’t cut it so all you’re left with, if you don’t have a spare machine, is dual-boot. I usually recommend against multiple-boot machines, but I can’t argue with the fact that here are situations when the idea is very useful. So this is what this article is about: making sure you need a dual-boot system, acknowledging the requirements, making backups if need be and proceed. You are expected to have some experience in installing Windows as well as Linux, at least Ubuntu in this case, and some courage. But first let’s make some concepts clear.

Concepts

We don’t want to lie to you: any task that involves advanced partitioning schemes isn’t for the faint of heart. But it isn’t rocket science either, and we’re here to help you. Various operating systems have various partitioning schemes but since the partitioning concepts of the PC are so “smart”, there are some things you should know. Every OS that I know of that is installable on the PC requests a primary partition to boot from. Linux is the most flexible in this respect, as you can have its’ /boot or / on a logical partition, but I’m not so sure if your BIOS will be able to boot from it. Windows, Solaris and the BSDs absolutely demand primary partitions, with Windows being the most “oppressive” in that respect. So whenever you install a dual-boot system with Windows involved, install it first, as it won’t ask you and overwrite the MBR. If you want to dual-boot Linux and BSD or Solaris, install Linux first. Now that we settled this, we will insist you make backups if you have other partitions on the target disk, and you still need them. Our setup will start with a blank drive, and we’ll show you how it’s done.

Installing Windows 7

As said, you need to install Windows first, and this is more than an advice, and it doesn’t apply only to Windows 7 either. We suggest you don’t try over-complicated setups, because your chances of having a system actually up and running in decent time are decreasing rapidly that way. Take note that this article is not a step-by-step how-to on installing Windows 7 and/or Ubuntu. We will only refer to the parts that involve partitioning for a successful dual-boot experience. So, when you will get to Windows’ partitioning screen, here’s a screenshot for you to get an idea:

Windows 7 partitioning

So, since Windows asks for a minimal primary partition size of more than 12 GB (!) , I gave it that, it auto-created it’s system one and left me the rest of the disk empty and blank. After installing finished successfully, I was prepared for the tricky part: installing Linux. No, I’m just kidding, it’s as simple as it can be.

Read more

installation of spotify music client on on Ubuntu 14.04 LTS Linux

Installation of Spotify client on Ubuntu 14.04 LTS Linux

This short config will show you how to install Spotify client on Ubuntu 14.04 LTS Linux. Let’s start by adding a spotify repository:

echo 'deb http://repository.spotify.com stable non-free' >> /etc/apt/sources.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 13B00F1FD2C19886
apt-get update

Read more