Published on

linux concepts

Published in: Education, Technology
  • Be the first to comment

  • Be the first to like this


  1. 1. Differences(Linux)
  2. 2. Centos vs Ububtu• The main difference is that CentOS is based on Redhat Enterprise Linux, while Ubuntu/Ubuntu Server has its roots in Debian.• One philosophical difference that no administrator on an Ubuntu system knows the root password (its randomly generated), and root-privileges are granted through the sudo command.• CentOS uses the YUM package manager with RPM packages, while Ubuntu uses apt with DEB packages.• Ubuntu tends to be less conservative than CentOS, which means that its repositories contain fresher packages, whereas CentOS packages are tend to focus on security patches only.
  3. 3. Ubuntu vs Debain• Ubuntu and Debian are closely related. Debian and Ubuntu are free Linux distributions using the apt package management system.• Ubuntu builds on the foundations of Debians architecture and infrastructure, but has a different community and release process.• Ubuntu and Debian are distinct but parallel and closely linked systems. The Ubuntu project seeks to complement the Debian project .• Ubuntu provides a system based on Debian with frequent, regular releases and a consistent desktop interface. It is backed by Canonicals commercial services and support on both the desktop and the server. It releases critical bug fixes and is never more than six months away from the latest version of anything in the open- source world.
  4. 4. Red Hat vs DebainTask RedHat DebianVersion /etc/redhat-release /etc/debian_releasePackage GUI KPackageKit, yumex Synaptic Package ManagerPackage management rpm, yum, yumex(GUI) dpkg, apt-*, aptituteList packages rpm -qa dpkg -lWhich package a file rpm -qf filepath dpkg -S filepathbelong to?Package installation from rpm -ivh packagefile.rpm dpkg -i packagefile.deban available package fileRemove package rpm -e packagename dpkg -r packagenamePackage Search yum search ssh aptitude search sshPackage installation yum install openssh aptitude install opensshPackage Removal yum remove openssh aptitude remove openssh /etc/sysconfig/network-Interface configuration /etc/network/interfaces scripts/*
  5. 5. Red Hat vs DebainTask RedHat Debian /etc/init.d/networkingNetwork service /etc/init.d/network restart restart service servicename invoke-rc.d servicenameService Start/stop start,stop,restart start,stop,restartService add/remove chkconfig update-rc.dApache Configuration /etc/httpd/* /etc/apache2/*Apache Log files /var/log/httpd/* /var/log/apache2/*Apache Default Document /var/www/html /var/www/www-dataRootxinetd /etc/xinetd.d/* /etc/inetd.confxinetd service xinetd restart update-inetd (options)DNS config file /etc/named.conf /etc/bind/named.confDNS service file /etc/init.d/named /etc/init.d/bind9