My First Post      My Facebook Profile      My MeOnShow Profile      W3LC Facebook Page      Learners Consortium Group      Job Portal      Shopping


Thursday, January 24, 2013

CentOS 6.3 - Version/ Network/ GCC/ GDB - Settings

Good that you chose CentOS for your usage. Undoubtedly, it is a good Linux flavor. You may download latest binaries/ iso images etc from

What is CentOS Linux?

It is worthwhile to mention that CentOS is an Enterprise-class Linux Distribution derived from sources freely provided to the public by a prominent North American Enterprise Linux vendor.  CentOS conforms fully with the upstream vendor's redistribution policy and aims to be 100% binary compatible. (CentOS mainly changes packages to remove upstream vendor branding and artwork.)  CentOS is free.

CentOS is developed by a small but growing team of core developers.  In turn the core developers are supported by an active user community including system administrators, network administrators, enterprise users, managers, core Linux contributors and Linux enthusiasts from around the world.

Above description may also be read in full details at

How to check Version of CentOS? 32bit or 64 bit?

if u do uname -a
you will get linux kernel description. for eg.
Linux dnsserver 2.6.xx-yyy x86_64.
it tells you that it is a 64 bit OS

in case you want to read centos version do the following:
cat /etc/centos-release

it will return you something like "CentOS release 6.3 (final)"
Now this typically tells you that it is CentOS 6.3. Voila!!

You can also use cat /etc/redhat-release.

Install Gcc and GDB

This usually comes bundled.
In order to check version you can use --version switch. For eg.
gcc --version
gdb --version

CentOS 6.3 comes with GDB 7.2.xx series.

In case you dont have gcc etc, you can use Yum command.
First check with rpm.
Then use yum command.
For eg.
rpm -q gcc-c++
yum install gcc-c++

Network Settings in CentOS 6.3

Being a UI rich OS, you can directly set network parameters.
Goto System-->Preferences-->Network connections
Choose connection you want to correct (usually eth1 for ethernet)
Go to IpV4 setting and provide Ip address.
Press OK

Then from command shell you can check whether it is set or not. Use the command "ip a"

So, your Development or Testing infrastructure is ready. Use, code, distribute, and test your applications. And thank me too!!

Signing off for now.
Mohd Anwar Jamal Faiz

No comments:

Post a Comment