Debian

Generic Fix For Broken Packages In Debian Based Systems

So, you’ve just finished installing a bunch of updates in your system and let it restart as you go to get a cup of coffee. You take your time and get back with a cup in hand and ready to start your work for the day. As you sit down, a blank screen stares right back at you! You try typing something, but it doesn’t work. You hard reset the system and see that the boot screen shows up just fine, but then it just freezes and goes blank again. In a state of panic, you go into the safe mode and try to drop into a root shell. No dice. In a last ditch effort, you try connecting from a remote host. And voila! ssh works. Just barely. You are able to access all your files and enter commands normally.

Continue reading “Generic Fix For Broken Packages In Debian Based Systems”
Advertisements
Ansible · Configuration management · Debian · Debian 8

Installing and configuring Ansible on Debian Jessie

Ansible is shipped with Debian through the official repository. The Ansible version available through Debian repository is 1.7.

In this article let’s assume the following details for the machines

Server – Hostname: server, IP : 172.16.0.10

Node1 – Hostname: node1, IP : 172.16.0.11

Node2 – Hostname: node2, IP : 172.16.0.12

Continue reading “Installing and configuring Ansible on Debian Jessie”

Raspberry Pi · Raspbian

Installing Raspbian Jessie on Raspberry Pi

Raspbian is a free Operating system for Raspberry Pi based on Debian. The latest version is codenamed Jessie. There are 2 flavours of Raspbian – Raspbian Jessie Pixel and Raspbian Jessie lite.

 

Raspbian is available as prebuilt image from the official repository . The 2 different flavours of Raspbian can be downloaded from the following links

Continue reading “Installing Raspbian Jessie on Raspberry Pi”

Big data · Cloud · Debian · Hadoop · Open source

Hadoop Multi-Node Setup in Google Compute Engine

Setting Up GCE local access

Add ssh of your local machine to GCE Metadata

1. On Your local machine generate ssh key

$ sudo apt-get install ssh
$ ssh-keygen -t rsa -P ""
$ cat $HOME/.ssh/id_rsa.pub

2. copy the contents and replace yourusername@yourhostname with hadoop@yourhostname
Continue reading “Hadoop Multi-Node Setup in Google Compute Engine”