Linux Installation INSTALLING LINUX  BY RAJESH J
Introduction <ul><li>1. System Installation and Customization </li></ul><ul><li>2. System Maintenance </li></ul><ul><li>3....
What is Linux? <ul><li>Linux is an operating system. </li></ul><ul><li>Software on a computer that enables applications.  ...
Where is Linux? <ul><li>One of the most noted properties of Linux is where it can be used.  </li></ul><ul><li>Windows and ...
What this is about <ul><li>Workshop on: </li></ul><ul><ul><li>System installation & customization </li></ul></ul><ul><ul><...
How to install Linux Linux Installation <ul><li>To install Red Hat, you will need to download the ISO   images (CD Images)...
Installation and Customization <ul><li>Disk space </li></ul><ul><li>Installation method </li></ul><ul><li>Installation cla...
Installation and Customization <ul><li>Hardware Information </li></ul><ul><ul><li>Where to get information about hardware ...
Installation and Customization <ul><li>Installing from a Hard Drive </li></ul><ul><li>Preparing for a Network Installation...
Installation and Customization <ul><li>Preparing to Install </li></ul><ul><li>Installing Packages </li></ul><ul><li>Boot D...
System Maintenance <ul><li>Type of Backups </li></ul><ul><ul><li>Full backup </li></ul></ul><ul><ul><ul><li>Every single f...
Basic commands of Linux
1.Wirte command write -Send a message to another user Syntax: write user [ttyname] Example $ Write maude This is a test me...
2.Xargs command Execute a command, passing constructed argument list(s). The arguments are typically a long list of filena...
3.Yes command `yes' prints the command line arguments, separated by spaces and followed by a newline, forever until it is ...
4.whoami command Print the current user id and name. Syntax: whoami [options] Options whoami produces the same result as t...
Alias -Create an alias Syntax alias [-p] [name[=value] ...] unalias [-a] [name ... ] 5.Alias command
6.Aspell command Aspell  -Spellcheck a file. Syntax: aspell check [options] filename Examples: Check the file foo.txt: $ a...
7.awk or gawk (gnu awk) command Find and Replace text, database sort/validate/index Syntax: awk <options> 'Program' Input-...
8.basename command Strip directory and suffix from filenames Syntax: basename NAME [SUFFIX]   basename OPTION
9.cat command Display the contents of a file (concatenate) Syntax: cat [Options] [File]...
10.Cd command Change Directory - change the current working directory to a specific Folder. Syntax : cd [Options] [Directo...
11.cfdisk command Curses based disk partition table manipulator for Linux Syntax: cfdisk [ -agvz ] [ -c cylinders ] [ -h h...
12.chgrp command Change group ownership 'chgrp' changes the group ownership of each given File to Group (which can be eith...
13.chmod command Change access permissions, change mode. Syntax chmod [Options]... Mode [,Mode]... file... chmod [Options]...
14.chkconfig command Update and query runlevel information for system services. Syntax: chkconfig --list [name] chkconfig ...
15.cksum command Print CRC checksum and byte counts Computes a cyclic redundancy check (CRC) checksum for each given File,...
16.cmp command Compare two files, and if they differ, tells the first byte and line number where they differ. You can use ...
17.comm command Common - compare two sorted files line by line  Syntax: comm [options]... File1 File2
18.command Run command with arguments ignoring any shell function named command. SYNTAX command [-pVv] command [arguments ...
19.continue command Resume the next iteration of an enclosing for, while, until, or select loop. SYNTAX: continue [n] If n...
20.Cp command Copy one or more files to another location Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY. Syntax: ...
21.cron command daemon to execute scheduled commands Syntax: cron Cron should be started from /etc/rc or /etc/rc.local. It...
22.csplit command Split a file into context-determined pieces. SYNTAX csplit [options]... INPUT PATTERN... Creates zero or...
23.cut command Divide a file into several parts (columns) Writes to standard output selected parts of each line of each in...
24.date command Display or change the date. Syntax date [option]... [+Format] date [option] [MMDDhhmm[[CC]YY][.ss]] `date'...
25.dc command Desk calculator SYNTAX dc <options>
26.DD command Convert and copy a file, write disk headers, boot records, create a boot floppy. dd can make an exact clone ...
27.dd rescue command Data recovery tool, save data from a crashed partition. Syntax ddrescue [options] infile outfile [log...
28.declare command Declare variables and give them attributes. SYNTAX declare [-afFrxi] [-p] [name[=value]]
29.df command Disk Free - display free disk space. With no arguments, `df' reports the space used and available on all cur...
30.diff command Display the differences between two files, or each corresponding file in two directories.  Each set of dif...
31.dircolors command Color setup for `ls', outputs a sequence of shell commands to set up the terminal for color output fr...
32.yes command `yes' prints the command line arguments, separated by spaces and followed by a newline, forever until it is...
33.watch command Execute a program periodically, showing output full screen Syntax watch [options] command command_options
34.wc command Print byte, word, and line counts, count the number of bytes, whitespace-separated words, and newlines in ea...
35. vmstat command Report virtual memory statistics: processes, memory, paging, block IO, traps, and cpu activity. Syntax ...
36.screencommand Multiplex a physical terminal between several processes (typically interactive shells). Syntax:  Start a ...
37.diff command Merge two files interactively. (Show differences) with output to outfile. SYNTAX sdiff -o outfile [options...
38.select command select construct allows the easy generation of menus. It has almost the same syntax as the for command. ...
39.seq command Print a sequence of numbers to standard output Syntax: seq [options]... [FIRST [STEP]] LAST...
40.set  command Manipulate shell variables and functions. Syntax: set [--abBCefhHkmnpPtuvx] [-o option] [argument ...]
41.passwd command passwd Modify a user password. SYNTAX passwd [options...]
42.hash command Remember the full pathnames of commands specified as name arguments, so they need not be searched for on s...
43.id command Print real and effective user id (uid) and group id (gid), prints identity information about the given user,...
44.fup / ifdown command Bring a network interface up or down Syntax ifup [options] -a | IFACE... ifdown [options] -a|IFACE...
45.less command Display output one screen at a time, Search through output, Edit the command line. SYNTAX: less [options] ...
46.let command Perform arithmetic on shell variables. Syntax let expression [expression] Each expression is an arithmetic ...
47.bc command An arbitrary precision calculator language Syntax: bc options file...
48. BG command Send job to background Syntax: bg [PID...]
49.break command Exit from a for, while, until, or select loop SYNTAX: break [n] If n is supplied, the nth enclosing loop ...
50.bulitin command Run a shell builtin, passing it args, and return its exit status. SYNTAX:  builtin [shell-builtin [args...
Linux advanced commands <ul><li># cal 2007-  show the timetable of 2007  </li></ul><ul><li># cat /proc/cpuinfo- show infor...
<ul><li>9)# cat /proc/net/dev  -  show network adpters and statistics  </li></ul><ul><li>10)# cat /proc/mounts - show moun...
<ul><li>16)# lspci -tv   display PCI devices  </li></ul><ul><li>17)# lsusb -tv  show USB devices  </li></ul><ul><li>18)# u...
THANK YOU
Upcoming SlideShare
Loading in …5
×

Raj linux

784 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
784
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
21
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Raj linux

  1. 1. Linux Installation INSTALLING LINUX BY RAJESH J
  2. 2. Introduction <ul><li>1. System Installation and Customization </li></ul><ul><li>2. System Maintenance </li></ul><ul><li>3. System Performance and Monitoring </li></ul>
  3. 3. What is Linux? <ul><li>Linux is an operating system. </li></ul><ul><li>Software on a computer that enables applications. </li></ul>
  4. 4. Where is Linux? <ul><li>One of the most noted properties of Linux is where it can be used. </li></ul><ul><li>Windows and OS X are predominantly found on personal computing devices such as desktop and laptop computers </li></ul>
  5. 5. What this is about <ul><li>Workshop on: </li></ul><ul><ul><li>System installation & customization </li></ul></ul><ul><ul><li>System maintenance </li></ul></ul><ul><ul><li>System performance & monitoring </li></ul></ul>
  6. 6. How to install Linux Linux Installation <ul><li>To install Red Hat, you will need to download the ISO images (CD Images) of the installation CD-ROMs from http://fedora.redhat.com </li></ul><ul><li>Download the i386 images for 32 Intel Processors, PPC images for for Apple Macintosh and x86_64 for for 64 bit AMD Processors </li></ul><ul><li>Burn the iso CD images on CDs and use these CDs as Installation CDs (typically 4) </li></ul>
  7. 7. Installation and Customization <ul><li>Disk space </li></ul><ul><li>Installation method </li></ul><ul><li>Installation class </li></ul><ul><ul><li>Personal Desktop Installation </li></ul></ul><ul><ul><li>Workstation Installation </li></ul></ul><ul><ul><li>Server Installation </li></ul></ul><ul><li>Hardware compatibility </li></ul>
  8. 8. Installation and Customization <ul><li>Hardware Information </li></ul><ul><ul><li>Where to get information about hardware </li></ul></ul><ul><ul><li>Record your system's hardware </li></ul></ul>
  9. 9. Installation and Customization <ul><li>Installing from a Hard Drive </li></ul><ul><li>Preparing for a Network Installation </li></ul><ul><li>Installing via NFS </li></ul><ul><li>Installing via FTP </li></ul><ul><li>Installing via HTTP </li></ul><ul><li>Welcome to RedHat Linux </li></ul>
  10. 10. Installation and Customization <ul><li>Preparing to Install </li></ul><ul><li>Installing Packages </li></ul><ul><li>Boot Diskette Creation </li></ul><ul><li>Video Card Configuration </li></ul><ul><li>X Configuration – Monitor and Customization </li></ul><ul><li>Installation Complete </li></ul>
  11. 11. System Maintenance <ul><li>Type of Backups </li></ul><ul><ul><li>Full backup </li></ul></ul><ul><ul><ul><li>Every single file is written to backup media </li></ul></ul></ul><ul><ul><li>Incremental backup </li></ul></ul><ul><ul><ul><li>Only modified files are written to backup media </li></ul></ul></ul><ul><ul><li>Differential backup - Cumulative </li></ul></ul><ul><ul><ul><li>Modified files will continue to be included in all subsequent differential backups </li></ul></ul></ul><ul><ul><li>Backup Media </li></ul></ul><ul><ul><ul><li>Tape </li></ul></ul></ul><ul><ul><ul><li>Disk </li></ul></ul></ul><ul><ul><ul><li>Network </li></ul></ul></ul>
  12. 12. Basic commands of Linux
  13. 13. 1.Wirte command write -Send a message to another user Syntax: write user [ttyname] Example $ Write maude This is a test message <CTRL-D>
  14. 14. 2.Xargs command Execute a command, passing constructed argument list(s). The arguments are typically a long list of filenames (generated by ls or find) that are passed to xargs via a pipe. Syntax: xargs [options] [command]
  15. 15. 3.Yes command `yes' prints the command line arguments, separated by spaces and followed by a newline, forever until it is killed. If no arguments are given, it prints `y' followed by a newline forever until killed. The only options are a lone `--help' or `--version'.
  16. 16. 4.whoami command Print the current user id and name. Syntax: whoami [options] Options whoami produces the same result as the id -un command
  17. 17. Alias -Create an alias Syntax alias [-p] [name[=value] ...] unalias [-a] [name ... ] 5.Alias command
  18. 18. 6.Aspell command Aspell -Spellcheck a file. Syntax: aspell check [options] filename Examples: Check the file foo.txt: $ aspell check foo.txt
  19. 19. 7.awk or gawk (gnu awk) command Find and Replace text, database sort/validate/index Syntax: awk <options> 'Program' Input-File1 Input-File2 ... awk -f PROGRAM-FILE <options> Input-File1 Input-File2 ...
  20. 20. 8.basename command Strip directory and suffix from filenames Syntax: basename NAME [SUFFIX] basename OPTION
  21. 21. 9.cat command Display the contents of a file (concatenate) Syntax: cat [Options] [File]...
  22. 22. 10.Cd command Change Directory - change the current working directory to a specific Folder. Syntax : cd [Options] [Directory]
  23. 23. 11.cfdisk command Curses based disk partition table manipulator for Linux Syntax: cfdisk [ -agvz ] [ -c cylinders ] [ -h heads ] [ -s sectors-per-track ] [ -P opt ] [ device ]
  24. 24. 12.chgrp command Change group ownership 'chgrp' changes the group ownership of each given File to Group (which can be either a group name or a numeric group id) or to the group of an existing reference file. Syntax: chgrp [Options]... {Group | --reference=File} File...
  25. 25. 13.chmod command Change access permissions, change mode. Syntax chmod [Options]... Mode [,Mode]... file... chmod [Options]... Numeric_Mode file... chmod [Options]... --reference=RFile file...
  26. 26. 14.chkconfig command Update and query runlevel information for system services. Syntax: chkconfig --list [name] chkconfig --add name chkconfig --del name chkconfig [--level levels] name <on|off|reset> chkconfig [--level levels] name
  27. 27. 15.cksum command Print CRC checksum and byte counts Computes a cyclic redundancy check (CRC) checksum for each given File, or standard input if none are given or for a File of - Syntax cksum [Option]... [File]...
  28. 28. 16.cmp command Compare two files, and if they differ, tells the first byte and line number where they differ. You can use the `cmp' command to show the offsets and line numbers where two files differ. `cmp' can also show all the characters that differ between the two files, side by side. Syntax cmp options... FromFile [ToFile]
  29. 29. 17.comm command Common - compare two sorted files line by line Syntax: comm [options]... File1 File2
  30. 30. 18.command Run command with arguments ignoring any shell function named command. SYNTAX command [-pVv] command [arguments ...]
  31. 31. 19.continue command Resume the next iteration of an enclosing for, while, until, or select loop. SYNTAX: continue [n] If n is supplied, the execution of the nth enclosing loop is resumed. n must be greater than or equal to 1. The return status is zero unless n is not greater than or equal to 1.
  32. 32. 20.Cp command Copy one or more files to another location Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY. Syntax: cp [options]... Source Dest cp [options]... Source... Directory
  33. 33. 21.cron command daemon to execute scheduled commands Syntax: cron Cron should be started from /etc/rc or /etc/rc.local. It will return immediately
  34. 34. 22.csplit command Split a file into context-determined pieces. SYNTAX csplit [options]... INPUT PATTERN... Creates zero or more output files containing sections of INPUT (standard input if INPUT is `-')
  35. 35. 23.cut command Divide a file into several parts (columns) Writes to standard output selected parts of each line of each input file, or standard input if no files are given or for a file name of `-'. Syntax cut [OPTION]... [FILE]..
  36. 36. 24.date command Display or change the date. Syntax date [option]... [+Format] date [option] [MMDDhhmm[[CC]YY][.ss]] `date' with no arguments prints the current time and date
  37. 37. 25.dc command Desk calculator SYNTAX dc <options>
  38. 38. 26.DD command Convert and copy a file, write disk headers, boot records, create a boot floppy. dd can make an exact clone of an (unmounted) disk. Syntax dd [Options]
  39. 39. 27.dd rescue command Data recovery tool, save data from a crashed partition. Syntax ddrescue [options] infile outfile [logfile]
  40. 40. 28.declare command Declare variables and give them attributes. SYNTAX declare [-afFrxi] [-p] [name[=value]]
  41. 41. 29.df command Disk Free - display free disk space. With no arguments, `df' reports the space used and available on all currently mounted filesystems. SYNTAX df [option]... [file]...
  42. 42. 30.diff command Display the differences between two files, or each corresponding file in two directories. Each set of differences is called a &quot;diff&quot; or &quot;patch&quot;. Syntax diff [options] from-file to-file
  43. 43. 31.dircolors command Color setup for `ls', outputs a sequence of shell commands to set up the terminal for color output from `ls' (and `dir', etc.). Syntax eval `dircolors [options]... [file]`
  44. 44. 32.yes command `yes' prints the command line arguments, separated by spaces and followed by a newline, forever until it is killed. If no arguments are given, it prints `y' followed by a newline forever until killed. The only options are a lone `--help' or `--version'.
  45. 45. 33.watch command Execute a program periodically, showing output full screen Syntax watch [options] command command_options
  46. 46. 34.wc command Print byte, word, and line counts, count the number of bytes, whitespace-separated words, and newlines in each given FILE, or standard input if none are given or for a FILE of `-'. Syntax wc [options]... [file]...
  47. 47. 35. vmstat command Report virtual memory statistics: processes, memory, paging, block IO, traps, and cpu activity. Syntax vmstat [-a] [-n] [delay [ count]] vmstat [-f] [-s] [-m] vmstat [-S unit] vmstat [-d] vmstat [-p disk partition] vmstat [-V]
  48. 48. 36.screencommand Multiplex a physical terminal between several processes (typically interactive shells). Syntax: Start a screen session: screen [ -options ] [ cmd [args] ] Resume a detached screen session: screen -r [[pid.]tty[.host]] screen -r sessionowner/[[pid.]tty[.host]]
  49. 49. 37.diff command Merge two files interactively. (Show differences) with output to outfile. SYNTAX sdiff -o outfile [options] from-file to-file
  50. 50. 38.select command select construct allows the easy generation of menus. It has almost the same syntax as the for command. Syntax select name [in words ...]; do commands; done
  51. 51. 39.seq command Print a sequence of numbers to standard output Syntax: seq [options]... [FIRST [STEP]] LAST...
  52. 52. 40.set command Manipulate shell variables and functions. Syntax: set [--abBCefhHkmnpPtuvx] [-o option] [argument ...]
  53. 53. 41.passwd command passwd Modify a user password. SYNTAX passwd [options...]
  54. 54. 42.hash command Remember the full pathnames of commands specified as name arguments, so they need not be searched for on subsequent invocations. SYNTAX hash [-r] [-p filename] [name]
  55. 55. 43.id command Print real and effective user id (uid) and group id (gid), prints identity information about the given user, or if no user is specified the current process. SYNTAX id [options]... [username]
  56. 56. 44.fup / ifdown command Bring a network interface up or down Syntax ifup [options] -a | IFACE... ifdown [options] -a|IFACE...
  57. 57. 45.less command Display output one screen at a time, Search through output, Edit the command line. SYNTAX: less [options] <command> | less [options]
  58. 58. 46.let command Perform arithmetic on shell variables. Syntax let expression [expression] Each expression is an arithmetic expression to be evaluated. If the last expression evaluates to 0, let returns 1; otherwise 0 is returned.
  59. 59. 47.bc command An arbitrary precision calculator language Syntax: bc options file...
  60. 60. 48. BG command Send job to background Syntax: bg [PID...]
  61. 61. 49.break command Exit from a for, while, until, or select loop SYNTAX: break [n] If n is supplied, the nth enclosing loop is exited. n must be greater than or equal to 1
  62. 62. 50.bulitin command Run a shell builtin, passing it args, and return its exit status. SYNTAX: builtin [shell-builtin [args]] This is useful when defining a shell function with the same name as a shell builtin, retaining the functionality of the builtin within the function
  63. 63. Linux advanced commands <ul><li># cal 2007- show the timetable of 2007 </li></ul><ul><li># cat /proc/cpuinfo- show information CPU info </li></ul><ul><li># cat /proc/interrupts -show interrupts </li></ul><ul><li># cat /proc/meminfo - verify memory use </li></ul><ul><li># cat /proc/swaps- show file(s) swap </li></ul><ul><li># cat /proc/version -show version of the kernel </li></ul><ul><li># cat /proc/net/dev -show network adpters and statistics </li></ul>
  64. 64. <ul><li>9)# cat /proc/net/dev - show network adpters and statistics </li></ul><ul><li>10)# cat /proc/mounts - show mounted file system(s) </li></ul><ul><li>11)# clock -w - save date changes on BIOS </li></ul><ul><li>12)# date - show system date </li></ul><ul><li>13)# date 041217002007.00- set date and time - MonthDayhoursMinutesYear.Seconds </li></ul><ul><li>14)# dmidecode -q - show hardware system components - (SMBIOS / DMI) </li></ul><ul><li>15)# hdparm -i /dev/hda displays the characteristics of a hard-disk </li></ul>
  65. 65. <ul><li>16)# lspci -tv display PCI devices </li></ul><ul><li>17)# lsusb -tv show USB devices </li></ul><ul><li>18)# uname -m show architecture of machine(2) </li></ul><ul><li>19)# uname -r show used kernel version </li></ul><ul><li>20)# arch - show architecture of machine(1) </li></ul>
  66. 66. THANK YOU

×