Thursday, October 27, 2011

How to Install GIT on Red Hat Enterprise Linux 6?

Download all the files that you required for git installation.

 rayarn@erp: wget http://git-core.googlecode.com/files/git-1.7.7.1.tar.gz
 rayarn@erp: wget -O git-manpages-1.7.7.1.tar.gz http://code.google.com/p/git-core/downloads/detail?name=git-manpages-1.7.7.1.tar.gz&can=2&q=

Install all required library before you continue building git if you haven't done this before or if your RHEL 6 is a fresh install.
  rayarn@erp: sudo yum install zlib-devel
  rayarn@erp: sudo yum install perl-CPAN
  rayarn@erp: sudo yum install gettext

Now let's make this a straightforward approach because the reason why you're reading this blog is to know how to install GIT to Red Hat Enterprise Linux 6 (RHEL 6) and I hope I am not required to explain all the command.

  rayarn@erp: tar xvfz git-1.7.7.1.tar.gz
  rayarn@erp: cd git-1.7.7.1
  rayarn@erp: ./configure
  rayarn@erp: make
  rayarn@erp: sudo make prefix=/usr install
  rayarn@erp: git --version

Expected output should be: git version 1.7.7.1

 



Thursday, October 20, 2011

Ubuntu 11.10 Internet stop working after upgrading from 11.04 desktop

After upgrading my Ubuntu 11.04 to 11.10, my internet browser (ie: firefox, chrome, etc) and I can't even ping google.com to check if I have a connection to the internet. But, I can ping my other machine.

The fix that I did was very simple:

If you're currently on your desktop please switch to a terminal

Step 1: CTRL + ALT + F1
Step 2: Enter your username and password
Step 3: Enter the following command

   sudo -i
   service network-manager stop
   dhclient eth0
   dpkg --configure -a


Then try to ping google.com and that should work. Don't forget to reboot or you can switch back to your desktop by pressing CTRL + ALT + F7