Tuesday 18 September 2012

Installing Internet Explorer On Ubuntu

I.E. is something which you really can't do without. You need to test your presentation code on it whether you like it or not :) .

So, here are some steps which helped me get the job done. Hope it helps you as well.

1) Install wine. 
Open a terminal by Applications > Accessories > Terminal
or Alt + F2 , then type gnome-terminal, press enter.
2) Type sudo apt-get install wine
3) [sudo] password for nikhil: my-password-here
4) Next, open winetricks by (Applications->wine->Winetricks)
5) Choose the already selected option, which says "Select the default wine prefix", and press OK button.
6) Choose the option, "Install a Windows DLL or component" and click OK.
7) Now you can choose a whole host of things including I.E. 6,7,8 and others. Just pick any one and install.
8) To test, go to Applications -> wine -> Browse C: Drive -> Program Files -> Internet Explorer -> Run "iexplore.exe" with "wine"
 9) Congratulations !!!! You are a proud owner of I.E. on Ubuntu.

Hope it helps.
Keep Blogging. 

Saturday 8 September 2012

Setting up public keys in Ubuntu

1) Check for SSH keys
     cd ~/.ssh
   If there is already an SSH directory you'll want to back the old one
   up and remove it: 
2) Backup and remove existing SSH keys
     ls
    mkdir key_backup

    cp id_rsa* key_backup
3) rm id_rsa*
4) Generate a new SSH key
    ssh-keygen -t rsa -C "your_email@youremail.com"
5) Add your SSH key to GitHub

6) Test everything out
7) ssh -T git@github.com
    
Thanks For Reading. Keep Blogging !!!    

Installing git on Ubuntu

Well I had to re-install my computer, I lost all my data, I was so disappointed but then I thought what rifiki said in the Lion King "The past does hurt, but the way I see it you can either run from it or LEARN from it."

So, I thought I will install some bare minimum things I need in daily development and share all with you. Maybe some one gets some help and I feel happy :)
 
Lets get started:

1) sudo apt-get install git git-core
2) Provide the sudo password.
3) Test it, just type git
4) Done. Congratulations !! 


Installing Idea In Ubuntu

Well I had to re-install my computer, I lost all my data, I was so disappointed but then I thought what rifiki said in the Lion King "The past does hurt, but the way I see it you can either run from it or LEARN from it."

So, I thought I will install some bare minimum things I need in daily development and share all with you. Maybe some one gets some help and I feel happy :)

This is my sixth on the to-do list:

1) Go to the website here .
2) Download your edition Linux remenber :).
3) Open a terminal by Applications > Accessories > Terminal
or Alt + F2 , then type gnome-terminal, press enter.
4) Move the file from Downloads to ~/softwares.
5) Untar the file tar -xvmf ideaIU-11.1.3.tar.gz
6) Make a alias in .bashrc file.

alias idea11=~/softwares/idea-IU-117.798/bin/./idea.sh

7) Test it, type on a new terminal idea

idea11
8) Congratulations !!!! Happy Coding..
Installing GRAILS on Ubuntu 11.04

Well I had to re-install my computer, I lost all my data, I was so disappointed but then I thought what rifiki said in the Lion King "The past does hurt, but the way I see it you can either run from it or LEARN from it."

So, I thought I will install some bare minimum things I need in daily development and share all with you. Maybe some one gets some help and I feel happy :)

This is the fifth thing on my to-do list, so lets get started.

1) Download the appropriate zip folder from here .
2) Open a terminal by Applications > Accessories > Terminal
or Alt + F2 , then type gnome-terminal, press enter. 
3) Go to Downloads folder by cd ~/Downloads, unzip grails distribution, mine was 1.3.4 so, I did unzip grails-1.3.4
4) cp -r grails-1.3.4 ~/softwares/
5) Make a new variable in .bashrc file
6) GRAILS_HOME=~/softwares/grails-1.3.4
    export GRAILS_HOME
    PATH=$PATH:$GRAILS_HOME/bin
    export PATH
7) Test it
     grails
8) Congratulations !!

Thanks for reading. Keep Blogging !!






Installing Groovy on Ubuntu 11.04

Well I had to re-install my computer, I lost all my data, I was so disappointed but then I thought what rifiki said in the Lion King "The past does hurt, but the way I see it you can either run from it or LEARN from it."

So, I thought I will install some bare minimum things I need in daily development and share all with you. Maybe some one gets some help and I feel happy :)

This is the fourth thing in my list.

1) Go to groovy wesite here.
2) Download the zip and the documentation as well (it does help).
3) Open a terminal by Applications > Accessories > Terminal
or Alt + F2 , then type gnome-terminal, press enter.
4) Unzip the folder, move it to some other location, I keep it in ~/softwares folder.
5) Add a new variable in .bashrc file
GROOVY_HOME=/home/nikhil/softwares/groovy-1.8.7
export GROOVY_HOME
PATH=$PATH:$GROOVY_HOME/bin
export PATH
6) Test it on a console, don't forget to open another terminal and type
     groovyConsole
7) Happy Testing Groovy Code.

Thanks . Keep Blogging !!!!
Installing JAVA 1.6 on Ubuntu 11.04 

Well I had to re-install my computer, I lost all my data, I was so disappointed but then I thought what rifiki said in the Lion King "The past does hurt, but the way I see it you can either run from it or LEARN from it."

So, I thought I will install some bare minimum things I need in daily development and share all with you. Maybe some one gets some help and I feel happy :)

This is the third thing on my to-do list. Please follow the following steps:

1) Open a terminal by Applications > Accessories > Terminal or Alt + F2 , then type gnome-terminal, press enter.
2) sudo add-apt-repository ppa:ferramroberto/java
[sudo] password for nikhil: my-password-here
3) sudo apt-get update
4) Then, install java jre:
 sudo apt-get install sun-java6-jre sun-java6-plugin
5) Install Jdk by the command:
 sudo apt-get install sun-java6-jdk

6) sudo apt-get install sun-java6-jdk
7) Now, setting the JAVA_HOME variable in .bashrc file 

JAVA_HOME=/usr/lib/jvm/java-6-sun (Don't give spaces between = and /usr)
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH

8) Test it by javac -version
javac 1.6.0_26
9) Congratulations !!!