Friday, January 28, 2011

Oracle JDK 1.6

Hey All,

This post explains how to install Oracle's JDK 1.6 to your Ubuntu 10.04. By default Ubuntu comes with openjdk.

So to install Oracle JDK 1.6, do add this below line to /etc/apt/sources.list file as root.

Issue this command first:

sudo gedit /etc/apt/sources.list

Next paste this below line into it

deb http://archive.canonical.com/ubuntu maverick partner

Next issue this command:

sudo apt-get update

Next open synaptic package manager and search for sun-java6-jdk


Select the check box and mark it for installation.

Hope you liked this...

Tc,
Ananth S Gouri

VirtualBox 4.0

Hey All,

Oracle VirtualBox 4.0 is released.

Check out virtualbox.org and download the required file according to your machine's architecture.

But make sure that any previous instances of virtualbox is uninstalled.

Thats it,
Ananth S Gouri

Tuesday, January 4, 2011

Knowing the DNS server

Hi All,

This post explains how to find out the dns server to which the system is connected to.

DNS as in - Domain Name Server.

Issue this command:

cat /etc/resolv.conf
namesever 192.168.x.y

This above line tells us that the system is connected to 192.168.x.y dns.

Thats it,
Ananth S Gouri

Media Access Control

Hi All,

Media Access Control - in short - mac address. This post explains how to find out the mac address of your ethernet card using a Linux command.

Issue this command from your terminal:

$arp

192.168.x.y              ether   00:01:02:03:04:05   C                     eth1

Through 'arp' command - you can figure out the mac address.

Here above in the dummy example - 00:01:02:03:04:05 - will be my mac address.

Hope you liked this post,
Ananth S Gouri

Monday, January 3, 2011

Graphics card memory size

Hi All,

This post explains how to find out the memory size of your graphics card through a Linux command.

Most of the present laptops and desktops come with an in-built graphics card. If we want to find out the memory capabilities of the card, its pretty simple.

Most of us know the command lspci - which lists the PCI cards attached to the system.

Grep this command with -s option to get the size.

If your lspci command lists any card with something that starts like VGA, then issue this command:

lspci


00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03)
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
01:00.0 Network controller: RaLink RT2561/RT61 rev B 802.11g
01:02.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
01:02.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
01:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

Note the text in red.

Issuing a command -

lspci -v -s 00:02.0

00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03) (prog-if 00 [VGA])
        Subsystem: Giga-byte Technology Unknown device 2562
        Flags: bus master, fast devsel, latency 0, IRQ 177
        Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Memory at d8200000 (32-bit, non-prefetchable) [size=512K]
        Capabilities:  
 

Thats it,
Ananth S Gouri

Sunday, January 2, 2011

Knoppix 6.4.x

Hi All,

Knoppix is a Live CD Linux Distro from the creator Klaus Knopper.

Recently its 6.4.3 version having kernel 2.6.36.1, X org 7.5, updated from the Debian's Squeeze branch was released. It has LXDE as the default desktop environment.

Visit knopper.net to download and for further information.

The DVD format of Knoppix contains around 8Gb of data in compressed form - which is around 16Gb uncompressed.

For a full list of softwares that are available with the DVD - check this link : ftp://ftp.uni-kl.de/pub/linux/knoppix-dvd/packages-dvd.txt

Hope you download Knoppix and enjoy it,
Ananth S Gouri

Cult Of Ubuntu

Hi All,

First of all - A very very Happy New Year 2011 to all my readers. May this year bring what all you ask and desire for :)

Now coming to the post, hope many of you know muktware.com

Muktware is a site headed by Swapnil Bharatiya - a writer from India now based in Germany.

He recently started another site that helps you learn Ubuntu better known as Cult of Ubuntu. The site address is cultofubuntu.com or cou.muktware.com

Both muktware and CoU are interesting sites which have loads of information on Linux and Open Source alongside with Ubuntu.

Visit them to know more,
Ananth S Gouri