Showing posts from June, 2014

Setting up static IP in Ubuntu and autostarting vncserver

$sudo nano /etc/networks/interfaces

Edit this file and change the ip/netmask/gateway and dns as per your network.

auto lo iface lo inet loopback auto eth0 iface eth0 inet static address netmask gateway dns-nameservers
Restart networking service.

$ sudo service networking stop
$ sudo service networking start

Auto starting vnc server -

First, install the TightVNC server sudo apt-get install tightvncserver. Set up the VNC server for the user you wish to log in as. When you run "vncserver" for the first time, it will ask you to set a password. only allow SSH tunnelled or VPN connections. To launch programs or a session when your VNC session starts, modify ~/.vnc/xstartup. Here is an example. #!/bin/sh xrdb $HOME/.Xresources xsetroot -solid black /opt/azureus/azureus & k3b & icewm-session & Copy the following into /etc/init.d/vncserver. Th…

Docker: Container Virtualization

Docker provides so called container virtualization, allowing an application and its dependencies to run as an isolated process inside a virtual environment. This environment is then portable from local computers to backend infrastructure and cloud. Docker uses LinuX Containers (LXC) running in the host OS allowing you to share the resouces available to the host.

Docker started in March 2013, in 15 months it had 8,741 commits from more than 460 contributors. 2.75 millions downloads and 14,000 "Dockerized" apps. Docker is supported by major technology and service providers like Canonical, Fedora, Google Cloud Platform, OpenStack, Rackspace and Red Hat.

Docker today announced the release of version 1.0 of its container virtualization solution.

For a full list of what changed in version 1.0 see the features and fixes commits list.

This post is excerpted from :…