Thursday, November 5, 2009

How to install Google Desktop And Gadgets in Ubuntu

How to install google Desktop and Gadgets in Ubuntu 9.10
========================================================

Now the Google applications coming to the Linux Desktop.Follow up the steps to configure that in your system.

Set the Repository
-------------------

Add the following line in /etc/apt/source.list or through graphical system-->administration--> software sources and manually add the line

deb http://dl.google.com/linux/deb stable non-free

Add Google signing key. you can do the same in graphically also.

wget -c https://dl-ssl.google.com/linux/linux_signing_key.pub

If you are getting any error while making signing key refer the following doc.

Verify this URL to Add google signing key through Graphically.

http://www.google.com/linuxrepositories/ubuntu704.html

Installing Google desktop
-------------------------

$sudo aptitude update

$sudo aptitude install google-desktop-linux picasa

You can use your grphical package installer to install the other google applications.
Applications-->Ubuntu software center.
Search google then install whatever you want in google applications.


How to install Google Gadgets in Ubuntu 9.10
=============================================

Search the Google Applications in Repository.search your repo for Google Gadgets

$ apt-cache search google-gadgets
google-gadgets-common - Common files for QT and GTK+ versions of google-gadgets
google-gadgets-gst - GStreamer Module for Google Gadgets
google-gadgets-gtk - GTK+ Version of Google Gadgets
google-gadgets-qt - QT4 version of Google Gadgets
google-gadgets-xul - XULRunner module for Google Gadgets


$ sudo apt-get install google-gadgets*


Now you Have installed google desktop and gadgets in your ubuntu 9.10.

Thats All.

How to configure linux machine as Router

Hi,
I have given very simple steps to configure Linux Machine as router. Here we aregoing to use NAT option in firewall to make that.

1.Two lan cards.
eth0 - Connected with internet ( Public )
eth1 - Local Area Network ( Private )

2. Enable ipv4 packet forwarding ( run as a administrator or user with sudo power )

#echo "1" /proc/sys/net/ipv4/ip_forward
or
edit /etc/sysctl.conf and change 0 to 1 in net.ipv4.ip_forward
After that ran sysctl -p command to save that
#sysctl -p

3.Enable Iptables to handle NAT.

$/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

4.Save the Iptables rule
$/sbin/service iptables save

5.Check the iptable rule
$/sbin/iptables -t nat --list

Thats all.