+ All Categories
Home > Documents > Red Hat Linux 6 Server М. Дж. Кабир

Red Hat Linux 6 Server М. Дж. Кабир

Date post: 03-Apr-2015
Category:
Upload: tolik-tolia
View: 1,194 times
Download: 19 times
Share this document with a friend
562
Файл взят с сайта - http://www.natahaus.ru/ где есть ещё множество интересных и редких книг, программ и прочих вещей. Данный файл представлен исключительно в ознакомительных целях. Уважаемый читатель! Если вы скопируете его, Вы должны незамедлительно удалить его сразу после ознакомления с содержанием. Копируя и сохраняя его Вы принимаете на себя всю ответственность, согласно действующему международному законодательству . Все авторские права на данный файл сохраняются за правообладателем. Любое коммерческое и иное использование кроме предварительного ознакомления запрещено. Публикация данного документа не преследует за собой никакой коммерческой выгоды. Но такие документы способствуют быстрейшему профессиональному и духовному росту читателей и являются рекламой бумажных изданий таких документов. Все авторские права сохраняются за правообладателем. Если Вы являетесь автором данного документа и хотите дополнить его или изменить, уточнить реквизиты автора или опубликовать другие документы, пожалуйста, свяжитесь с нами по e-mail - мы будем рады услышать ваши пожелания.
Transcript

