... 0.031 101.9 75 primary ext3 boot 101.9 75 5773. 359 primary ext3 57 73. 359 6149.882 primary linux swap The print command prints the current disk geometry with the partition information Note that parted ... 0.031 101.9 75 primary ext3 boot 101.9 75 4996.779 primary ext3 4996.780 57 73. 359 primary ext2 57 73. 359 6149.882 primary linux swap We now proceed to create a new partition, using the space that we ... the partition by 773.3 95 Mb (that is 57 73. 359 Mb − 50 00 Mb) On printing the partition table, the new disk geometry is evident: (parted) mkpartfs primary ext2 4996.779 57 73. 359 (parted) print Disk...
... động lại Logging in: Sau boot lại bạn thấy hiển thị hình: RedHatLinux release 5. 1 (Manhattan) Kernel 2.0.34 on an i586 login: Lần chạy Linux, bạn phải login với tên "root", tên ngời sử dụng có ... trờng Tạo Partition cho RedHat Linux: Chơng trình cài đặt cung cấp cho bạn tiện ích để chia đĩa là: www.nhipsongcongnghe.net Disk Druid: Còn gọi tiện ích quản lý đĩa RedHatLinux install-time Bạn ... Image đĩa CD Linux * Gỏ tên ổ đĩa mềm làm việc Enter target diskette drive: a: * Nếu bạn muốn làm tiếp đĩa khác tiến hành lại nh Partition: Để cài đặt chạy hệ điều hành RedHatLinux bạn phải...
... 55 3 Coding Your Program 55 4 Actions 55 5 Variables 55 5 Strings 55 8 Arrays 56 2 Contents Built-in Numeric Functions 56 4 Arithmetic ... Your RedHat System IN THIS CHAPTER s Be Prepared, Be Very Prepared! 12 s Installing RedHatLinux 13 s Step-by-Step Installation 15 s The RedHat Package Manager 25 INSTALLATION OF YOUR REDHAT ... 56 5 Conditional Flow 56 5 Looping 56 7 Advanced Input and Output 56 9 Input 56 9 Output 57 1 Functions 57 4 Function Definition 57 5...
... and is delivered in RedHat RPM format Thus, any RedHat user can easily install it and enjoy the benefits of an easy-to-use GUI interface that is virtually identical to that offered by commercial ... emergency boot disks with your RedHat distribution If your system won’t boot, here’s how to possibly recover your system: First, boot Linux from your RedHatLinux boot disk Next, at the boot: ... and shutting down Linux, including the following: How Linux boots How Linux starts What runlevels are and when to use them How to start and stop processes properly How to use RedHat s tksysv runlevel...
... Server RedHatLinux uses the freely available wu-ftpd server It comes as an RPM (Red Hat Package Manager) and is offered as an installation option during initial setup If you decide that you ... the Apache Web server using RedHat s RPM system RedHat includes the current version of Apache with its overall Linux product However, if the latest version of RedHatLinux is a few months old, ... with this content: RedHatLinux Unleashed RedHatLinux Unleashed Congratulations!...
... this: Device Begin Start End Blocks ID System /dev/hda1 2 45 376 2 45 376 244 3 75 1060 122944 66024 3 452 40 83 82 83 Linux native Linux swap Linux native /dev/hda2 /dev/hda3 In this case, there are ... Sep 27 crw w -1 root tty 7, 130 Sep 27 19 95 19 95 19 95 19 95 19 95 19 95 /dev/vcs0 /dev/vcs1 /dev/vcs2 /dev/vcsa0 /dev/vcsa1 /dev/vcsa2 Each set is numbered from to 63, corresponding to the numbering ... is entered in a dialog that pops up after you select the type of printer you want to set up If you want detailed instructions on how to print from RedHatLinux to a printer on a Windows 95 system...
... one that helps track down core clutter You need at least one external file to start using the commanding first cron facility Practice cron concepts by echo “0 ,5, 10, 15, 20, 25, 30, 35, 40, 45, 50 ,55 * ... and finally, crontab -l The last of these gives you a result that looks something like the following: 0 ,5, 10, 15, 20, 25, 30, 35, 40, 45, 50 ,55 * * * * date > /dev/ttyxx Every five minutes, the current ... hosts that don’t use RedHat Linux, availability and esoteric security issues have convinced me to code using constructs that sh, and therefore all the shells, recognizes Default RedHat Linux...
... CHAPTER 25 499 tcl and tk 25 Programming by Sriranga R Veeraraghavan IN THIS CHAPTER s tcl Basics 50 0 s The tcl Language s The tk Toolkit 50 2 51 7 s A tcl/tk Widget Programming Example 52 0 s A ... program Listing 24.1 A trivial Perl program #!/usr/bin/perl print RedHat Unleashed, 2nd edition\ n”; That’s the whole thing Type that in, save it to a file called trivial.pl, chmod cute it +x it, ... inches is [expr $len_in*2 .54 ] cm”; outputs inches is 5. 08 cm The 5. 08 is the result of the command expr $len_in*2 .54 Because this command is in brackets, the value that it returns is substituted...
... 27 54 5 gawk Programming 27 IN THIS CHAPTER 54 6 s Features 54 7 s awk Fundamentals 54 7 s Actions 55 5 s Advanced Input and Output 56 9 s Functions 57 4 s Writing Reports 57 7 s Commands On-the-Fly 57 9 ... %.1f %-.1f %6f\n”, 123. 456 , 123. 456 , 123. 456 , 123. 456 , 123. 456 , 123. 456 ) 64 064 064 064 064 64 64 @ a a a a a abc abc abc ab ab ab ab 123. 456 000 123 .5 0123 .5 123 .5 123 .5 123. 456 000 When using the ... variable that contains the first field in the input record, and FS is the predefined variable that contains the field separator 55 6 Automation, Programming, and Modifying Source Code PART VI predefined...
... installed RedHat Linux, you were asked to create partitions and indicate the mount points for those partitions When you boot RedHat Linux, all Linux partitions should be mounted For that reason, ... accounts to RedHatLinux Note The linuxconf facility, which is a general−purpose administration tool that can also be used for adding users, is no longer being installed by default in a RedHatLinux ... to support users on your RedHatLinux server, and that can be the most challenging part of your system−administration duties RedHatLinux provides a variety of tools that help you with your administrative...
... FTP Services ftp> ls 227 Entering Passive Mode (127,0,0,1, 253 , 85) 150 Here comes the directory listing -rw-r r-1 50 3 50 4 8192 Mar 20 15: 44 ch22.doc 226 Directory send OK ftp> quit The password ... the generated file so that only root owns it: # chmod 600 /etc/vsftpd/vsftpd_login.db 50 5 50 6 Chapter 22 Create a PAM (Pluggable Authentication Module) file in /etc/pam.d that contains the following ... }} httpd-2.0 .54 -7 httpd-manual-2.0 .54 -7 httpd-devel-2.0 .54 -7 If Apache is installed, you’re ready to go Otherwise, install the packages shown in the listing before proceeding 51 9 52 0 Chapter 23...