Objective

The objective is to install Node.js the cross-platform JavaScript runtime environment on Ubuntu 16.04 Xenial Xerus Linux

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

There are multiple ways on how to install Node.js on your Ubuntu 16.04 Xenial Xerus Linux server. The below steps will show you how to install Node.js using a standard Ubuntu repository, PPA repository, Node.js native setup script and by use of Node Version Manager. The easiest installation is by using standard Ubuntu repository, however it yields lower Node.js version. If you need a bleeding-edge Node.js version you better opt for an automatic installation using the Node.js native setup script.

node.js installation from Ubuntu Repository

Installation of Node.js using Ubuntu's standard repository cannot be simpler:
$ sudo apt-get install nodejs

Objective

The objective is to perform an installation of the Android Studio on Ubuntu 16.04 Xenial Xerus Linux

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

Download Android Studio

The first step is to use web browser and navigate to https://developer.android.com/studio/ to download Android Studio IDE for Linux. Save the zipped bundle file locally into eg. Downloads directory.

ubuntu 16.04 Xenial download android studio

Install Prerequisites

Android Studio requires few prerequisites before it can be installed. Run the following linux command to fulfill this requirement:
$ sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386

Objective

The objective is to install TeamViewer the remote control and desktop sharing software on Ubuntu 16.04 Xenial Xerus Linux

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

Prerequisites

We will be using gdebi command to install TeamViewer as it allows us to automatically download all required TeamViewer dependencies. If you have not done so yet install gdebi package:
$ sudo apt-get install gdebi

TeamViewer download

At the time of writing only multi-arch TeamViewer package is available. Use your browser to download Ubuntu version of TeamViewer or execute the below wget command, while updating the below URL is necessary:
$ wget https://downloadus2.teamviewer.com/download/version_12x/teamviewer_12.0.71510_i386.deb

Objective

The objective is to install Google Chrome browser on on Ubuntu 16.04 Xenial Xerus Linux.

Requirements

Privileged access to your Ubuntu 16.04 Xenial Xerus Linux Desktop

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

Install gdebi

The easiest way to install external *.deb packages such as google chrome, is by use of gdebi tool. gdebi will automatically fetch and install all chrome's dependencies. If you have not done so yet, install gdebi now:
$ sudo apt-get install gdebi

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

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

Git has become the default version control system for much of the open source world. While Git hosting services like Github and Bitbucket are good and work well, they leave you dependent on those services for everything, including crucial factors like uptime and security. Aside from that, neither of those services are open source. Thankfully, an alternative exists in the form of Gitlab.

Gitlab is an open source Git repository service written in Ruby on Rails that can either be self-hosted, or purchased as a service. Hosting Gitlab is fairly easy, especially since it comes in a per-configured "Omnibus" package.
Ubuntu 16.04 running MPD Gitlab

August 22, 2016
by Rares Aioanei

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

Linux has a ton of options when it comes to media players. Many of them are just as feature packed as their proprietary counterparts on other operating systems. What most Linux users don’t realize is that there are additional options that utilize one of Linux’s greatest strengths, servers. MPD(Music Player Daemon) is a lightweight server for sharing a music library both locally and over a network.

The best aspect of MPD is, by far, its flexibility. Not only does MPD allow music to be shared and played over the network, but it also allows for numerous different front end clients. These clients range from full graphical music players to minimal command line options.

Ubuntu 16.04 running MPD with the Cantata client

Sure, VirtualBox is a popular solution for quick and easy virtualization on Linux, but KVM can provide a more robust and efficient solution with minimal configuration. With the use of tools like Virt-Manager, it can be just as easy to use.
Ubuntu 16.04 running in a virtual machine

Nginx is quickly overtaking Apache as the favorite web server. For web apps built in languages like Rails and Python it’s virtually ubiquitous, but it’s a bit slower to catch on in the PHP world. Part of the reason for that is how easily PHP and Apache go together. However, PHP and Nginx can cooperate nearly as easily, and with the release of PHP 7, combining the two can be a fairly speedy option.

The Packages

First thing’s first. Update Ubuntu and get the the Nginx and PHP packages.
# sudo apt-get update && sudo apt-get -y upgrade
# sudo apt-get -y install nginx php7.0 php7.0-fpm
When the installation is finished, the packages should all be in place, and actually running. To make sure that this is the case, you can check that both Nginx and the PHP-FPM services are running in Systemd.
# sudo systemctl status nginx
# sudo systemctl status php7.0-fpm
If Systemd confirms that both services are running, the server should actually be up, and you should be able to see the default Nginx welcome page by navigating to localhost in the browser.

Ruby on Rails is one of the most popular web development platforms today, with some of the hottest start-ups and tech giants employing it in their software stacks. One of the biggest selling points of Ruby on Rails is the ease of development. It is just as easy to get set up and start developing, especially on Linux.

Ruby on Rails running on Ubuntu 16.04

Installing the Packages

There are a couple of packages needed before Ruby can be installed in set up, and no, Ruby isn’t one of them. Since this tutorial is going to be using the Ruby Version Manager, or RVM, to manage Ruby, there’s no need to install the package through Ubuntu. There are a couple of packages that RVM needs in order to work and one that never seems to get pulled in by gem installs(nodejs).
# sudo apt-get install build-essential curl nodejs

This guide will provide you with an information on how to reset lost root ( administrator ) password on Ubuntu 16.04. This guide assumes that you have the actual physical access to your Ubuntu 16.04 Linux box.

Reboot to Grub Menu

In the first step you need to reboot your Ubuntu 16.04 Linux box to Grub's menu. If the Ubuntu 16.04 is the only installation available keep pressing SHIFT after you start your computer until GRUB's menu appears: reboot your Ubuntu 16.04 Linux box in Grub's menu

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.

Introduction

This article will deal with installation and configuration of WebDAV server on Ubuntu Linux. WebDAV stands for Web Distributed Authoring and Versioning and allows connected users the edit and share data online via the HTTP protocol. This makes WebDAV a popular choice for developers when combined, for example, with Subversion or OpenLink Virtuoso. WebDAV is supported by number of clients ranging from davfs2, which makes it possible to mount the WebDAV's data storage to include into the local filesystem. This can be done with the mount command to various GUI applications with the native WebDAV support such as Nautilus, konqueror, etc. Futhermore, in this guide we will combine WebDAV with the Apache2 server.

Scenario

In this section I would like to describe a scenario used in this tutorial. WebDAV can be very flexible service, which allows for number of configuration settings and scenarios. In this WebDAV tutorial we will start with the simplest basic startup WedDAV configuration and from there we will build it up to fit more complex environment. You can think of WebDAV as a HTTP extension for your existing website configuration. Normally, you may already have your apache website up and running. Thus, in that case, all you need to do to in order to include the WevbDAV service is to:

  1. create additional upload data directory to use by WebDAV
  2. configure your existing apache2 virtual host file

However, in this guide we will start from scratch starting from apache2 installation, virtual host creation, etc. Therefore, feel free to skip to any section most appropriate to your configuration requirement.

FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in: