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

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

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

Legacy Bios, UEFI and SecureBoot ready Ubuntu Live image customization

This article will provide you with a core information on how to create boot-able Ubuntu Live customized isohybrid image to get you started with your own Ubuntu distro spin-off. The output image will be amd64 customized Ubuntu live image, capable to boot in all three boot modes: Legacy Bios, UEFI and SecureBoot.

The article will not get into much detail about how to perform the actual squashfs system customization. However, instead it will concentrate on all the steps regarding unpacking the official Ubuntu Iso and putting all parts back together to produce bootable isohybrid image supporting Legacy Bios, UEFI and SecureBoot modes.

Prerequisites

As always we start by prerequisites and optional package installation:

$ sudo apt-get install dumpet xorriso squashfs-tools gddrescue

Downloading Ubuntu ISO image

The first part of creating your own customized Linux distro based on the Ubuntu Linux is to download the official Ubuntu ISO image. Create a new directory custom-ubuntu to hold all files required by this project. EFI and its SecureBoot feature is not supported on i386 architecture so download any amd64 version of the Ubuntu ISO image and store it within custom-ubuntu directory:

$ mkdir custom-ubuntu
$ cd custom-ubuntu/
$ wget http://url/to/ubuntu/image.iso

Read more

How to Install Java on Ubuntu Linux

Introduction

How to install Java on Ubuntu Linux? Although, this topic is a quite self explanatory to an experienced Linux system administrator it still creates lots of confusion for beginners in terms what version of Java I need, how do I install it or how to change my system settings between multiple different types of Java versions. The aim of this short article is to shed some light on this topic as we will show how to install Java JDK for both Oracle and as well as OpenJDK.

What is Java

In short, Java is an object-oriented programming language. The current owner of the official implementation of the Java SE ( Standard Edition ) platform is Oracle Corporation. The free and open source implementation of the Java Platform SE is called OpenJDK and OpenJRE. There is also another Java version maintained by IBM. IBM provides also both JDK and JRE. Currently only OpenJDK and OpenJRE Java versions are available via standard Ubuntu repository.

Read more

Oracle Java JDK 7 on Ubuntu Linux – Source or RPM Installation

Introduction

In the previous article we have discussed how to install OpenJDK java on ubuntu from the standard Ubuntu repository or Oracle’s Java JDK 7 using Personal Package Archives ( PPA ). This article will cover installation of Oracle Java JDK 7 from a source package or by converting RPM Java package to the Debian software package format.

Download Oracle Java JDK 7

First, we need to download Oracle Java JDK source package from the official Oracle website. Navigate to JDK Downloads, accept license terms and download jdk-7<version>-linux-<architecture>.tar.gz. Current version of this source package is jdk-7u11-linux-x64.tar.gz and this is also what we are going to use in this tutorial. Store this tarball source package into your home directory or some other arbitrary place.

Read more

Setting up apt proxy Server Approx on Ubuntu Linux

Introduction

Approx is a proxy server for Debian archive files. Having such a service within your LAN with multiple Debian like systems will provide you with number of benefits such as update speed since any update package needs to be downloaded only once. This will also lower down Internet download usage requirements, etc. This article will describe a process of approx setup for Ubuntu Linux.

Installation

As any other installation from standard Ubuntu repository, installation of the approx apt proxy server is a fairy simple process. Install the approx apt proxy server with:

$ sudo apt-get install approx

The above command will also install all prerequisites including Internet superserver inetd, which is used to invoke the approx server.

Read more

How to restart network on Ubuntu 16.04 Xenial Xerus Linux

The following linux commands will assist you with network restart procedure on Ubuntu 16.04 Xenial Xerus Linux. We will start with the most recommended commands and move down to more obscure or obsolete commands in case the above commands will fail from some reason.
Let’s begin with system and service manager by using systemctl command to restart network service:

$ sudo  systemctl restart NetworkManager.service

Next command service will restart a relevant networking System V init script:

$ sudo service network-manager restart

Read more

Allow ssh root login on Ubuntu 14.04 Linux server

By default the root ssh login to Ubuntu 14.04 Linux server is disable. This is a security feature and even though you chnage the root password the root ssh login will be denied showing message similar to the one below:

$ 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).

Read more

Ubuntu Xenial Xerus 16.04 Linux ISO image download with zsync

zsync is a very handy download tool if you would like to keep your Ubuntu Xenial Xerus ISO image up to date without the need to re-download and entire ISO image every time there was an update. This is especially true with a daily build Ubuntu Xenial Xerus ISO images or if you have a limited download speed or bandwidth. In this case thezsync will allow you to download only that part of the ISO image which has been changed since your last download.

Prerequisites

To get begin let’s start by installation of zsync package:

# apt-get install zsync

Read more

Ubuntu – The headers for the current running kernel were not found. – Solution

Symptoms

The following message appears during the building stage of VirtualBox Guest Additions:

Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.

Solution

First check whether your system includes kernel headers matching your currently running kernel. For example:

# dpkg --get-selections | grep linux-headers
linux-headers-3.13.0-53                         install
linux-headers-3.13.0-53-generic                 install
linux-headers-generic                           install
# uname -r
3.13.0-53-generic

Read more