Friday, March 28, 2014

GIthub setup

create a github account on github.com then

install git

$sudo apt-get install git


 Now do this in the terminal (This is not required though )
 
$git config --global user.name "your_ame"
$git config --global user.email "your_email"


After this you can either create a repository using website or from local computer using git commands

From website, its pretty clear.

From local computer, here are the steps.

$mkdir abc

$cd abc

$git init          ( this command tells the computer that this is local git repo.)




Wednesday, January 1, 2014

Setting JAVA_HOME

Setting JAVA HOME

Make a new file, if it already doesn't exist

vi ~/.bash_profile

write this in the file and save it.

#! /bin/bash
clear

JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin
export JAVA_HOME
export PATH


then

source it

source ~/.bash_profile

Sunday, December 29, 2013

Install VM Player on Ubuntu

How to Install VMPlayer on Ubuntu

Get the VMPlayer from site

1. https://my.vmware.com  
             and browse to downloads section (You may need to register first)

Then you need to install linux headers that is required for VM Player

2. sudo apt-get install build-essential linux-headers-`uname -r`

Go to the location where you downloaded it and then change the execute permission

3. chmod +x VMware-Player-5.0.3-1410761.x86_64.bundle   (filename may differ)

Execute this command to install the bundle

4.  sudo ./VMware-Player-5.0.3-1410761.x86_64.bundle

Then just follow the trivial steps to finish the installation.

Thanks


Please give suggestions/feedback to improve the blog.

Saturday, December 28, 2013

Install Spotify with a single copy and paste command

Install Spotify with a click

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4E9CFF4E &&
sudo sh -c 'echo "deb http://repository.spotify.com stable non-free" >> /etc/apt/sources.list' &&
sudo apt-get update &&
sudo apt-get install spotify-client-qt


Thanks

Please provide feedback/suggestions to improve the blog.