Lets Kick Linux for an Hour

Embed Size (px)

Citation preview

  • 7/28/2019 Lets Kick Linux for an Hour

    1/17

    Lets Kick Linux for an Hour

    MKS

  • 7/28/2019 Lets Kick Linux for an Hour

    2/17

    Para

    Installation

    File System

    Package Management Network

    System Administration

    System Monitoring

  • 7/28/2019 Lets Kick Linux for an Hour

    3/17

    Installation

    Basic things we have to know:

    Configuration options Single/Duel Boot

    Hardware requirements

    Partition

    File System Selection

    Package Selection

    Start the setup.. Dont go away!! Some pop will be up

    you have to select

  • 7/28/2019 Lets Kick Linux for an Hour

    4/17

    File System

    What is a File System?

    File system refers to the files and directories stored

    on a computer.

    ext2 and ext3 file system journaling

    Why the file system changes?

    Availability, Data Integrity, Speed, Easy Transition

    Time Saving Strong Higher throughput,3 journaling mode

    Easy Migration

  • 7/28/2019 Lets Kick Linux for an Hour

    5/17

    Not finish

    LVM Logical Volume Manager It starts at the time of installation

    You fix disk spaces for/home, /boot, /opt etc

    RAID So many folks, Actually what is it? Redundant Array of Independent Disks

    combine multiple small, inexpensive disk drives into anarray to accomplish performance

    Level 0, 1, 4, 5, linear .

    MirroringStripping Parity Distributing Parity Grouping of drives

  • 7/28/2019 Lets Kick Linux for an Hour

    6/17

    Still Something More

    Swap Why ?

    Disk QuotaWhat is that and why dont we

    use that?

    Do you want to know about user quota?

    If yes type the following - edquota username (Dont be fool, tryas root)

    ACL access control list

    Package Management RPM, Tool, Network

  • 7/28/2019 Lets Kick Linux for an Hour

    7/17

    And more

    Typical layout of a Unix system:

    / - Root directory

    /bin - Fundamental user utilities

    /sbin - System and administrative programs

    /usr - majority of user utilities and applications

    /usr/bin - common utilities, tools, and applications

  • 7/28/2019 Lets Kick Linux for an Hour

    8/17

    Let start with Network

    Configuration Very Easy! I know where to

    put IP address, Gateway and DNS

    FirewallWhy why do we need it? Why do

    you stop it?

    SAMBA

    NFS

  • 7/28/2019 Lets Kick Linux for an Hour

    9/17

    Very Familiar

    System Settings => Network

  • 7/28/2019 Lets Kick Linux for an Hour

    10/17

    But What about ?File Description

    /etc/resolve.conf List DNS servers for internet domain name resolution.Manual page for: /etc/resolv.conf

    /etc/hostsLists hosts to be resolved locally (not by DNS).Manual page for: /etc/hosts

    /etc/nsswitch.conf

    List order of host name search. Typically look at local files, then NIS server,then DNS server.Manual page for: /etc/nsswitch.conf

    /etc/sysconfig/network Specify network configuration. eg. Static IP, DHCP, NIS, etc.

    http://man.yolinux.com/cgi-bin/man2html?cgi_command=resolv.confhttp://man.yolinux.com/cgi-bin/man2html?cgi_command=resolv.confhttp://man.yolinux.com/cgi-bin/man2html?cgi_command=resolv.confhttp://man.yolinux.com/cgi-bin/man2html?cgi_command=resolv.confhttp://man.yolinux.com/cgi-bin/man2html?cgi_command=resolv.confhttp://man.yolinux.com/cgi-bin/man2html?cgi_command=resolv.conf
  • 7/28/2019 Lets Kick Linux for an Hour

    11/17

    host name resolver configuration filesearch

    name-of-domain.com- Name of your domain or ISP 's domain if using their name server

    nameserverXXX.XXX.XXX.XXX- IP address of primary name servernameserverXXX.XXX.XXX.XXX- IP address of secondary name server

    /etc/resolv.conf

    /etc/hosts

    locally resolve node names to IP addresses127.0.0.1your-node-name.your-domain.comlocalhost.localdomain localhost

    XXX.XXX.XXX.XXXnode-name

    /etc/sysconfig/network

  • 7/28/2019 Lets Kick Linux for an Hour

    12/17

    Firewall

  • 7/28/2019 Lets Kick Linux for an Hour

    13/17

    Samba

    What is it? What is the use of it?

    ANOTHER PROTOCOL.

    Sharing Files with Windows and Printer sharing

  • 7/28/2019 Lets Kick Linux for an Hour

    14/17

    NFS

    Its a way to sharing files and directories

    Network File System

  • 7/28/2019 Lets Kick Linux for an Hour

    15/17

    Basic System Administration

    Add user and group

    Set date and time

    Display setting we called it XWINDOW Keyboard, Mouse configuring

    Automated tasks

    System Update

  • 7/28/2019 Lets Kick Linux for an Hour

    16/17

    System Monitoring

    Did you ever press history at the terminal?

    Do you know which processes are running at this

    time ?

    Do you know how stop a process you dont need?

    Where are those log files reside?/var/log

    How much memory is using at this moments?

    free

    How much disk space is free? df

  • 7/28/2019 Lets Kick Linux for an Hour

    17/17

    Conclusion

    If you know all the above You have a done a

    great job. This is the syllabus of RHCE.