版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。
https://windtear.net/archives/2004/07/01/000449.html
[root@vm-rh-as3 etc]# cat /etc/redhat-release Red Hat Enterprise Linux AS release 3 (Taroon Update 2) [root@vm-rh-as3 etc]# cat /etc/issue Red Hat Enterprise Linux AS release 3 (Taroon Update 2) Kernel \r on an \m
[root@vm-rh-as3 etc]# cat /etc/issue.net Red Hat Enterprise Linux AS release 3 (Taroon Update 2) Kernel \r on an \m [root@vm-rh-as3 etc]#
== 2.4.21-15.EL ==
Red Hat Enterprise Linux AS release 3 (Taroon Update 2) Kernel 2.4.21-15.EL on an i686
[root@vm-rh-as3 etc]# dmesg Linux version 2.4.21-15.EL (bhcompile@bugs.build.redhat.com) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-34)) #1 Thu Apr 22 00:27:41 EDT 2004 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009f800 (usable) BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000dc000 - 00000000000e0000 (reserved) BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000000fef0000 (usable) BIOS-e820: 000000000fef0000 - 000000000feff000 (ACPI data) BIOS-e820: 000000000feff000 - 000000000ff00000 (ACPI NVS) BIOS-e820: 000000000ff00000 - 0000000010000000 (usable) BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved) 0MB HIGHMEM available. 256MB LOWMEM available. On node 0 totalpages: 65536 zone(0): 4096 pages. zone(1): 61440 pages. zone(2): 0 pages. Kernel command line: ro root=LABEL=/ Initializing CPU#0 Detected 2006.626 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 3971.48 BogoMIPS Memory: 252464k/262144k available (1528k kernel code, 7180k reserved, 1065k data, 164k init, 0k highmem) zapping low mappings. Dentry cache hash table entries: 32768 (order: 6, 262144 bytes) Inode cache hash table entries: 16384 (order: 5, 131072 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 16384 (order: 4, 65536 bytes) Page-cache hash table entries: 65536 (order: 6, 262144 bytes) CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 128K Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: 1febfbff 00000000 00000000 00000000 CPU: Common caps: 1febfbff 00000000 00000000 00000000 CPU: Intel(R) Celeron(R) CPU 2.00GHz stepping 08 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX Process timing init...done. mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au) mtrr: detected mtrr type: Intel PCI: PCI BIOS revision 2.10 entry at 0xfd9a0, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Using IRQ router PIIX [8086/7110] at 00:07.0 PCI: Cannot allocate resource region 4 of device 00:07.1 Limiting direct PCI/PCI transfers. isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16) Total HugeTLB memory allocated, 0 Starting kswapd VFS: Disk quotas vdquot_6.5.1 aio_setup: num_physpages = 16384 aio_setup: sizeof(struct page) = 56 Hugetlbfs mounted. pty: 2048 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS0 at 0x03f8 (irq = 4) is a 16550A ttyS1 at 0x02f8 (irq = 3) is a 16550A Real Time Clock Driver v1.10e NET4: Frame Diverter 0.46 RAMDISK driver initialized: 256 RAM disks of 8192K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx PIIX4: IDE controller at PCI slot 00:07.1 PIIX4: chipset revision 1 PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x1070-0x1077, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0x1078-0x107f, BIOS settings: hdc:DMA, hdd:pio hda: VMware Virtual IDE Hard Drive, ATA DISK drive blk: queue c0413f00, I/O limit 4095Mb (mask 0xffffffff) hdc: VMware Virtual IDE CDROM Drive, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: attached ide-disk driver. hda: 8388608 sectors (4295 MB) w/32KiB Cache, CHS=522/255/63, UDMA(33) ide-floppy driver 0.99.newide Partition check: hda: hda1 hda2 ide-floppy driver 0.99.newide md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. Initializing Cryptographic API NET4: Linux TCP/IP 1.0 for NET4.0 IP: routing cache hash table of 2048 buckets, 16Kbytes TCP: Hash tables configured (established 16384 bind 32768) Linux IP multicast router 0.06 plus PIM-SM Initializing IPsec netlink socket NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Compressed image found at block 0 Freeing initrd memory: 269k freed VFS: Mounted root (ext2 filesystem). SCSI subsystem driver Revision: 1.00 Fusion MPT base driver 2.05.11.03 Copyright (c) 1999-2003 LSI Logic Corporation PCI: Found IRQ 9 for device 00:10.0 mptbase: Initiating ioc0 bringup ioc0: 53C1030: Capabilities={Initiator} mptbase: 1 MPT adapter found, 1 installed. Fusion MPT SCSI Host driver 2.05.11.03 scsi0 : ioc0: LSI53C1030, FwRev=00000000h, Ports=1, MaxQ=128, IRQ=9 blk: queue c1abc814, I/O limit 4294967295Mb (mask 0xffffffffffffffff) Journalled Block Device driver loaded kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Freeing unused kernel memory: 164k freed EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal Adding Swap: 297192k swap-space (priority -1) IA-32 Microcode Update Driver: v1.13 <tigran@veritas.com> microcode: No suitable data for cpu 0 parport0: PC-style at 0x378 [PCSPP,TRISTATE] inserting floppy driver for 2.4.21-15.EL Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 pcnet32.c:v1.27a 10.02.2002 tsbogend@alpha.franken.de PCI: Found IRQ 10 for device 00:11.0 pcnet32: PCnet/PCI II 79C970A at 0x1400, 00 0c 29 0a 8a 27 assigned IRQ 10. divert: allocating divert_blk for eth0 eth0: registered as PCnet/PCI II 79C970A pcnet32: 1 cards_found. divert: freeing divert_blk for eth0 ip_tables: (C) 2000-2002 Netfilter core team pcnet32.c:v1.27a 10.02.2002 tsbogend@alpha.franken.de PCI: Found IRQ 10 for device 00:11.0 pcnet32: PCnet/PCI II 79C970A at 0x1400, 00 0c 29 0a 8a 27 assigned IRQ 10. divert: allocating divert_blk for eth0 eth0: registered as PCnet/PCI II 79C970A pcnet32: 1 cards_found. ip_tables: (C) 2000-2002 Netfilter core team audit subsystem ver 0.1 initialized Audit daemon registered (process 994) parport0: PC-style at 0x378 [PCSPP,TRISTATE] lp0: using parport0 (polling). lp0: console ready [root@vm-rh-as3 etc]#
-----> 4 iso Z:\ISO\RedHat_AS_3_Update_2>dir 驱动器 Z 中的卷是 新加卷 卷的序列号是 9CBA-F5D7
Z:\ISO\RedHat_AS_3_Update_2 的目录
2004-06-14 18:05 <DIR> . 2004-06-14 18:05 <DIR> .. 2004-05-22 04:39 146,722,816 1.iso 2004-05-22 04:07 649,392,128 2.iso 2004-05-22 02:59 664,571,904 3.iso 2004-05-22 04:24 176,574,464 4.iso 4 个文件 1,637,261,312 字节
-----> install 不选19项 x gnome kde engineering graphical office sound authoring graphics games web server sql database mysql network legacy network server(telnet server, rwho ...) gnome software development kde software development printing support -- no everything --
选择13项 editors text-based internet (lynx links) server configuration tools mail server (sendmail,imap windows filse server dns name server ftp server development tools kernel development x software development (libpng gd) legacy software development(兼容老gcc) administrattion tools system tools (F2 Detail sysstat)
--- total 564 packages 1720 MB 21:24 ---
[root@vm-rh-as3 etc]# ls -1 /etc/rc.d/rc3.d/ K05saslauthd K10psacct K15httpd K20nfs K20spamassassin K24irda K35smb K35winbind K40smartd K45named K50netdump K50snmpd K50snmptrapd K50vsftpd K74ntpd S00microcode_ctl S05kudzu S08arptables_jf S08ip6tables S08iptables S09isdn S10network S12syslog S13irqbalance S13portmap S14nfslock S20audit S20random S24pcmcia S25netfs S26apmd S28autofs S55cups S55sshd S56rawdevices S56xinetd S80sendmail S85gpm S90crond S90xfs S95atd S97rhnsd S99local S99mdmonitor S99mdmpd
[root@vm-rh-as3 etc]# netstat -nlp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN 982/rpc.statd tcp 0 0 127.0.0.1:32769 0.0.0.0:* LISTEN 1165/xinetd tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 1568/smbd tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 963/portmap tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1151/sshd tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1086/cupsd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1201/sendmail: acce tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 1568/smbd udp 0 0 0.0.0.0:32768 0.0.0.0:* 982/rpc.statd udp 0 0 127.0.0.1:32771 0.0.0.0:* 1579/smbd udp 0 0 192.168.123.71:137 0.0.0.0:* 1572/nmbd udp 0 0 0.0.0.0:137 0.0.0.0:* 1572/nmbd udp 0 0 192.168.123.71:138 0.0.0.0:* 1572/nmbd udp 0 0 0.0.0.0:138 0.0.0.0:* 1572/nmbd udp 0 0 0.0.0.0:68 0.0.0.0:* 1421/dhclient udp 0 0 0.0.0.0:734 0.0.0.0:* 982/rpc.statd udp 0 0 0.0.0.0:111 0.0.0.0:* 963/portmap udp 0 0 0.0.0.0:631 0.0.0.0:* 1086/cupsd Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node PID/Program name Path unix 2 [ ACC ] STREAM LISTENING 1777 1252/xfs /tmp/.font-unix/fs7100 unix 2 [ ACC ] STREAM LISTENING 5720 1428/0 /tmp/ssh-XXJQ1428/agent.1428
[root@vm-rh-as3 etc]# cat /etc/samba/smbpasswd root:0:6B260CA015C50E77944E2DF489A880E4:4E912C66F7EFD16B7B028CDA31133AA2:[U ]:LCT-40E3B758:
[root@vm-rh-as3 etc]# more /etc/samba/smb.conf server string = Windtear Samba Server
[__hhh__] comment = root dir path = / read only = no browsable = no
[root@vm-rh-as3 etc]# /etc/rc.d/init.d/sm smartd smb [root@vm-rh-as3 etc]# /etc/rc.d/init.d/smb start
[root@vm-rh-as3 etc]# ps axf PID TTY STAT TIME COMMAND 1 ? S 0:06 init 2 ? SW 0:00 [keventd] 3 ? SW 0:00 [kapmd] 4 ? SWN 0:00 [ksoftirqd/0] 7 ? SW 0:00 [bdflush] 5 ? SW 0:00 [kswapd] 6 ? SW 0:00 [kscand] 8 ? SW 0:00 [kupdated] 9 ? SW 0:00 [mdrecoveryd] 18 ? SW 0:00 [kjournald] 933 ? S 0:00 syslogd -m 0 937 ? S 0:00 klogd -x 963 ? S 0:00 portmap 982 ? S 0:00 rpc.statd 994 ? S 0:00 /sbin/auditd 1045 ? S 0:00 /usr/sbin/apmd -p 10 -w 5 -W -P /etc/sysconfig/apm-scripts/apmscript 1086 ? S 0:00 cupsd 1151 ? S 0:00 /usr/sbin/sshd 1428 ? S 0:01 \_ sshd: root@pts/0 1430 pts/0 S 0:01 \_ -bash 1685 pts/0 R 0:00 \_ ps axf 1165 ? S 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid 1201 ? S 0:00 sendmail: accepting connections 1210 ? S 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue 1224 ? S 0:00 crond 1252 ? S 0:00 xfs -droppriv -daemon 1261 ? S 0:00 /usr/sbin/atd 1274 ? S 0:00 mdadm --monitor --scan 1285 ? SL 0:00 mdmpd 1293 tty2 S 0:00 /sbin/mingetty tty2 1294 tty3 S 0:00 /sbin/mingetty tty3 1295 tty4 S 0:00 /sbin/mingetty tty4 1296 tty5 S 0:00 /sbin/mingetty tty5 1297 tty6 S 0:00 /sbin/mingetty tty6 1421 ? S 0:00 dhclient eth0 1568 ? S 0:00 smbd -D 1579 ? S 0:02 \_ smbd -D 1572 ? S 0:00 nmbd -D 1582 tty1 S 0:00 /sbin/mingetty tty1
|
|