- http://www.natahaus.ru/ , . . ! , . , . . . . . . , , , e-mail - . Linux 6 Server , Linux . Red HatRed Hat Linux 6Server . www.books-shop.comRed Hat Linux* 6 ServerMohammed J. KabirPublished by M&T BooksAn imprint of IDG Books Worldwide, Inc.919 E. Hillsdale Blvd., Suite 400Foster City, CA 94404www.idgbooks.com (IDG Books Worldwide Web Site)Copyright 1999 IDG Books Worldwide, Inc. All rights reserved.ISBN 0764533371Red Hat* Linux* 6 Server . . . . . . . , 2001. : OAI (03) : 070612 30.09.97 .ISBN 5855821226 20.05.01 84 110/16 1 . . 35 3200 436 , , . ., . 40, . 2 : (095) 2560283 : (095) 2590162WWW.LORYPRESS.RU .109044, , . , . 18www.books-shop.com www.books-shop.comVI Red Hat Linux . Linux . Linux , . , Linux . , , , Linux . Linux Red Hat . Linux, Red Hat Linux. ? , Linux Red Hat Linux Linux Linux . Linux , . , Linux. , , , , , DNS, SMTP/POP3, Web, FTP, NFS, Samba, IRC, SQL . , ' , Linux, . Linux, Red Hat Linux. Red Hat Linux . , Linux . . Linux, UNIX Unix . , .www.books-shop.com vii IDG Books Worldwide , . , , Web IDG Books Worldwide (ht t p: //www. i dgbooks. com) . , kabi r@i ntegrati onl ogi c. com. . . . , , . , , . , . , , . , , . , . . . . , , . . , . . , Linux. Web . . , . , , . . ,. IDG Books Worldwide, . . . Integrated Logic.Inc., Web. 4 . Web, UNIX , . Apache Apache.www.books-shop.comwww.books-shop.com 1 1 1 Red Hat Linux? 3 Linux 3 Linux 4Caldera OpenLinux 5Slackware Linux 5Debian GNU/Linux 6S.U.S.E. 6 Linux 6 Red Hat 7Red Hat Linux S Red Hat Linux 10I 2 1 1 11 Red Hat Linux 13 MS Windows 9/2000 14 Linux 14 Red Hat Linux 15 15 , 16 16 16 18 23 24 24 26 TCP/IP 26 29 29 30 root 31 32 LILO 33 Red Hat Linux 35 2 39 3 41 init 43www.books-shop.com /etc/re.d/rc.sysinit 46 /etc/re.d/init.d 46 /etc/re.d/rc 46 /etc/re.d/rc[06].d 48 /etc/re.d/rc.local 49 /etc/rc.d/rc.serial 49 49 50 50 50 Ctrl+Alt+Delete 51 51 ink 52 chkconfig 52 ntsysv 53 linuxconf 53 54 4 UNIX 57 / 57 / chown 58 / chgrp 59 59 61 / chmod 61 62 62 62 63 63 64 64 64 FTP 65 . 66 66 66 66 67 67 67 67 68 68 ext2 68 5 71 UNIX 71 72 73 74 75 89 92Xwww.books-shop.com xi, DOS 95 96 97 99 102 107 108 108 109 110 3 , 113 6 Linuxconf 115 Linuxconf 116 Linuxconf 117 Linuxconf 117 Linuxconf Web 120 Linuxconf 122 123 125 Linuxconf 128 Linuxconf 129 7 131 131 133 136 136 137 138 140 140 141 linuxconf 143 143 145 145, 145 146 146 147 147 149 8 151 151 152 ps 152 154 158 160 top 160 vmstat 161 "Books-shop"., , . [email protected] uptime 161 161 tail 162 163 at 163 ron 164 9 167 TCP/IP 167 IP 169 169 170 170 171 172 netcfg 176 179 180 183 184 4 / 187 10 DNS 189 DNS 189 DNS (Resolver) 191 DNS 193 DNS 193Master/ DNS 199Slave/ DNS 200 DNS 200 DNS 201 DNS 202 DNS 203 DNS 203 DNS 209 11 211 SMTP 212 DNS 214 SMTP 215 sendmail 215 sendmail 215 /etc/sendmail.cf 217 /etc/mail/* 223 sendmail 229 sendmail 229 /etc/mail/* 231 sendmail SMTP 231 sendmail 232 232 sendmail 233 233 234www.books-shop.com 234 235 236 POP 238 238 239 239 SMTP/POP 239 240Sendmail Pro 240qmail 240 12 Web 241 Apache 242 ANSI 242 242 242 243 Apache 243 Apache 244 Apache APACI 244 makefile 246 Rule 247 247 Apache 248 Apache 248 Apache 250 Apache 252 httpd.cohf 253 srm.conf 259 access.conf 265 Apache 266 Apache 268 Apache 269 Apache CGI 269 Apache 272 Web 279 Apache 281 Web 288 293 294 Web 299 SSL 306 13 FTP 313Wuftpd: FTP 313 wuftpd 314 FTP 315 FTP 326 FTP 328 FTP 331 FTP 334 TFTP 334 xiiiwww.books-shop.comxiv 14 337 IRC 337 IRC 338 IRC 338 IRC 348 IRC 348 Usenet 350 INN 351 INN 352 5 353 15 Samba 355 Samba 356 Samba 356 [global] 362 [homes] 365 [printers] 365 366 /etc/smb.conf 366, Samba 366 Samba . 367 Linux Windows 367 Windows Linux 367 Linux Windows 369 Samba 372 Samba 373 16 NFS 377 NFS 378 NFS 378 379 379 379 NFS 379 NFS 381 NFS 381 NFS 382 rdist 383 17 SQL 387 SQL 387 SQL: MySQL 389 MySQL 389 RPM MySQL 389 SQL 390 MySQL 390 390 SQL 391 SQL UNIX 392 CGI SQL Web 398www.books-shop.com XV 6 403 18 405 405 406 407 408 409 409 410 413 417 417 , inetd 418 426 426 ext2 427 Tripwire 428 ( ) 432 432COPS 434 436 436CERT [email protected] 436 19 437 437 Ethernet 438 IP 438 439 IP 439 IP 439 441 441 :ipchains 442 443 Squid 444 Squid 444 Squid 445 Squid " 445 SATAN 447 SATAN ' 448 SATAN 448 7 453 20 455 455 Linux 456 456 458 ramdisk 458 LILO 458www.books-shop.comxvi 459 459 Linux 459 460 make menuconfig 472 make xconfig 473, 474 474 kernelcfg 475 21 Web 477 Web 478 Web 478 DNS 479 480 481 IP 485 486 486 Web 487 WSD Pro 488 490 DNS 491 NFS 493 (SMTP/POPS) 494 FTP 494 rdist 494 Web 496 NFS 496 sendmail 496 rdist ns.aminewslanc.com 497 WSD Pro 497 Web . 497 500 500 500 501 501 Web Web 501 Web 502 8 X Window 503 22 X Window 505 X Window 506XFree86 506MetroX 506AcceleratedX Linux 506 XFree86 506 506 507 507 507 XFree86 507 XFree86 507 Xconfigurator XF86Config 508 XF86Config 511www.books-shop.com xvii X Window 518 .xinitrc 519 520 520 xdm X 521 F86 Windows 9/2000 522Micro XWin32 522 23 X Window 525 AnotherLevel 525 GNOME 529 X Window 531 glint 531 533 Linux 537 Usenet 537 COMP.OS.LINUX 537 Linux 538 . 539 539 , 540 540Web 540 540 540 540, 541 541www.books-shop.comwww.books-shop.com 1 www.books-shop.comwww.books-shop.com 1 Red Hat Linux? : Linux" Linux Red Hat Linux Red Hat Linux Red Hat Linuxdows 2000, Windows NT. . UNIX Windows 2000/NT. UNIX , Linux, , , Linux UNIX. UNIX Windows NT : , () , . , UNIX. , Red Hat Linux . Linux. Linux5 1991 . , (), Usenet(comp. os. mi ni x) UNIX (): UNIX Win "Books-shop"., , . [email protected] , Linux. UNIX, Minix . , Linux 0.01, . Linux 0.01 ! 0.01 ; FTP Linux f t p: //ni c. f une t . f i . 5 0.02, GNU Bourne Again Shell (bash) GNU (gcc), (GNU GNU's Not Unix, GNU UNIX Free Software Foundation, , a Bourne Again Shell Linux UNIX. . .). , , Linux.Linux 0.02, 0.03, 0.10. , Linux, 0.95. 1.0 1992 . Linux 2.2.3. Linux UNIX, . Linux . , . , . Linux ; .Linux , GNU. , . Intel 86, Linux , Spare, Alpha Macintosh. , , , . . Linux . International Data Corporation of Framingham ( , ) , Linux 17.2% , 1998 ., () . Linux . Linux Linux. , , . Linux. Linux Linux. Red Hat Linux , , , . : . , (, Red Hat) CDROM. 4 .', o.:... l TrinuxTrinux (23) ( MSDOS/Windows 9x) . , NETWATCH, tcpdump netmon, TCP/IP . Linux () . Trinux ht t p: / / www. t r i nux. or g .Linux (LOAF)LOAF (1.44 ) . URL: ht t p: //www. ecks. org/l oaf /.Linux Router ProjectLinux Router Project Linux, (1.44 ). , ( ). FTP: f t p: //sunsite. unc. edu/pub/Li nux/distributions/linuxrouter/. Linux . Red Hat Linux Alpha SPARC, a Debian GNU/Linux Alpha Motorola 68K. Linux PowerPC, PowerMac, MkLinux LinuxPPC., Linux UltraSPARC UltraPenguin. Linux URL: http://www.linuxhq.com/distindex.html http://www.linux.org/dist/index.html Red Hat : Red Hat ? ! , Red Hat Linux, . Linux . , . Red Hat Linux Linux. Red Hat Linux . Linux . RedHat , Linux . , . Linux Red Hat Linux, ( Slackware), , Red Hat . . , Red Hat . , , . Red Hat Package Management (RPM), , www.books-shop.com8 '' 1 . Linux.Red Hat Linux, . , CalderaOpenLinux , , a Slackware Linux , UNIX , UNIX. Red Hat Linux , .Red Hat Linux. , , Linux. Red Hat . Red Hat Linux . Red Hat Web(http: //www. redhat. com) Linux, Linux. Web, Linux, Linux Linux . Red Hat , IBM, HP, InformixCorporation, Oracle, Corel Corporation, SAP AG, Computer Associates International,Inc. Intel. , Compaq, IBM, Nowell Oracle RedHat, Red Hat . Red Hat. Red Hat Linux. , Linux GNU. Red Hat X Window, . CDROM Red Hat , . , ApplixWare 4.4.1,WordPerfect 7, Sybase ASE Ardi Executor( Macintosh). . , Red Hat Response Link 24 (24x7). ., Red Hat Linux. , , , .Red Hat Linux . , , . , . , , . ( , ) . , . ,www.books-shop.com Red Hat Linux? 9: ^> Linux, . Red Hat . Red Hat Linux, Linux ., Linux , , . Linux . Linux, ! , 24x7 Red Hat Linux .Red Hat Linux UNIX , Windows 2000 ( Windows NT), , UNIX. , Red HatLinux Web Apache, Apache Linux. Linux UNIX UNIX Red Hat Linux Windows 2000 (Windows NT). SMTP, sendmail, Red Hat Linux. Linux BIND DNS, , . Red Hat Linux UNIX, , Windows 2000. , Linux Windows (8MB) , Windows! , Red Hat Linux , Windows. . Web Usenet ( ) , Linux. Windows 2000 . (), (). , . , , ? . , ( ), , . , Red Hat Linux . , . Linux , , . , , . . ., , Red Hat Linux , . Red Hat Linux Linux. Linux .www.books-shop.com10 1 : Red Hat Linux Red Hat Linux FTP Red Hat Linux () FTP. I FTP Red Hat (ftp://ftp. redhat.com),' . http://www. redhat. com/mirrors, html FTP. (.. ), Red Hat Linux Web . , CDROM Red Hat Web, . Web Red Hat. Red Hat Linux, .www.books-shop.com 2 :" Red Hat Linux Red Hat Linux 86, Alpha Spare, 86 Linux. , Web RedHat. Linux . Red Hat Linux , Linux . , Red Hat Linux, Web:ht t p: //www. redhat . com/support /docs/rhl . , Red Hat Linux. , ! , , , Red Hat Linux. X Red Hat Linux , www.books-shop.com12 2 Linux , , , . Linux , . Red Hat , . , Linux . , Red Hat Linux, , URL, Linux Usenet. , . Red Hat Linux , . , , . . , Web, Apache RedHat Linux, Pentium Pro Pentium II . Pentium III 400+ . , Web CGI , , . . , . , . . , Web. , . , . , Web 3 456 000 /. /: 3 456 000 / 1 /24 1 /3600 . 40 /. , 40 Apache, 40 . Apache 40 , Apache. 40 , , Apache. , Perl (mod_perl) FastCGI(mod_fastcgi), , Apache . , . Web 256 100 (10 ) DRAM. , . , Web (), . , . . : IDE/EIDE SCSI. , Web,www.books-shop.com 13FTP , SCSI. SCSI , IDE/EIDE. Wide SCSI, 20/. Wide SCSI, . , SCSI , /, . : UltraWideSCSI , , SCSI. . , . (NIC Network Interface Card). , NIC , 3COM Intel. , Plug and Play (PNP), PNP Red Hat Linux. CDROM (). IDE IDE. CDROM , 1020 . , , . , . (300 ); Red Hat Linux, Red Hat Linux. 6.x Red Hat Linux Red Hat ( 2000 . 7 . .). Web . Red Hat Linux FTP, NFS 8MB (Samba), CDROM Red Hat . . CDROM . FTP, NFS 8MB,, , CDROM Red Hat , Red Hat. CDROM Red Hat , . Red Hat DOS . , CDROM . , NFS, SMB, FTP , :1. RedHat , Red Hat Linux. , MSDOS, , .2. base RedHat RedHat/base CDROM Red'Hat . "Books-shop"., , . [email protected] 2 : 3. RPMS RedHat RedHat/RPMS CDROM Red Hat ! , CDROM, . Red Hat Linux , . CDROM Red Hat Red Hat. BIOS, CDROM, . BIOS CDROM. (.. CDROM), . BIOS , . , BIOS CDROM, , , , CDROM, , :. BIOS, CDROM. , CDROM, . MS Windows 9x/2000 Windows 9x/2000:1. , CDROM D: CDROM Red Hat, MSDOS:d:/dosutils/rewrite2. rawrite :Enter disk image source file name: ( :)Please insert a formatted diskette into drive A:and press the enter key(, , : enter)3. \images\boot.img . rawrite Enter target diskette drive: ( :)4. . , :, : .5. Enter.6. rawrite boot.img , . Red Hat Linux CDROM PCMCIA, , , 3 img \image\supp.img Linux MS Windows, Linux:www.books-shop.com 151. CDROM Red Hat. /mnt/cdrom. /mnt/cdrom/images ( ).2. /dev/fdO { ) 1.44 (3.5 ,HD). :dd if=boot.img of=/dev/fdO bs=1440K . if=boot.img if=supp.img. PCMCIA, . () Red Hat Linux CDROM . Red Hat Linux CDROM, Red Hat CD , . , . Red Hat :boot: . Enter, . boot: expert, . Red Hat , . expert Linux , . rescue boot:. . (rescue) . , . rescue.img (. ).I ( ' ), boot: linux ks. Kickstart, ks bootp kickstart. Red Hat Enter, . . Enter, . , , Tab (), Enter. Alt+Fl Alt+F4. (Alt+Fl) , (A11+F2) , , (Alt+F3)2 . 436www.books-shop.com , (AU+F4) . , ( English). Enter. . English. Enter . : LocalCDROM, NFS Image, hard drive, FTP 8MB image. CDROM, Enter, . (. . 2.1) .. 2.1. Red Hat Linux, Install, Red Hat, Upgrade. , , . , , Install. (. . 2.2) () : Workstation ( ), Server () Custom (, ). Red Hat Linux Workstation. Linux . Workstation (32 ) 16 , /boot, . /(root, ). 600 . Server, . 64 (), 16 16 ' 2 www.books-shop.com () SCSI /boot , 256 /(root),512 ( ) /usr , 512 ( ) /home 256 /var . 1.6 . , Custom, , . . Custom SCSI. , , . , . 2.3 NCR 538 PCI SCSI. SCSI, , . 2.4. 17V/www.books-shop.com SCSI SCSI, . Yes(), SCSI . SCSI, No (), . ( ) , . . (. . 2.5). : Disk Druid fdisk. Disk Druid , fdisk, . , . . 2.6 .18 2www.books-shop.com , MS Windows 9x/NT, , Red Hat . , , Linux. . 2.6 , hda sda. Red Hat Linux hdx ( az) IDE sdx ( az) SCSI. IDE, hda, SCSI sda. IDE, hda hdb.Red Hat Linux , hd[az][N] IDE sd[az][N] SCSI, N . , hdal 1 IDE (hda), a sdal SCSI. . . / () . ( 256 , Red Hat). , Linux native. /, /usr. , , . /usr 512 . , Linux native. /home . , , . . (. 7). , / /usr ., Web, /www Web, . , /home. ( /home), , useradd, userdel, usermod (. 7). Linux native. . 19__ _ ^j>www.books-shop.com ( Linux swap) , 128 ( )., 32 , 64 . . . 2.7 . , , . fdisk , , (. . 2.8). , fdisk. Edit, fdisk (. . 2.9).20 2www.books-shop.com 21. 2.9. (disk fdisk . , fdisk , Disk Druid. fdisk , .. , , fdisk. . 2.9 , fdisk . Red Hat Linux. fdisk :fdisk :fdisk /dev/sda fdisk, SCSI. fdisk Command(m for help):, :Command actiona toggle a bootable flag ( )b edit bsd disklabel ( bsd) toggle the dos compatibility flag( DOS)d delete a partition ( )1 list known partition types ( )m print this menu ( )n add a new partition ( ) create a new empty DOS partition table( DOS) print the partition table ( )q quit without saving changes( )t change a partition's system id( )u change display/entry units ( /)v verify the .partition table ( )w write table to disk and exit ( )www.books-shop.com22 2 extra functionality (experts only)( ) , :Disk /dev/sda: 33 heads, 63 sectors, 1014 cylindersUnits = cylinders of 2079 * 512 bytesDevice Boot/dev/sda1/dev/sda2/dev/sda5/dev/sda6Start1506506887End50510148861011Blocks524916529105+396018129906Id8358382SystemLinux nativeExtendedLinux nativeLinux swap /dev/sda , /dev/sdal 1 505. 1 024 (1 ). 524 916 (524 916 ) 512 . d . . , :Command (m for help): nCommand actione extendedp primary partition. (14) : (extended) (primary). , . Linux /, /usr, /home , . , . :Partition number (14): 1 1 , 2 .. . . , 1 :First cylinder (11014): 1 "' 512 , , . , (last cylinder) +512:Last cylinder or +size or +sizeM or +sizeK ([1] 1014): +512M , :iDisk /dev/sda: 33 heads, 63 sectors, 1014 cylindersUnits = cylinders of 2079 * 512 bytesDevice Boot Start End Blocks Id System/dev/sda1 1 505 524916 83 Linux native, . Linux native. t, ., Linux swap :www.books-shop.com23Command (m for help): tPartition number (14): 1Hex code (type L to list codes): 82Changed system type of partition 1 to 82 (Linux swap)Command (m for help): pDisk /dev/sda: 33 heads, 63 sectors, 1014 cylindersUnits = cylinders of 2079 * 512 bytesDevice Boot Start End Blocks Id System/dev/sda1 1 505 524916 82 Linux swap t, , 82, . L. , fdisk Linux native. , /dev/sdal, . :Command (m for help): aPartition number (16): 1 p :Disk /dev/sda: 33 heads, 63 sectors, 1014 cylindersUnits = cylinders of 2079 * 512 bytesDevice Boot Start End Blocks Id System/dev/sdal * 1 505 524916 83 Linux native/dev/sda2 506 1014 529105+ 5 Extended/dev/sda5 506 886 396018 83 Linux native/dev/sda6 887 1011 129906 82 Linux swap /dev/sdal * Boot, .. . Disk Druid fdisk , . (. . 2.10). "Books-shop"., , . [email protected] 2. 2.11. , , . , . . () , , . , . , . . 2.11 ., . () , Check for bad blocks during format, . . (810 ) , . , (. . 2.12). , , . , . rpm glint X Window (. 23).I X Window, X Window , . X Window, (. 22). Select individual packages . , (. . 2.13).www.books-shop.com 2S. 2.12.. 2.13. , Networking/Daemons ( /), Edit Select Packages (), . 2.13. . , . (. . 2.14). /tmp/install.log. , . (. . 2.15). , Alt+Fl Alt+F4, , . , .www.books-shop.com26 2. 2.14. . 2.15. , . , (. . 2.16), . X Window X, . TCP/IP TCP/IP. . 2.17. , Yes (). , IP (. . 2.18). DHCP , IP DHCPwww.books-shop.com 27. 2.16. . 2.17. . Static IP address ( IP). (. . 2.19). IP , . , . , IP . 9, IP. , . IP 1 . , IP 206.171.50.50, 206.171.50., . , www.books-shop.com28 2. 2.18. IP. 2.19. TCP/IP . DNS , , , . , DNS, . DNS, IP. IP (. . 2.20), , , IP () IP (). . , , . . , Form Track, formtrack.com. . , www.books-shop.com DNS . IP , DNS . (. . 2.21). CMOS GMT (Greenwich Mean Time ), Hardware clock set to GMT. , . , . . 2.22.29www.books-shop.com 2. 2.22. . 2.23. . , /etc/re.d/. . (. . 2.23) . , No () . , . . (. . 2.24) , . . , . . , (. . 2.25).30www.books-shop.com 2.24. . 2.25. . make (. . 2.26), . PostScript, : , .. (. . 2.27). (. . 2 28). , Back, . , , root. root root Red Hat Linux. . root . 2.29.34www.books-shop.com32. 2.26. . 2.27. . , , . , ! , . . ( ). . (. . 2.30) . . (, LILO). Yes () /dev/fdO (. . 2.31). 2www.books-shop.com 33. 2.28. I . 2.29. root . ( rescue.img). , , mkbootdisk. LILO (Linux Install boot Loader Linux). LILO (. . 2.32) Red Hat Linux (MBR master boor record), . , MBR. , . "Books-shop"., , . [email protected] 2. 2.30. . 2.31. LILO MBR LILO . , MBR. LILO. (. . 2.33). , , LILO. (. . 2.34) ( ), ( Linux). Red Hat Linux *. linux. , LILO linux boot:, Red Hatwww.books-shop.com 35. 2.32. LJLO. 2.33. Linux. , . Edit, (. . 2.35). , . , . (. . 2.36). . CDROM , , . Red Hat Linux , boot:. linux Enter, Red Hat Linux. , LILO www.books-shop.com36 2. 2.34.. 2.35. ULO Linux! Linux . , . . . root, , . . ! Red Hat Linux. Linux . , dmesg, . , dmesg | more, .www.books-shop.com 37. 2.36. Linux ( Windows) () . Shift+PageUp , . . , , . /etc/inittab, getty (. 3). , ( dmesg). RedHat Linux .www.books-shop.comwww.books-shop.com 2www.books-shop.comwww.books-shop.com 3 : Linux ink Linux , Windows , , . Windows , . Linux, , , , . . 2 , Linux . , . Red Hat Linux (.. ) . , LILO, , , . , , .., . Linux . www.books-shop.com . 3.1 , RedHat 5.3 . 3.1. Memory: sized by int13 Oe801hConsole: 16 point font, 400 scansConsole: colour VGA+ 80x25, 1 virtual console (max 63)Probing PCI hardware.Calibrating delay loop., ok 53.04 BogoMIPSMemory: 127584k/131072k available (748 kernel code, 384k reserved,2164k data)Swansea University Computer Society NETS.035 for Linux 2.0NETS: Unix domain sockets 0.13 for Linux NETS.035.Swansea University Computer Society TCP/IP for NETS.034.IP Protocols: IGMP, ICMP, UDP, TCPLinux IP multicast router 0.07.VFS: Diskquotas version dquot_5.6.0 initialized'MChecking 386/387 coupling... Ok, fpu using exception 16 error reporting.Checking 'hit' instruction ... Ok.Intel Pentium with FO OF bug workaround enabled.alias mapping IDT readonly doneLinux version 2.0.36 (rootfporky.redhat.com) (gcc version 2.7.2.3)#1 Tue Oct 13 22:17:11 EOT 1998Starting kswapd v 1.4.2.2Serial driver version 4.13 with no serial options enabledttyOO at Ox03f8 (irq = 4) is a 16550AReal Time Clock Driver v1.09Ramdisk driver initialized: 16 ramdisks of 4096K sizeide: i82371 PIIX (Triton) on PCI bus 0 function 57ideO: BMDMA at OxfOOOOxf007idel: BMDMA at OxfOOSOxfOOfhda: IBMDTTA351010, 9671MB w/466kB Cache, CHS=1232/255/63, DMAhdc: CD920E, ATAPI CDROM driveideO at Ox1fOOx1f7, Ox3f6 on irq 14idel at 0x1700x177,0x376 on irq 15Floppy drive(s): fdO is 1.44MFDC 0 is a post1991 82077md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8scsi: 0 hosts,scsi: detected total.Partition check:hda: hdal hda2 < hda5 hda6 hda7 >RAMDISK: Compressed image found at block 0VFS: Mounted root (ext2 filesystem).ncr53c8xx: at PCI bus 0, device 9, function 0ncr53c8xx: 53c825 detectedscsiO : ncr53c8xx revision 2.5f.1Detected scsi disk sda ad scsiO, channel 0, id 0, lun 0ncr53c8250: FAST5 SCSI 5.0 MB/s (200 ns, offset 8)SCSI device sda: hdwr sector= 512 bytes. Sectors= 2109840 [1030 MB][1.0 GB]sda: sdal sda2 < sda5 sda6 >VFS: Mounted root (ext2 filesystem) readonly.Trying to unmount old root ... okayAdding Swap: 129900k swapspace (priority 1)42 3www.books-shop.com 43I , ' Shift+PageUp . dmesg. /var/log/messages . (/) . , , /.1 ' , (panic) . , , fsck.ext2 . , init. . ink , , ., init , . init , init , . init init UNIX System V init BSD. Red Hat init UNIX System V. , init System V (run levels, ), a init BSD . , init init UNIX System V. init , , (PID) 1. , init , /etc/inittab. /etc/inittab Red Hat Linux 3.2. 3.2. /etc/inittabtt inittab , INIT # .# : Miguel van Smoorenburg,# fttf RHS Linux # . RRS # : 0 ( init )# 1 2 , NFS (To , 3, )# 3 # 4 "Books-shop"., , . [email protected] 5 11 6 ( init )#id:3:initdefault: ,si: :sysinit:/etc/rc.d/rc.sysinit10:0:wait:/etc/rc.d/rc 011:1:wait:/etc/rc.d/rc 112:2:wait:/etc/rc.d/rc 213:3:wait:/etc/rc.d/rc 314:4:wait:/etc/re.d/rc 415:5:wait:/etc/rc.d/rc 516:6:wait:/etc/rc.d/rc 6# , ,ud::once:/sbin/update CTRLALTDELETE::ctrlaltdel:/sbin/shutdown t3 r now , # , , . 2 . , powerd .#pf: :powerfail:/sbin/shutdown f h +2 "Power Failure; \System Shutting Down"# , , .pr:12345:powerokwait:/sbin/shutdown ."Power Restored; \Shutdown Cancelled"ft getty 1:12345:respawn:/sbin/mingetty ttyl2:2345:respawn:/sbin/mingetty tty23:2345:respawn:/sbin/mingetty tty34:2345:respawn:/sbin/mingetty tty45:2345:respawn:/sbin/mingetty tty56:2345:respawn:/sbin/mingetty tty6 xdm 5x:5:respawn:/usr/bin/X11/xdm nodaemon , init . . init (.., #) /etc/mittab. , , init. ::_:: [] . (id) 24 . (runl evels) , . , . (process) , . ( ) .44 3www.books-shop.com 45 , . 3.1. 3.1. init123456S s, , , , X Window xdm , 1 ; init. , , init , , ::13:: [] 3.2. I ondemandinitdefaultsysinitpowerwaitpowerfailpowerokwaitctrlaltdelkbrequest , , init , , init , init . . #, a, b . , init . . sysinit boot bootwait , init SIGPWR. UPS ( ) init. init , , powerwait, init , init SIGPWD, /etc/powerstatus . UPS SIGPWR init, , , init SIGINT , init KeyboardSignal respawnwaitoncebootbootwaitoffwww.books-shop.com46 3Init System V, ink Red Hat Linux, :/etc+rc.d+init.d ()+rc0.d ()+rc1.d ()+rc2.d ()+rc3.d ()+rc4.d ()+rc5.d ()+rc6.d ()+rc.sysinit ()+rc. local ( , Red Hat Linux)+. serial ( )+ () /etc/re. d/rc.sysinit Red Hat Linux , init, /etc/re. d/rc.sysinit . /etc/inittab.si: :sysinit:/etc/rc. d/rc.sysinit , , init sysinit . rc.sysinit , , , , . . /etc/rc.d/init.d init.d , . . / (DNS), Web .. . , NFS ( ), :/etc/re. d/init.d/nfs start , :/etc/. d/init.d/nfs stop nfs start stop . , [06] .d. /etc/rc.d/rc init , , /etc/inittab:10:0:wait:/etc/rc.d/rc 11 :1 :wait: /etc/rc.d/rc 112:2: wait : /etc/rc.d/rc 213:3:wait:/etc/rc.d/rc 314:4:wait:/etc/rc.d/rc 4www.books-shop.com 4715:5:wait:/etc/re.d/rc 516:6:wait:/etc/rc.d/rc 6 (06) /etc/re.d/rc . . , init 3. /etc/rc.d/rc 3 :/etc/rc.d/rc 3 /etc/rc.d/rc 3.3. 3.3. /etc/rc.d/rc#!/bin/bash re / , . # , # .# : (Miguel van Smoorenburg),ff . # .. /etc/re.d/init.d/functions# , # .argv1="$1"set '/sbin/runlevel'runlevel=$2previous=$"lexport runlevel previous# . .[ "$1" != "" ] && runlevel ="$argv1" linuxconf, [ d /var/run ] && echo "/etc/rc.d/rc$runlevel.d" >/var/run/runlevel.dir# ?if [ d /etc/re.d/rc$runleve!1.d ]; then9 KILL.for i in /etc/rc.d/rc&runlevel.d/K*; doff , .[ ! f $i ] && continue# He [KS]??foo.{rpmsave,rpmorig}[ "${1%.rpmsave}" != "${1}" ] && continue[ "${1%.rpmorig}" != "${1}" ] && continue , .subsys=$U/etc/rc.d/rc$runlevel.d/K??}[ ! f /var/lock/subsys/$subsys ] && \[ ! f /yar/lock/subsys/${subsys>.init ] && continue# .$i stopwww.books-shop.com48 3donett START.for i in /etc/re.d/rc$runlevel.d/S*; do , .[ ! f $i ] && continuett He [KS]??foo. {rpmsave, rpmorig}[ "${1%.rpmsave}" != "${1}" ] && continue[ "${1%.rpmorig}" != "${1}" ] && continue# , .subsys=${i(f/etc/rc.d/rc$runlevel.d/S??}[ ! f /var/lock/subsys/$subsys ] | | \[ ! f /var/lock/subsys/${subsys}.init ] && continuett .$i startdonefi :1. , , . , , 3, , /etc/rc.d/rc3.d/. , .2. , ( ), . , (kill), . , stop.3. S start. /etc/rc.d/rc(06).d rcO.d rc6.d 6. /etc/re.d/init.d. rcS.d Red Hat Linux 5.2 , 3.4. 3.4. /etc/re.d/rc3.d Red Hat Linux/init.d/innd../init.d/xntpd/init.d/gpm.,/init.d/httpd> ../init.d/postgresql> . ./init.d/bootparamd.,/init.d/rusersd.,/init.d/rwalld../init.d/rwhod../init.d/squid> .,/init.d/yppasswdd./init.d/dhcpd,./init.d/ypserv> ../init.d/arpwatch../init.d/snmpd./init.d/routedIrwxrwxrwxIrwxrwxrwxIrwxrwxrwxIrwxrwxrwxIrwxrwxrwxIrwxrwxrwx1 rwx rwx rwxIrwxrwxrwxIrwxrwxrwxIrwxrwxrwxIrwxrwxrwxIrwxrwxrwxIrwxrwxrwxIrwxrwxrwxIrwxrwxrwxIrwxrwxrwxrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootroot14151315202017161515191516181516K05innd > . .KlOxntpd > .K15gpm > ../K15httpd > .K15postgresqlK20bootparamdK20rusersd >K20rwalld >K20rwhod > .K25squid > .K34yppasswddK35dhcpd > .K35ypserv >K45arpwatch :K5Osnmpd > .K55routed >www.books-shop.com 49 /etc/rc.d/init.d .:1. {_}{ }2. 3{_}{ } , , stop, start. . SOlfoo SlObar. S /etc/re.d/rc. , , ink, , . /etc/rc.d/rc.local rc.local 2, 3, 5. , . /etc/rc.d/rc.serial re.local, rc.serial 1 3, ( . ink rc.sysink, . /etc/inittab :: 3: 11.__: 3. , ink , . , 3.13:3:wait:/etc/rc.d/rc 3 3. , S /etc/rc.d/rc3.d. IrwxrwxrwxIrwxrwxrwxIrwxrwxrwxIrwxrwxrwxIrwxrwxrwxI rwxrwxrwxIrwxrwxrwxI rwxrwxrwxI rwxrwxrwxIrwxrwxrwxI rwxrwxrwxIrwxrwxrwxIrwxrwxrwxIrwxrwxrwxIrwxrwxrwxIrwxrwxrwxIrwxrwxrwxIrwxrwxrwxIrwxrwxrwxIrwxrwxrwxrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootroot1516161717171516161315141513131818131911K75gated > .,/init.d/gatedK87ypbind > ../init.d/ypbindK96pcmcia > . ./init.d/pcmciaSOlkerneld > . ./t.d/kerneldSlOnetwork > ../init.d/networkS11portmap > ../init.d/portmapS15nfsfs > ../init.d/nfsfsS20random > ../init.d/randomSSOsyslog > ../init.d/syslogS40atd > ../init.d/atdS40crond > ../init.d/crondSSOinet > ../init.d/inetS55named > ../init.d/namedS601pd. > .../init.d/lpdS60nfs > ../init.d/nfsS75keytable > .,/init.d/keytableSSOsendmail > ../init.d/sendmailS91smb > ../init.d/smbS991inuxconf > .,/init.d/linuxconfS991ocal > ../init.d/localwww.books-shop.comI LILO. , , linuxsingle. Linux , linux, _ single, _ .50 3 start S. S , . ink , . :i ni t 1 init 1. , . ( 3), , . shutdown. , . . shutdown , init (halt 0), (reboot 6). :shutdown h now init 0 (). v ! shutdown . :shutdown +10 10 . ; shutdown . :shutdown . init , .:init 6 ( 3), , , . shutdown . :shutdown +10www.books-shop.com 51 10 . , . . shutdown , , , , , shutdown . , , /etc/nologin , , . . , , . , . rm f /etc/nologin /etc/re.local , init 3. , :shutdown now Ctrl+Alt+Delete , Ctrl+Alt+Del. /etc/inittab:::ctrlaltdel:/sbin/shutdown t3 r now init Ctrl+Alt+Del shutdown ., , Ctrl+Alt+Del. , /etc/shutdown.allow, ( ), . root . (UPS) , init, , UPS . /etc/inittab :pf::powerfail:/sbin/shutdown f h +2 "Power Failure; \System Shutting Down" init shutdown . powerfail , UPS powerd ( ) init SIGPWR. UPS , . UPS , . , , UPS , init . /etc/inittab::12345:powerokwait:/sbin/shutdown "Power Restored; \www.books-shop.comShutdown Cancelled" init SIGPWR /etc/powerstatus , powerokwait. init init System V , . init, . . chkconfig chkconfig , / . /etc/re.d/init.d. , , :chkconfig list chkconfig , (on) (off) . , (.. /etc/re.d/init.d) , :chkconfig list httpd Red Hat Linux:httpd 0:off 1:off 2:off 3:on 4: on 5:on 6:off httpd 2, 3, 4 5 , 1 6. /etc/re.d/init.d , , , chkconfig :chkconfig add _ [ level ]:chkconfig add named , named, . , $>{_} , /etc/rc.d/init.d/named. , , level. :chkconfig level 4 add named named 4. , :chkconfig del _ [level ]52 3www.books-shop.com 53|. 3.1. ntsysv:chkconfig del named named . , , level. :chkconfig del named level 5 named 5. ntsysv ntsysv / , . , (. . 3.1). . , ; , . , , , Cancel. , level. :ntsysv level 1 1. linuxconf linuxconf . : '.1. Control > Control Panel > Control Service activity2. 3. 4. , linuxconf "Books-shop"., , . [email protected] , RPM, /etc/rc.d/init.d. , , . . , , /etc/rc.d/init.d. /etc/rc.d/init.d. 3.5 httpd. / Web Apache. 3.5. /etc/re.d/init.d/httpd#!/bin/sh## Wed Apache## chkconfig: 345 85 15# : Apache Web. \# HTML CGI.# processname: httpd# pidfile: /var/run/httpd.pid# config: /etc/httpd/conf/access.conf# config: /etc/httpd/conf/httpd.conf# config: /etc/httpd/conf/srm.conf# .. /etc/re.d/init.d/functions# , ,case "$1" instart)echo n "Starting httpd: "daemon httpdechotouch /var/lock/subsys/httpdstop)echo n "Shutting down http: "[ f /var/run/httpd.pid ] && {kill 'cat /var/run/httpd.pid'echo n httpd}echorm f /var/lock/subsys/httpdrm f /var/run/httpd.pidstatus)status httpdrestart)$0 stop$0 startreload)54 3www.books-shop.com 55echo n "Reloading httpd: "[ f /var/run/httpd.pid ] && {kill HUP 'cat /var/run/httpd.pid'echo n httpd>echo*)echo "Usage: $0 {start | stop | restart | reload | status}"exit 1esacexit 0 sh case ( ). . , webmonitor /usr/sbin/webmonitor. . /etc/rc.d/init.d/webmonitor:1. /etc/rc.d/init.d, /etc/rc.d/init.d/webmonitor. , /etc/rc.d/init.d/httpd, 3.5.2. ( vi), "ht t pd" "webmoni tor".3. , /sbin,/usr/sbin, /bin /usr/bin, daemon webmonitor, webmonitor. , /usr/local/. web/bin, daemon webmonitor daemon /usr/local/web/bin/webmonitor.4. /usr/sbin/webmonitor PID (/var/run/webmonitor.pid), kill ' cat /var /r un/webmoni t or . pi d' ki l l procwebmonitor rm f /var/run/webmoni t or. pi d.5. chmod 750 /etc/rc.d/init.d/webmonitor , root , . webmonitor. , chkconf, ntsysv linuxconf, .www.books-shop.comwww.books-shop.com 4 UNIX : , UNIX , . , , . . , , Linux Microsoft Windows . 9.x ( ), ( Windows NT/2000). , , . / UNIX, Linux . :rwrwr 1 sheila intranet 512 Feb 6 21:11 milkyweb.txt Is I milkyweb.txt RedHat Linux. Is . 1 milkyweb.txt. 4.1.www.books-shop.com58 4 milkyweb.txt sheila. , . , , . intranet. , intranet, ( , ) , () . , . Red Hat Linux, , , , . , Red Hat Linux kabir , vi, todo.txt. Is I todo.txt, :rwrwr 1 kabir kabir 4848 Feb 6 21:37 todo.txt . , Red Hat Linux () kabir kabir. , , . , , . , . ., kabir sheila. ? . , , , . . / chown /, chown. :chown :chown sheila kabirs_plans.txt sheila kabirs_plans.txt. , chown :chown Is I ( ) ( ) rwrwr1sheilaintranet512Feb621:11milkyweb.txtwww.books-shop.com:chown sheila.admin kabi rs_plans.txt sheila , admin. / , R chown . :chown R sheila.admin /home/kabir/plans/ /home/kabir/plans. , , chgrp. / chgrp chgrp , . , , , . :chgrp httpd .html HTML , httpd. , , groups , chgrp, chown, R, . , . /. / . , , . , . . 07 ( ). 4.2 . UNIX59 123456_7 000001010011100101110111www.books-shop.com60 4 /.. 4.1 , . .. 4.1. , , , , , . , . 4.3 . 4.3. I 04000440044406440755475527551755 () . 400, () , . 440 () . 444 () (w) . . 644; 6 4 () 2 (w) (), (w) () () () . 755; 7 4 () + 2 (w) + 1 (), 5 4 () + 1 () , 755 , , setUID. setUID, . , setUID gunchy, , gunchy. , root setUID, , , . , root setUID root. setUID 755, setGID. , 755, stickybit. Stickybit . , . . stickybit, , ( ) ^_^ 4 21setUID r r rs e t G Istickybit * www.books-shop.com UNIX, 4.2., , , , , , setUID, setGID stickybit. , , 4 (), 2 () 1 (), , . , . , () . . 4.2 , .setUID(s)setGID(s)stickybit (t)read ()write (w)execute (x)(u)read(r)write (w)execute (x)(9)read(r)write (w)execute (x)() () ( ). , : ? : (), g (), () (). ? : (),w (), (), s (setUID setGID) t (sticky bit). ? , ? + , . , , u+r; , +rx. , setUID, u+s, setGID g+s., , , chmod. / chmod chmod (), chmode. . :chmod 755 *.pl , .pi. .! , (7 = 4 [] + 2 [] + 1 []).61www.books-shop.com (5 = 4 [] + 1 []) . , :chmod a+rx,u+w *.pl + , () () (a), a u+w () (w) . , . , R . :chmod R 750 /www/mysite 750 /www/mysite. , . : cd () . , . , . , Is, cd () , , . , , , . , . , (). , . . : () (. ). , . , . , Is 1:rwrr 1 root 21 Feb 7 11:41 todo.txt, root ( Len todo.txt plan) plan todo.txt, Is 1 :rwrr 2 root 21 Feb 7 11:41 planrwrr 2 root 21 Feb 7 11:41 todo.txt62 4www.books-shop.com UNIX 63 plan todo.txt ( ), . , root :chown Sheila plan Sheila, ? Is 1 :rwrr 2 Sheila root 21 Feb 7 11:41 planrwrr 2 Sheila root 21 Feb 7 11:41 todo.txt chown plan, todo.txt( ). , , . . Is 1:Irwxrwxrwx 1 sheila root 8 Feb 7 11:49 plan > todo.txtrwrr 1 sheila root 21 Feb 7 11:41 todo.txt , plan () todo.txt. , root :chown kabir plan Is 1 :Irwxrwxrwx 1 kabir root 8 Feb 7 11:49 plan > todo.txtrwrr 1 sheila root 21 Feb 7 11:41 todo.txt , kabir todo.txt, (plan)? , , , kabir. , . , , , . :chmod 666 plan todo.txt, Is 1 :rwrwrw 1 kabir kabir 25 Feb 7 11:52 planrwrr 1 sheila root 21 Feb 7 11:41 todo.txt , . , UNIX . , , . root. (root). root,, , root. , . "Books-shop"., , . [email protected] , . ., (csh, tcsh, bash ..) , .cshrc .bashrc. , . , .cshrc , , , logout .cshrc, , . , . , . , , COPS (. 18), , . , :find /home type, f name ".*rc" exec Is 1 \; ( , .cshrc, .bashrc ..) home. /home, , . , . , umask:umask , umask, :, umask 022. , (open) 0666. (. . 4.3). , 0666 (.. 022 755), 0644, , . , umask /etc, . umask . , /bin/csh /bin/tcsh, umask /etc/csh.cshrc. , . , /usr/bin , , root , , . . , 64 4www.books-shop.com UNIX 65. 4.3. umask, ()1610006' 1110'1110 no iUnmask unmask(rwrr), root, , /usr/bin/zip, zip , . , . COPS, ( COPS . 18).* FTP FTP, umask FTP, . , , Web FTP , in.ftpd /etc/inetd.conf. :ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd 1 a umask , FTP, umask. , 640 (rwr) , umask 026. :ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd 1 a u026 inetd (killall HUP inetd) FTP, , . , Web . , . , Web /www, 0 2 2000 010 010 1000 110 110 110 1000 110 100 1000 6 4 4 1www.books-shop.com(, /www/myclientl, /www/myclient2 ..). ,, FTP . , , umask, FTP, :chown R , Web httpd myclient, :chown R myclient.httpd /www/myclient /www/myclient myclient () httpd (). , , , Web . , , :chmod R 2770 :chmod R 2770 /www/myclient /www/inyclient 2770, (myclient) Web (httpd) , /. , , Web . setGID (2).66 4 , , Red Hat Linux. Is UNIX UNIX. Is 1( ), ( , , ), 1 ( ) R (). cd, . , cd , . , , pwd, . Microsoft Windows, Linux . , file. :file /usr/bin/file , () /usr/bin/file. :/usr/bin/file: ELF 32bit LSB executable, Intel 80386, \version 1, dynamically linked, not strippedwww.books-shop.com stat, . :stat /tmp /tmp. :File: "/tmp"Size: 2048 Filetype: DirectoryMode: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: (0/ root)Device: 3,0 Inode: 16321 Links: 22Access: Sun Feb 7 02:00:35 1999(00000.00:01:11)Modify: Sun Feb 7 02:01:01 1999(00000.00:00:45)Change: Sun Feb 7 02:01:01 1999(00000.00:00:45) .: /some/important.txt /new/place/ important.txt /some /new/place. . f, , . : f /some/important.txt /new/place important.txt, /new/place. , : : /tmp/foo /zoo/foo , mv. :mv /filel /tmp/file2 /filel /tmp/file2. . , mv . , , (. ) . , rm. :rm filename . /bin/tcsh, rm, :alias rm rm i i , . i. , f, . , . : UNIX 67www.books-shop.comrm rf directory . , . , which. :which httpd () httpd, . which, /usr/sbin/which. locate . :locate netpr.pl updatedb , netpr.pl. locate , , updatedb. , , find (. 5). . , /bin/tcsh umask /etc/csh.cshrc . , umask , . :umask 222 , . , , . , . : , . , umask . , , 222, /bin/tcsh, /.cshrc, umask . ext2 ext2, Red Hat Linux, . root. :chattr +i filename i ext2. , , . . root 68 4www.books-shop.com UNIX 69 . , :chattr i filename ext2, undelete, , ext2. chattr, , , . , chattr . Is , . , ext2 , Isattr.www.books-shop.comwww.books-shop.com 5 :* Linux man Linux Linux, UNIX, . , ( man). man. man . . . , , . , . , . , , , , , , , . UNIX Linux . , . , .www.books-shop.com72 5 5.1. , . . , . , , :clear; Is , ., , ., :we 1 doc.txt , 1 doc.txt. , . : . ( ). . 1 , we , a doc.txt , , . , , UNIX. UNIX: , , (wildcards), . , , ., :Is *. . , .. 5.1 . * ? [ ][ ] 5.2 , , . Jo*Jo*yUt*l*s.c?.Doc[09].txt, Jo, Jo , Ut, 1, S. C , . h Doc0.txt, Doc1.txt, ... , Doc9.txtDocO[AZ]. txt DocQA.txt, DocOB.txt DocOZ.M .www.books-shop.com 73 UNIX. . , , . UNIX, ed, sed, awk, grep vi emacs. , 5.3, . , , . 5.3. , $\[ ]["]_^ , , , . , , foo data.txt, :grep foo data.txt data.txt, foo, :grep "foo' data.txt . . , :grep 'hello$' data.txt , hello. , , \|>] [] cat stdout ( . . .). , cat. , cat, , . name, :cat nameKiweeJoeRicardoCharmaine cat :cat name"! name2 > allnames namel, name2 , allnames. , . cat, ., names4, , cat names4 allnames names4 allnames.chmod:chmod [R] . . :75www.books-shop.com76 5chmod 755 myscript.pl myscript.pl 755 (rwxrxrx), , , . :chmod R 744 public_html public_html ( ) 744 (nvxr), Web, Apache, URL ht t p: //server/~username. R chmod ! .chown:chown [ fhR ] [ : ] { . . | . . . } chown , , , . (ID) , /etc/passwd. . (ID) , /etc/group. root . root . , root, , . 5.5 chown. f , , , , . , , , :chown bert hisfile.txtclear:clear clear .:cmp [Is] f i l el f i l e2 . , . , filel.txt :thi s is f i l e 1the quick brown fox jumps over the lazy dog.www.books-shop.com 77 file2.txt :this is file 2the quick brown fox jumps over the lazy dog. . 1, 2. file1.txt file2.txtfile1.txt file2.txt differ: char 14, line 1 14, 1 . 1 . 1 file1.txt file2.txt14 61 62 , 14 , 61, 62., s . s , . , 0 (). , 1. , , > 1 ( 1).: [R] 1 , . . ', , . , . main. main.c.bak main. , main.c.bak . , .cut:cut [cdf ] cut . , . , names . :Fast Freddy:Sacramento::1111111111Joe Some:Los Angeles:CA:2222222222 'Drake Snake:San Francisco:CA:3333333333Bill Steal:New York:NY:4444444444 , f d:cut f 1,4 d : namesFast Freddy:1111111111Joe Some:2222222222Drake Snake:3333333333www.books-shop.com78 5Bill Steal: 4444444444 f , . d. d : , . : 1 4 . .cut 15 namesFastJoeDrakeBill , 1 5 names.diff:di f f [iqb] diff / . diff , . diff , , diff , . diff . , , . , , , . , diff , , , . ; . : (changecommand)< < .> > . . , , . . : ' lar' 1 . , '8125' 1215 8 ; , , 1215 . ' f ct ' f t . www.books-shop.com 79, . , '5,78,10' 57 810 ; , , 810 57 . ' rdl' ; 1 , , . , '5,7d3' 57 ; , , 57 3 . a.txt bd , , b.txt dfg diff :1,2dO< < b54,5> f> g diff , , , . , '' . l,2dO. 1 2 ( ). 54,6. '' . 4 5 , . diff . i . diff i . q, .diff q a.txt b.txtFiles a.txt and b.txt differ b . the foo the foo, .du:du [ask] . du , . , du . du . s www.books-shop.com80 . . k. . :du a247 ./utillinux_2.9e0.1.deb130 ./Iibncurses4_4.22.deb114 ./slangl_1.2.22.deb492du s492 .emacs emacs, , . , . emacs . , . , . emacs . , emacs , , , , ,FTP . emacs metaKey . Metakey ( ), Esc. Ctrl . Ctrl. emacs Ch Ch. emacs. emacs , . Ch Ch , . 5.6 emacs.fgrep fgrep , grep. , . fgrep fixed character grep (grep ). , fgrep .file:file file . , . ,FIFO, . , . , file 512 . a.out, file , 0.fi l e mai n. main. : program textfind:find [] [type fdl] [name ] [atime [+] ]www.books-shop.com [exec {} \ ;] [empty] find . :find . type d find . type d ( ), f ( ) 1 ( ).find . type f name "*.txt" ( ) , .txt.find . type f name "*.txt" exec grep 1 'magic' {} \; .txt , , magic ( 1 grep).find . name "*.gif" atime 1 exec Is 1 {> \; GIF, 24 , Is I.find . type f empty .grep:grep [viw] ... .**' emacsCvMvCfCbMfMbCaCeMaMe

