Monthly Archives: December 2013

Steps to install Tomcat7 server on Ubuntu 12.04

1. Install Java JDK Download jdk-7u45-linux-i586.tar.gz from Oracle Edit file to set JAVA_HOME: /etc/profile and add following lines at the bottom Reload the file use command: Check installation: 2. Install Tomcat7 Server Edit file: /etc/default/tomcat7, and uncomment the line that … Continue reading

Posted in open-source | Leave a comment

How to undo git reset –hard HEAD~1

Many times what we perceive as an error or failure is actually a gift. This morning I Learned some new knowledge from my mistakes.I tried to commit some code to my local git branch. Because I went back and forth … Continue reading

Posted in open-source | Leave a comment