Differences between Ubuntu and Redhat Linux

Differences between Ubuntu and Redhat Linux

 

Redhat

Redhat and ubuntu are having some differences between them, here you can find some commands and file names on how to configure network in RedHat PCs and in Ubuntu PCs, so you could understand that configuring network in both of them is different. Red Hat Enterprise Linux is not free, and its also used for business. Red Hat Linux, assembled by the company Red Hat, was a popular Linux based operating system.

Red Hat Linux 1.0 was released on November 3, 1994. It was originally called “Red Hat Commercial Linux”. It is the first Linux distribution to use the packaging system, the RPM Package Manager as its packaging format, and over time has served as the starting point for several other distributions, such as Mandriva Linux and Yellow Dog Linux.

Red Hat’s Features:

Red Hat Linux introduced a graphical installer called Anaconda, intended to be easy to use for novices, and which has since been adopted by some other Linux distributions. It also introduced a built-in tool called Lokkit for configuring the firewall capabilities.

It uses .rpm package called Red Hat Package Manager.

Definition rpm: The RPM Package Manager (RPM) is a powerful command linedriven package management system capable of installing, uninstalling, verifying, querying, and updating software packages. Each software package consists of an archive of files along with information about the package like its version, a description, etc.

Now What is yum? yum, also called Yellow dog Updater Modified, is a Linux utility which is use to install RPM packages/Binary Files (.rpm files). You can use yum with the following options.

Installing packages(.rpm):- To install any .rpm packages follow these command.

# yum install package name

# rpm -ivh packagename.rpm

Networking

Networking Files are that files by which system get connected in the Network.

By editing these files system will be get connected in Network.

To set IP Address

# system-config-network

  or in the below file:

# cat /etc/sysconfig/network-scipts/ifcfg-eth0

To set gateway

# system-config-network

or in the below file:

# cat /etc/sysconfig/network

To set DNS

 #cat /etc/resolv.conf

To set hostname

# hostname yourcomputerName

# cat /etc/sysconfig/network

UBUNTU

Ubuntu is an operating system, like windows. Ubuntu is a Linux distribution that starts with the breadth of Debian and adds regular releases (every six months), a clear focus on the user and usability and a commitment to security updates with 18 months of support for every release. Ubuntu ships with the latest Gnome release as well as a selection of server and desktop software that makes for a comfortable desktop experience off a single installation CD.

Ubuntu uses the.deb apt package:- Ubuntu uses .deb package for package installation as like .rpm of Red Hat.

Ubuntu also uses apt-get package installer to install packages by using command mode.

To install package Graphically, synaptic package manager.

Installing Packages (.deb)

# apt-get install packagename

# dpkg -i packagename.deb

To install packages Graphically by synaptic:

System -> Administrator -> Synaptic Package Manager

Networking

Some files to get connected system in Network.To set IP Address & Gatway

# cat /etc/network/interfaces

To set DNS

# cat /etc/resolv.conf

To set hostname

# cat /etc/hostname