Red Flag Server 4.0 68 6 Red Flag Software Co., Ltd. http://www.redflag-linux.com
GUN-GPL / / 2003 ABC for Linux
... 1... 1... 1... 2 1... 3 1.1... 3 1.2... 3 1.3... 3 1.4... 4 1.5... 5 1.5.1... 5 1.5.2... 6 2... 7 2.1... 7 2.1.1... 7 2.1.2... 7 2.1.3... 7 2.1.4 Linux... 8 2.2... 8 2.2.1... 9 2.2.2... 9 2.2.3 NFS... 10 3 Red Flag Server 4.0... 13 3.1... 13 3.2... 13 3.3... 14 3.3.1... 15 i
3.3.2... 15 3.3.3... 16 3.3.4 Disk Druid... 17 3.3.5 fdisk... 26 3.3.6... 28 3.4... 29 3.5... 30 3.6... 31 3.7... 32 3.8... 33 3.9... 34 4... 35 4.1... 35 4.2... 35 5... 37 5.1... 37 5.2... 37 6... 39... 40 A... 40 B... 42 ii
Red Flag Server 4.0 Red Flag Server 4.0 Red Flag Server 4.0 Red Flag Server 4.0 Red Flag Professional Server 4.0 Red Flag Function Server 4.0 Red Flag Advanced Server 4.0 Red Flag Advanced Server 4.0 SE Red Flag Server 4.0 Red Flag Server 4.0 Linux Red Flag Server 3 Red Flag Server 4.0 Red Flag Server 4.0 command filename ls -a output message /etc/fstab [ root@localhost /root ]# application <key> <key1+key2> Kedit <Tab> <Ctrl+Shift> 1
Menu Item user input boot expert Red Flag Server 4.0 2
1 1 Red Flag Server 4.0 1.1 Red Flag Server 4.0 SMP RAID 1.2 Red Flag Server 4.0 1.3 SCSI IDE SCSI / / IDE SCSI IDE SCSI IDE IDE PS/2 USB 3
1 DNS Red Flag Server 4.0 http://www.redflag-linux.com 1.4 Red Flag Server 4.0 /images boot.img boothd.img bootnet.img boot.img boothd.img bootnet.img NFS 1.44M 1.44MB 3.5 3.5 Linux dd Red Flag Server 4.0 Red Flag Server 4.0 2 4 / ( ) Linux Windows \ ( ) Linux Linux 1 /mnt/cdrom # mount /dev/cdrom /mnt/cdrom 2
1 # dd if=/mnt/cdrom/images/boot.img of=/dev/fd0 bs=1440k dd boot.img boothd.img bootnet.img 1.5 Red Flag Server 4.0 Red Flag Server 4.0 1.5.1 primary-partition extended-partition logical-partition Red Flag Server 4.0 Red Flag Server 4.0 Red Flag Server 4.0./ swap 2.5G Red Flag Server 4.0 Red Flag Server Linux DOS fdisk 5
1 1.5.2 Red Flag Server 4.0 Red Flag Server 4.0 Red Flag Server 4.0 Red Flag Server 4.0 PQMagic FIPS DOS/WINDOWS DOS/WINDOWS PQMagic 6
2 2 Red Flag Server 4.0 2.1 Red Flag Server 4.0 2.1.1 Red Flag Server 4.0 BIOS CD-ROM 2.1.2 NFS BIOS 1.4 Red Flag Server 4.0 2.1.3 Red Flag Server 4.0 boot <Enter> boot expert <Enter> Linux 7
2 expert SCSI Red Flag Server 4.0 Linux 2.1.4 Linux Linux 2-1 Linux 2-1 Linux running/sbin/loader 2.2 Red Flag Server 4.0 8
2 2.2.1 /images/boot.img 1.4 Local CDROM Red Flag Server 4.0 OK <Enter> CD-ROM 2.2.2 Red Flag Server 4.0 ISO /images/boothd.img 1.4 ISO Red Flag Server 4.0 ISO ISO 2-2 2-2 9
2 Select Partition ISO ISO Directory holding images ISO /dev/hda1 /download/redflag /download/redflag ISO Windows vfat 2.2.3 NFS NFS Red Flag Server 4.0 /images/bootnet.img 1.4 NFS Red Flag Server 4.0 NFS NFS A Configure TCP/IP TCP/IP 2-3 2-3 TCP/IP IP DHCP/BOOTP IP <Enter> IP Netmask <Enter> Default gateway Primary nameserver OK 10
2 DHCP/BOOTP 2-4 NFS NFS server name NFS NFS IP RedFlag directory RedFlag Red Flag Server 4.0 2-4 NFS NFS Red Flag Server 4.0 /mnt/cdrom RedFlag directory /mnt/cdrom NFS CD Red Flag Server 4.0 RedFlag NFS /product/redflag/cdrom/redflag /product/redflag/cdrom 11
3 Red Flag Server 4.0 3 Red Flag Server 4.0 3.1 Linux 3-1 3-1 Red Flag Server 4.0 3-2 3.2 12
3 Red Flag Server 4.0 3-2 Red Flag Server 4.0 Red Flag Server Red Flag Server 4.0 4 3.3 Linux Linux Red Flag Server 4.0 13
3 Red Flag Server 4.0 3.3.1 Linux hd IDE sd SCSI hda IDE hdb IDE sdc SCSI 1-4 5 /dev/hda3 IDE /dev/sdb6 SCSI 3.3.2 Linux Red Flag Server 4.0 / Linux swap 1 ~ 2 Linux 1 Linux / 2 RAM RAM 1 ~ 2 14
3 Red Flag Server 4.0 3 /usr /home /var /boot / swap /boot /usr /home /var /tmp 3.3.3 3-3 Disk Druid fdisk 3-3 15
3 Red Flag Server 4.0 Disk Druid fdisk Windows/DOS fdisk Disk Druid 3.3.4 Disk Druid Fdisk 3.3.5 fdisk 3.3.4 Disk Druid Disk Druid Fdisk Disk Druid 3-4 Disk Druid 3-4 Disk Druid hda hdb sda sdb 16
3 Red Flag Server 4.0 MB Druid Disk RAID RAID Red Flag Server 4.0 RAID software RAID RAID RAID RAID RAID LVM LVM LVM Red Flag Server 4.0 LVM LVM LVM LVM LVM /boot LVM Red Flag Server 4.0 LVM Linux Red Flag Server 4.0 Windows 17
3 Red Flag Server 4.0 3-5 3-5 / /boot /home swap ext3 reiserfs jfs ext2 ext3 Red Flag Server 4.0 ext2 ext3 reiserfs Unix 255 ext2 ext2 ext3 ext2 Reiserfs 18
3 Red Flag Server 4.0 jfs LVM RAID swap vfat IBM jfs LVM LVM Red Flag Server 4.0 RAID RAID RAID Red Flag Server 4.0 Windows 9X/2000/NT FAT MB Linux Linux Swap Red Flag Server 4.0 3-5 3.3.4.1 RAID Red Flag Server 4.0 RAID 19
3 Red Flag Server 4.0 RAID RAID RAID Red Flag Server 4.0 RAID Disk Druid RAID RAID RAID 3-4 Disk Druid 3-6 3-6 RAID RAID software RAID RAID RAID MB Linux 20
3 Red Flag Server 4.0 Disk Druid RAID RAID /home RAID RAID software RAID RAID 1 Disk Druid 3-4 RAID 3-7 RAID 3-7 RAID 2 3 RAID ext3 4 RAID RAID0 RAID1 RAID5 RAID /boot RAID1 /boot / RAID RAID1 5 RAID RAID RAID 6 RAID Disk Druid 3-8 21
3 Red Flag Server 4.0 3-8 RAID 3.3.4.2 LVM Red Flag Server 4.0 LVM Red Flag Server 4.0 LVM LVM Red Flag Server 4.0 Red Flag Server 4.0 LVM Disk Druid LVM LVM LVM LVM LVM LVM 3-4 Disk Druid 3-9 22
3 Red Flag Server 4.0 3-9 LVM physical volume LVM LVM RAID LVM LVM MB Disk Druid LVM LVM /boot /boot 23
3 Red Flag Server 4.0 1 Disk Druid 3-4 LVM 3-10 LVM 3-10 LVM 2 3 LVM 4MB 4MB 4 5 3-11 24
3 Red Flag Server 4.0 3-11 6 LVM Disk Druid 3-12 3-12 Logical Volumes 3.3.5 fdisk Fdisk Fdisk fdisk 25
3 Red Flag Server 4.0 fdisk fdisk 3-13 fdisk 3-13 Fdisk fdisk 3-14 fdisk Disk Druid 3-14 fdisk p m n l p logical primary swap n fdisk Linux Swap t ID Linux ID 26
3 Red Flag Server 4.0 /home 1 fdisk 2 w Fdisk 3 q fdisk 3-14 fdisk 3.3.6 27
3 Red Flag Server 4.0 3-15 3.4 LILO LInux LOader Red Flag Server 4.0 Red Flag Server 4.0 LILO LILO MBR /dev/hda1 MBR BIOS LILO System Commander Boot Manager LILO LILO Red Flag Server 4.0 Red Flag Server 4.0 MBR Windows 9X/2000/NT MBR LILO 3-16 28
3 Red Flag Server 4.0 3-16 LILO LILO LILO LILO Red Flag Server 4.0 Linux windows Windows 3.5 Linux root root root 3-17 root 6 29
3 Red Flag Server 4.0 3-17 root root 3.6 3-18 30
3 Red Flag Server 4.0 3-18 3.7 3-19 31
3 Red Flag Server 4.0 3-19 Red Flag Server 4.0 3.8 3-20 3-20 32
3 Red Flag Server 4.0 Red Flag Server 4.0 mkbootdisk man page shell man mkbootdisk LILO 3.9 Red Flag Server 4.0 3-21 3-21 Red Flag Server 4.0 33
4 4 Red Flag Server 4.0 4.1 Red Flag Server 4.0 4-1 4-1 Red Flag Server 4.0 MBR 4.2 4-2 37
4 4-2 3.4 38
5 5 boot expert <Enter> Red Flag Server 4.0 5.1 SCSI RAID Red Flag Server 4.0 5-1 5-1 OK Red Flag Server 4.0 5.2 Red Flag Server 4.0 37
5 Red Flag Server 4.0 DOS rawrite Linux dd 1.4 38
6 6 Red Flag Server 4.0 LILO <Enter> <Enter> Red Flag Server 4.0 Red Flag Server 4.0 1 Red Flag Server 4.0 Red Flag Server 4.0 Red Flag Server 4.0 Red Flag Server 4.0 39
6 Red Flag Function Server 4.0 Red Flag Function Server 4.0 1 Red Flag Function Server 4.0 2 6-1 3 4 28 6-2 40
6 4 6-3 5 6-4 Red Flag Function Server 4.0 41
A 7 7 Red Flag Server 4.0 Red Flag Server 4.0 MS Window Windows Red Flag Server 4.0 Red Flag Server 4.0 Red Flag Server 4.0 Windows 1.5 Red Flag Server 4.0 NFS Red Flag Server 4.0 NFS NFS Red Flag Server 4.0 RedFlag NFS # mount /dev/cdrom /mnt/cdrom # cp -var /mnt/cdrom/redflag /aa/bb/cc /aa/bb/cc RedFlag /data/system/redflag4 /aa/bb/cc NFS /etc/exports /location/of/disk/space *(ro) /aa/bb/cc 42 # /etc/rc.d/init.d/nfs restart
7 extended 3 Red Flag Server 4.0 1 Red Flag Server 4.0 2 MBR LILO DOS fdisk /mbr USB PS/2 USB SMP LILO SMP Symmetric Multiprocessing CPU CPU /etc/lilo.conf LILO linux linux-up Linux SMP SMP linux-up CPU 43
7 B account Unix shell alias shell alias ARP Address Resolution Protocol ATAPI AT Attachment Packet Interface AT IDE CDROM IDE EIDE Enhanced IDE IDE batch boot bootdisk BSD Berkeley Software Distribution Unix buffer 44
7 buffer cache CHAP Challenge-Handshake Authentication Protocol ISP PAP client / client/server system / server client compilation C completion shell compression compress zip gzip bzip2 console PC 45
7 cookies web DHCP Dynamic Host Configuration Protocol DHCP IP DMA Direct Memory Access PC CPU DNS Domain Name System / IP DNS IP DPMS Display Power Management System editor GNU/Linux Emacs VIM email email environment variables shell ext2 Extended 2 filesystem GNU/Linux Unix 46
7... FAT File Allocation Table DOS Windows FDDI Fiber Distributed Digital Interface FIFO First In First Out FIFO Filesystem firewall framebuffer RAM RAM FTP File Transfer Protocol gateway IP GIF Graphics Interchange Format web GIF 47
7 GNU GNU s Not Unix GNU Richard Stallman 80 free free GPL General Public License GUI Graphical User Interface host HTTP HyperText Transfer Protocol HTML HTML HyperText Markup Language web inode Unix inode Internet IP address IP Internet IP 192.168.0.1 IP IP 48
7 IP IP masquerading IP IP IP IRC Internet Relay Chat channel ISA Industry Standard Architecture PCI ISDN Integrated Services Digital Network ISO International Standards Organization ISP Internet Service Provider kernel LAN Local Area Network LDP 49
7 Linux Documentation Project Linux GNU/Linux HOWTO FAQ loopback manual page man MBR Master Boot Record MBR LILO MIME Multipurpose Internet Mail Extensions / type/subtype MPEG Moving Pictures Experts Group ISO MPEG NCP NetWare Core Protocol NetWare Novell Novell NetWare newsgroups USENET NFS Network FileSystem NIC 50
7 Network Interface Controller Ethernet NIS Network Information Service NIS NIS NIS PAP Password Authentication Protocol ISP ID server patch bug path GNU/Linux open source Apache sendmail GNU/Linux PAP Password Authentication Protocol ISP ID PCI Peripheral Components Interconnect Intel PC ISA IRQ PCMCIA Personal Computer Memory Card International Association 51
7 PC Card pipe Unix pipe FIFO pixmap pixel map bitmapped PNG Portable Network Graphics web GIF PNP Plug N Play ISA PCI POP Post Office Protocol ISP PPP Point to Point Protocol IP Novell IPX preprocessors C #include #define process prompt shell 52
7 Protocol HTTP FTP TCP UDP proxy HTTP FTP quota RAID Redundant Array of Independent Disks RAM Random Access Memory Random read-only mode read-write mode root root Unix Root Unix RFC Request For Comments RFC Internet IETF Internet Engineering Task Force 53
7 RFC RPM Redhat Package Manager Red Hat GNU/Linux Linux run level /etc/inittab SCSI Small Computers System Interface IDE SCSI SCSI PC server shadow passwords Unix shell shell shell shell DOS shells Bash sh tcsh. SMB Server Message Block Windows 9x/2000 NT SMTP 54 Simple Mail Transfer Protocol sendmail postfix SMTP
7 socket TCP Transmission Control Protocol IP TCP IP UDP TCP telnet telnet ssh URL Uniform Resource Locator virtual desktops X WAN Wide Area Network window manager 55