CdMMdCkMkCxCxCfCx CsCx CwCxsCx Cc , , emacswww.books-shop.com82 5 grep . , . grep , . v, . , data.txt, the:grep vw 'the' data.txt w, , the, toge[the]r. w , . i . grep , , . .head:head [ | ] . 10 . .head 2 doc.txt Outline of future projects Last modified: 02/02/99 , doc.txt.In:In [s] In (), . . , . , , , . s.In ./www . /public_html . . s, , .In s /dev/fs02/jack/www /dev/fs01/foo/public_html www fs02 fsOl public_html .locate:locate locate . :locate foo/usr/lib/texmf/tex/latex/misc/footnpag. sty/usr/share/automake/footer. am/us r/sha re/games/ frtunes/f ood/usr/share/games/fortunes/food,datwww.books-shop.com /usr/share/gimp/patterns/moonfoot.pat ; locate foo .Is:Is [laR1] Is . . 1, ; 1, , /, , ..; ( , ) ; R , .mkdir:mkdir ' mkdir. : (1) 255 (2) , /.fflkdir dirl dir2 dir3 , , , .mv:mv [if] mv . , . , foo foobar.mv foo foobar foobar , foo foobar. : ,, mv doc.txt foobar foobar , . doc.txt foobar. f . i , , . Y, .pico:pico [ ] , , Linux DOS Windows.83 "Books-shop"., , . [email protected] 5 . . .pwd /home/usr/charmainerm:rm [rif] rm. :rm doc.txtrm "/doc.txtrm /tmp/f oobar.txt rm , . :rm doc1.txt 'doc2.txt doc3.txt:rm doc[l3].txtrm , . , , . rm doc, , . , , , , . rm i, rm . . :rm i * . docrm: remove thesis.doc (yes/no)? n i . ( ) ( yes). f . f (force ) rm , , . f 100% , . / , . rm r .rm documents i:rm ri documents , .sort:sort t.rndu] [ _] [_/_]84pwd:pwdwww.books-shop.com . jsort . sort , , . sort . a.txt :d a.txt , :sort a.txtbd :sort sorted.txt a.txt a.txt sorted, txt. sort sorted.txt, :sort sorted.txt a.txt b.txt. .txt . , , z . ., . .... d . sort , . . sort .stcit:stat . :stat foo.txt :File: "foo.txt" ,Size: 4447232 Filetype: Regular FileMode: (0644/rwrr) Uid: (0/root) Gid: (0/root)Device: 3,0 "Inode: 16332 Links: 1Access: Mon Mar 1 21:39:43 1999(00000.02:32:30)Modify: Mon Mar 1 22:14:26 1999(00000.01:57:47)Change: Mon Mar 1 22:14:26 1999(00000.01:57:47) , , , , , ..strings:strings strings , . .85www.books-shop.comtail:tail [ | _fr] tail . tail 10 . 50 doc.txt, :tail 50 doc.txt . , 10 . , doc.txt , :tail doc.txt 10 doc.txt , :tail doc.txt, f . tail , . , tail . , Ctrl+C ( intr), tail .touch:touch a.out.txt uuencode a.out. , uudecode, b.out. a.out, uuencode, a.out.txt.zip:zip [ACDe9] , VMS, MSDOS, OS/2, Windows NT, Minix, Atari, Macintosh, Amiga Acorn RISC OS. zip PKZIP . , zip, .zip. zip , . , ZIP, . , zip. man. .dd:dd if = [conv = _] of = [obs = ] . :dd if=/tmp/uppercase.txt conv=lcase of =/tmp/lowe rcase.txt /tmp/uppercase.txt /tmp/lowercase.txt, (lease). , 92www.books-shop.com conv=ucase. dd boot, , rnkfs. :dd if=/some/boot.img conv=lcase of=/dev/fdO obs=16k /some/boot.img (/dev/fdO) 16.df:df [k] / df . . .dfFilesystem/dev/hd4/dev/hd2/dev/hd9var/dev/hd3/dev/lvOO/dev/hd1/dev/fsOl/dev/fs02512blocks49152135168049152573445734416384081920008192000Free258722439361222452272551761697663819201873432%Used48%82%.76%9%4%90%23%78%fused22571909129171251911402096372%Iused19%12%48%2%1%6%3%1%Mounted on//usr/var/trap/tftpboot/home/home/fsOl/home/fs02 , :df . Filesystem 512blocks Free %Used lused %Iused Mounted on/dev/fs01 8192000 6381920 23% 20963 3% /home/fs01 , 512 . k 1024 .df k .Filesystem 1024blocks Free %UsecJ lused %Iused Mounted on/dev/fs01 4096000 3190960 23% 20963 3% /nome/fs01 k . , , .edquota. 7, .fdformat:fdformat . :fdformat /dev/fdOH1440 (/dev/fdO), 1.44.93 "Books-shop"., , . [email protected] Sfdisk. 2.mkfs:mkfs [t __] [cv] [] . :mkfs t ext2 /dev/hda3 ext2 /dev/hda3 IDE. mkfs ; v .mkswap. 2.mount:mount [t __] [ ] . , /etc/fstab. :/dev/hda6 /intranet ext2 defaults 12 /etc/fstab, /dev/hda6 :mount /intranet :mount t ext2 /dev/hda6 /intranet t . , /etc/fstab, . :mount a t ext2 ext2. (readonly ) rw (read/write /). :mount t ext2 /dev/hda6 /secured /dev/hda6 /secured .quota. 7, .quotaon. 7, .swapoff:swapoff a . , /etc/fstab.www.books-shop.com swapon:swapon a . , /etc/fstab.umount:.umount a [t __] . :umount /cdrom /cdrom, /etc/fstab. ( ), /etc/fstab. t . :umount a t iso9660 iso9660, CDROM., DOS Linux MSDOS, Mtools. Mtools Red Hat Linux RPM, . rpm, RPM.Mtools , , MSDOS. Windows 95, Xdf OS/2 2. , Mtools.mcopy:mcopy [tin] mcopy MSDOS / Linux.:mcopy /tmp/readme.txt b: readme.txt /tmp b:. t / (cr/lf) MSDOS . .mdel:mdel MSDOS.mdir:mdir [/] MSDOS. / .95www.books-shop.commformat:mformat [t ] [h ] [s ] MSDOS. , , MSDOS, , , ..mlabel:mlabel [vcs] :[_] ( ) . v ; , a s .: ^ , , .dmesg:dmesg , .free:free . :total used free shared buffers cachedMem: 127776 124596 3180 30740 2904 107504/+ buffers/cache: 14188 113588Swap: 129900 84 129816shutdown:shutdown [r] [h] [c] [k] [t ] [] , /etc/shutdown.allow, . , :shutdown r now , h. k , . :shutdown r k now System going down for maintenance " . t 96www.books-shop.com 97 . , shutdown , . , . :shutdown 12:55 12:55. +.:shutdown r +5 i .uname:uname [] [.] [] [s] [] [] . : :Linux picaso.nitec.com 2.0.36 1 Tue Oct 13 22:17:11 EOT 1998 1586 unknown m (,1586); (, picaso.nitec.com); (, 2.0.36); s (, Linux); a v (, #1 Tue Oct 13 22:17:11 EDT 1998).uptime:uptime , , , 1, 5 15 . .chfn. 7, ' .chsh. 7, .groupadd. 7, .groupmod. 7, .groups:groups [_]www.books-shop.com , . , .last:last [] [_] [reboot] , . /var/log/wtmp. :last j ul i e julie /var/log/wtmp.last 10 j ul i e 10 julie .last reboot , /var/log/wtmp.passwd:passwd . , passwd , . .SU:su [] [ ] su . :su john John, John , . root. , , , root, . root, su , UID (0) GID (0) root. root . , Telnet. Telnet su, root . , . root su .useradd. 7, .98 5www.books-shop.com 99userdel. 7 .usermod. 7, .who:who , . w.whoami:whoami . , , .finger:finger @ finger . :finger [email protected] finger finger, blackhole.integrationlogic.com. finger, . finger . .plan, finger. finger , finger .ftp:ftp FTP FTP FTP. :ftp ftp.cdrom.com FTP f t p. cdrom. com . , FTP . FTP help ?, FTP.lynx:lynx [dump] [head] [URL]www.books-shop.com Web. :lynx http://www.integrationlogic.com/ . . , , Web , Web. :lynx head http://www.integrationlogic.com/ HTTP, lynx Web. . :/1.1 302 MovedDate: Tue, 02 Mar 1999 06:47:27 GMTServer: Apache/1.3.3 (Unix)Location: http://www.integrationlogic.com/index.shtmlConnection: closeContentType: text/html , , www. integrationlogic. com Apache UNIX. , Web Web, . , dump (STDOUT). :lynx dump head http://www.integrationlogic.com/ stdout. dump . :lynx dump head http://webserver/new.gif > new.gif new.gif Web new.gif. .mail:mail @ [s ] [< _] SMTP. ., , . @ , . , , . mail, ? @. kabi^integrationlogic. com About your Red Hat book, :mail [email protected] s "About your Red Hat book" , Ctrl+D, . , , v . , , :mail [email protected] s "About your Red Hat book" feedback.txt . feedback.txt.100 5www.books-shop.com 1pine:pine SMTP. Linux, .rlogin:rlogin [1 _] . , shell.myhost.com, :rlogin shell.myhost.com rlogin , . 1 , . , , .rhosts . IP , rlogin. , , , .talk:talk tty , . , , talk. ' , :talk [email protected], , talk. talk, , . talk , Ctrl+C ( intr).telnet:telnet [] Telnet Telnet. :telnet shell.myportal.com Telnet shel l . myport al . com, Telnet. , , Telnet.wall:wall , tty www.books-shop.com102 5 mesg n. wall , Ctrl+D. , , .host:host [] IP . , DNS IP.hostname:hostname . .ifconfig: .ifconfig [] [up | down] [netmask ] . . , Red Hat Linux ethO, :ifconfig ethO ' , :ethO Link encap: Ethernet HWaddr 00:CO:F6:98:37:37inet addr:206.171.50.50 Beast: 206. 171.50.63 Mask: 255. 255. 255. 240UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric :1RX packets:9470 errors:0 dropped:0 overruns:0 frame:0TX packets:7578 errors:0 dropped:0 overruns:0 carrier:0 collisions:0Interrupt^ Base address:0x340 ifconfig , ethO (inet addr) 206.171.50.50, (Beast) 206.171.50.63 255.255.255.240. , ( RX), ( ), , , / .. ifconfig , . ifconfig, . :ifconfig ethO 206.171.50.50 netmask 255.255.255.240 \broadcast 206,171.50.63 ethO IP 206. 17 1 .50.50. , ifconfig. :i f conf i g ethO down ' ethO.www.books-shop.com 1netcfg. 9, netcfg .netstot:netstat tr] [] [] [1] , , . :netstat a . , . , . , i.nslookup:nslookup [query=Tnn_3anHCM_DNS] _ IP] [_] DNS. DNS .:nslookup query=mx iptegratipnlogic.com MX integrationlogic.com.nslookup query=mx integrationlogic.com ns.nitec.com , , /etc/resolv.conf, ns.nitec.com. q query. :nslookup q=a www.formtrack.com IP ( Address) . nslookup . nslookup. nslookup ?, . DNS, . , NS , adengine, com classifiedworks. com, :set query=ns ns, adengine.com , .. , nslookup, server. :server ns.adengine.com nslookup ns.adengine.com . , exit nslookup.ping:ping [ ] [s _] [1 ] "Books-shop"., , . [email protected] , . , , TCP/IP. ICMP (Internet Control Message Protocol ). , . ping , . :ping blacktiole.nitec.com ping bl ackhol e. nitec.com. ping, Ctrl+C, . ping, :PING blackhole.nitec.com (209.63.178.15): 56" data bytes64 bytes from 209.63.178.15: icmp_seq=0 ttl=53 time=141.5 ms64 bytes from 209.63.178.15: icmp_seq=1 ttl=53 time=162.6 ms64 bytes from 209.63.178.15: icmp_seq=2 ttl=53 time=121.4 ms64 bytes from 209.63.178.15: icmp_seq=3 ttl=53 time=156.0 ms64 bytes . from 209.63.178.15: icmp_seq=4 ttl=53 time=126.4 ms64 bytes from 209.63.178.15: icmp_seq=5 ttl=53 time=101.5 ms64 bytes from 209.63.178.15: icmp_seq=6 ttl=53 time=98.7 ms64 bytes from 209.63.178.15: icmp_seq=7 ttl=53 time=180.9 ms64 bytes from 209.63.178.15: icmp_seq=8 ttl=53 time=126.2 ms64 bytes from 209.63.178.15: icmp_seq=9 ttl=53 time=122.3 ms64 bytes from 209.63.178.15: icmp_seq=10 ttl=53 time=127.1 ms blackhole.nitec.com ping statistics 11 packets transmitted, 11 packets received, 0% packet lossroundtrip min/avg/max =98.7/133.1/180.9 ms 10 ping blackhole . nitec . com. 11 , , ping 11 , . ping ping . (min), (avg) . , . , ping , . , ping , . :ping 10 blackhole.nltec.com 10 ping. ping 64 (56 + 8 ) . , s. :ping 1024 s 1016 re.boot.nitec.com 1024 (1016 + 8).www.books-shop.com 105"1 J , . , , . , ping .route:route add net dev route add host dev route add default gw . , , route :route add net , 206.171.50.48 255.255.255.240 ethO , :route add net 206.171.50.48 255.255.255.240 ethO , route:route add default gw , 206.171.50.49, :route add default gw 206.171.50.49 ethO , :route n :Kernel IP routing tableDestination Gateway Genmask, Flags Metric Ref Use Iface206.171.50.48 0.0.0.0 255.255.255.240 U 0 0 6 ethO127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 5 lo0.0.0.0 206.171.50.49 0.0.0.0 UG Q 0 17 ethO| , /etc/sysconfig/network ' IP, .tcpdump:tcpdump . , brat, nitec.com reboot.nitec.com, :tcpdump host brat.nitec.com and reboot.nitec.comwww.books-shop.com106 tcpdump . reboot.ni tec.com ping brat.ni tec.com, :tcpdump: listening on ethO09:21:14.720000 reboot. nitec.com>brat. nitec.com: icmp: echo request09:21:14.720000 brat. nitec.com>reboot. nitec.com: icmp: echo reply09:21:15.720000 reboot. nitec.com>brat. nitec.com: icmp: echo request09:21:15.720000 brat. nitec.com> reboot. nitec.com: icmp: echo reply09:21:16.720000 reboot. nitec.com>brat. nitec.com: icmp: echo request09:21:16.720000 brat. nitec.com>reboot. nitec.com: icmp: echo reply09:21:17.730000 reboot. nitec.com>brat. nitec.com: icmp: echo request09:21:17.730000 brat. nitec.com>reboot. nitec.com: icmp: echo reply FTP, tcpdump , . :tcpdump port ftp or ftpdata FTP , . , . , tcpdump .traceroute:traceroute . , , ICMP TIME_EXCEEDED. blackhole.nitec.com:traceroute to blackhole.nitec.com (209.63.178.15), 30 hops max, 40byte packets1 router (206.171.50.49) 4.137 ms 3.995 ms 4.738 ms2 PM3001.v1.NET (206.171.48.10) 32.683 ms 33.295 ms 33.255 ms3 HQCS001.v1.NET (206.171.48.1) 42.263 ms 44.237 ms 36.784 ms4 ix.pxbi.net (206.13.15.97) 106.785 ms 63.585 ms 101.277 ms5 ix.pxbi.net (206.13.31.8) 86.283 ms ,64.246 ms 69.749 ms6 ca.us.ixbm.net (165.87.22.10) 71.415 ms 72.319 ms 85.183 ms7 mae.elxi.net (198.32.136.128) 101.863 ms 80.257 ms 67.323 ms8 y. exli.net (207.173.113.146) 71.323 ms 104.685 ms 110.935 ms9 z. exli.net (207.173.113.217) 69.964 ms 137.858 ms 85.326 ms10 z1.exli.net (207.173.112.251) 81.257 ms 107.575 ms 78.453 ms11 209.210.249.50 (209.210.249.50) 90.701 ms 91.116 ms 109.491 ms12 209.63.178.15 (209.63.178.15) 83.052 ms 76.604 ms 85.406 ms . , . , , , . , , . traceroute, , , , . , .www.books-shop.com .bg:bg , . . , du a / | sortrn > /tmp/du.sorted, , (), /tmp/du.sorted. . , Ctrl+Z .bg, , .I ' , & . , , jobs , . , fg.fg:fg [%_] , , . , , . , jobs, fg . , jobs , , , :fg %1jobs:jobs , . , .kill. 8, .killall. 8, .PS. 8, ps .top. 8, . 107www.books-shop.com108 5. , , .at. 8, .atq. 8, .atrm. 8, .crontab. 8, . , , .be:be , . , . , . , 1024 4, 1024*4 , , .Cdl:cal [] [} , . , . , 19999.:cal 2000 2000 .www.books-shop.com 10$,'ispell: ' .. .: * '> *. 'ispell /proc/sys/net/ipv4/ip_forward, n 1 0. ' 9.5 9.6 (ethO ethl). 9.5. /etc/sysconfig/networkscripts/ifcfgethODEVICE=ethOIPADDR=192.168.1.126NETMASK=255.255.255'.128NETWORK=192.168.1.0BROADCASTS 92.168.1.127ONBOOT=yes 9.6. /etc/sysconfig/networkscripts/ifcfgeth1DEVICE=eth1IPADDR=192.168.1.254NETMASK=255.255.255.128NETWORK=192.168.1.128BROADCAST=192.168.1.255ONBOOT=yeS , ( ifup), route:route add net 192.168.1.0 255.255.255'. 128 ethOroute add net 192.168.1.128 255.255.255.128 ethl route , , , . , , . , , Linux Ethernet (ethO), /etc/sysconfig/network 192.168.1.0 , 9.7. 9.7. /etc/sysconfig/networkNETWORKING=yesFORWARD_IPV4=yesHOSTNAME=marketing1.nitec.comOOMAINNAME=nitec.comGATEWAY=192.168.1.126GATEWAYDEV=ethO , 9.8. 9.8. /etc/sysconfig/networkscripts/ifcfgethODEVICE=ethO184 9www.books-shop.comIPADDR=192.168.1.1NETMASK=255.255.255.128NETWORK=192.168.1.0BROADCASTS 92.168.1.127ONBOOT=yes 192.168.1.128. GATEWAY=192.168.1.254 /etc/sysconfig/network NETWORK=192.168.1.128 BROADCAST=192.168.1.255 /etc/sysconfig/networkscripts/ifcfgethO., , Linux, Windows /2000 NT, . , . ping. . DNS , IP:1. ping, . , ping192.168.1.2 192.168.1.1. ping , (/etc/sysconfig/network /etc/sysconfig/network scripts/ifcfgethO). , , , ifconfig ethO down /etc/sysconfig/network scripts/ifup rthO. ping , .2. ping , ping . , . ping , .3. ping . , traceroute , , . traceroute , , , . , IP. cat/proc/sys/net/ipv4/ip_forward , (1 0). 1, IP /etc/sysconfig/network, . . ping , , . , . 185www.books-shop.comwww.books-shop.com 4 /www.books-shop.comwww.books-shop.com 10 DNS : (DNS) DNS DNS BIND DNS DNS (DNS Domain Name Service) . Red Hat Linux DNS. DNS, DNS. , , DNS DNS Red Hat Linux. DNS (IP). , () IP IP. . , , . , ., , IP. . , DNS.www.books-shop.com190. 10.1. ,, DNS DNS . , Web ht t p: //www. i nt egrat i onl ogi c. com/, , Integration Logic,Inc. Web URL ht t p: //www. integ rationlogic. com/. Web , DNS. . 10.1 . DNS( ) DNS kitegrationLDgic.com Web DNS ( DNS ), IP www. i nt egrat i onl ogi c.com (1). DNS , IP (2). DNS www. i ntegrati onl ogi c. com, . DNS DNS ( ), IP DNS, i nt egrat i onl ogi c. com (3). www. i ntegrati onl ogi c.com , DNS i nt egrat i onl ogi c. com IP . DNS IP Web IP (5). , . DNS () IP. , IP ? DNS IP, . , DNS , IP IP; DNS. DNS, : DNS DNS DNS ( )? : DNS ? 10www.books-shop.com DNS 191 DNS ? , DNS. , DNS Red Hat Linux, DNS DNS. , Red Hat Linux DNS. DNS (Resolver) Red Hat Linux , DNS. DNS resolver. , DNS. Resolver Red Hat Linux. resolver. Red Hat Linux DNS resolver. resolver, DNS. , resolver Red Hat Linux, , . DNS IP, IP DNS. , resolver. resolver, /etc/resolv.conf. 10.1 /etc/resolv.conf nitec.com. 10.1. /etc/resolv.conf resolver domain nitec.comft search nitec.com# nameserver 206.171.50.50# nameserver 206.171.50.55 Linux, . , #, . domain, search nameserver. domain . , . search , resolver , . , ping www resolver, ping resolver www. www , resolver search (, www. nitec. com) IP . , search i ntegrati onl ogi c. com ( ) ping, resolver IP www. i nt egr at i onl ogi c. com. www.books-shop.com search , , () . nameserver , resolver . ( ) name server . . , resolver, www. adengine, com, resolver IP, 206.171.50.50. 206.171.50.50 (.. ), , 206.171.50.55. name server. nameserver . nameserver IP . IP , . resolverIP . , resolver . , resolver DNS , DNS. IP /etc/hosts. : /etc/hosts:206.171.50.50 picaso.nitec.com picaso127.0.0.0 localhost localhostResolver , DNS. DNS, . DNS, /etc/hosts, resolver , DNS. /etc/host.conf, order. :order hosts,bind /etc/host.conf order, resolver /etc/hosts , , bind DNS, /etc/resolv.conf.I , ' DNS, DNS /etc/hosts, DNS . , resolverDNS . DNS ping . ping 192 10www.books-shop.com DNS 193


Recommended