定制安装RHEL5.txt D:\OK6410\国嵌Ok6410-2011共享版-2\课程1(嵌入式体验入门班)\第3天(Linux系统体验)\教学视频

时间:2022-07-20 15:53:33
定制安装RHEL5.txt
D:\OK6410\国嵌Ok6410-2011共享版-2\课程1(嵌入式体验入门班)\第3天(Linux系统体验)\教学视频
国嵌体验入门班-3-1(Linux定制安装).avi


RHEL5.1-Server-20071017.0-i386-DVD.iso
+ Red Hat Enterprise Linux Virtualization Platform:
安装序列号:49af 8941 4d14 7589


虚拟机:
VMwareWorkstation.v6.0.1@cniter.com.rar
9AJPJ-0RW0G-M0H7T-4D9NY


VMware-workstation-full-11.1.0.58002.1428919414.exe
1F04Z-6D111-7Z029-AV0Q4-3AEH8  永久版








小知识:
在键盘上按 Ctrl + Alt 组合键,就可以从 虚拟机 中退出来!








1、图形化安装选项
- To install or upgrade in graphical mode, press the <ENTER> key. (!!!!图像化界面安装,直接按 ENTER 键,不按任何按键,等待几秒钟默认进入这种模式。建议选择这种模式)
- To install or upgrade in text mode, type: linux text <ENTER> key.(在 boot: 后面输入linux text并按 ENTER 键,就进入文本模式安装)
- Use the function keys listed below for more information. 


[F1-Main] [F2-Options] [F3-General] [F4-Kernel] [F5-Rescue]
boot:








2、CD介质检测
CD Found


To begin testing the CD media before installation press OK.


Choose Skip to skip the media test and start the installation.


OK SKIP


按 TAB 键 跳转到 Skip,按 Enter 键盘选择。(不要检测光碟的好坏!)








3、
Release Notes Back(灰色) Next(选中开始安装)








4、安装语言
What language would you like to use during the installation process?


English(English)


Release Notes Back Next(选中开始安装)








5、键盘语言
Select the appropriate keyboard for the system.


U.S.English


Release Notes Back Next(选中开始安装)








6、序列号
Installation Number


To install the full set of supported packages included in your subscription, please enter your installation Number


Installation Number


Skip entering installation Number


Cancel OK








7、分区
Warning


The partition table on device sda was unreadable. To create new partitions it must be initialized, causing the loss of ALL DATA on this device.


This operation will override any previous installation choices about which drives to ignore.


Would you like to initialize this drive, erasing ALL DATA?


No Yes(选中擦除全部数据,反正是虚拟机,这里面也没有什么东西。)








Searching for Red Hat Enterprise Linux Server
8、分区
Installation requires partitioning of your hard drive. By default, a partitioning layout is chosen which is reasonable for most users. You can either choose to use this or create your own.


Remove linux partitions on selected drives and create default layout.


Select the drive(s) to use for this installation.
sda 204797MB VMware, VMware Virtual S(默认选中)


Advanced storage configuration


Review and modify partitioning layout


Release Notes Back Next(选中开始安装)








9、分区
Warning


You have chosen to remove all Linux partitions(and ALL DATA on them) on the following drives:


/dev/sda


Are you sure you want to do this?


No Yes








10、网络(不需要配置)
Network Devices
Active on Boot Device IPv4/Netmask IPv6/Prefix Edit
(默认选中) eth0 DHCP Auto


Hostname
Set the hostname:
automatically via DHCP
manually(localhost.localdomain)(e.g., host.domain.com)


Miscellaneous Settings


Gateway:
Primary DNS:
Secondary DNS:
Release Notes Back Next(选中开始安装)








11、时区选择(不重要,可以不选择)
Please click into the map to choose a region:


America/New_York Eastern Time
(默认选中)System clock uses UTC


Release Notes Back Next(选中开始安装)








12、
The root account is used for administering the system. Enter a password for the root use.


Root Password:
Confirm:


Release Notes Back Next(选中开始安装)








Retrieving Installation information...
13、
The default installation of Red Hat Enterprise Linux Server includes a set of software applicable for general internet usage. What additional tasks would you system to include support for?


Clustering(取消选中)
Software Development(选中)
Storage Clustering(取消选中)
Virtualization(取消选中)
Web Server(选中)


You can further customize the software selection now, or after install via the software management applicaiton.


Customize later Customize now(选中)


Release Notes Back Next(选中开始安装)








14、软件定制
Desktop Environments
GNOME Desktop Environment(默认选中)
KDE(K Desktop Environment)


Applications
Authoring and Publishing
Editors(!!!!默认选中,必须)
Engineering and Scientific
Games and Entertainment(默认选中,可以不选)
Graphical Internet(默认选中,可以不选)
Graphics(默认选中,可以不选)
Office/Productivity(默认选中,可以不选)
Sound and video(!!!!默认选中,必须)
Text-based Internet(默认选中,可以不选)

Development
Development Libraries(!!!!默认选中,必须)
Development Tools(!!!!默认选中,必须)
GNOME Software Development(默认选中,可以不选)
Java Development
KDE Software Development
Legacy Software Development
Ruby
X Software Development(!!!!默认选中,必须)



Servers
DNS Name Server
FTP Server(!!!!默认未选中,必须)
Legacy Network Server(!!!!默认未选中,必须)
Mail Server
MySQL Database
Network Servers(!!!!默认未选中,必须)
News Server
PostgreSQL Database
Printing Support(!!!!默认选中,可以不选)
Server Configuraion Tools
Web Server(!!!!默认选中,必须)
Windows File Server(!!!!默认未选中,必须:Samba)

Optional packages
Bootparamd
rarpd
rsh-server
rusers(!!!!默认选中,必须)
rusers-server
rwho(!!!!默认选中,必须)
talk-server
telnet-server - 1:0.17-38.e15.i386(!!!!默认未选中,必须)
tftp-server - 0.42-3.1.i386(!!!!默认未选中,必须)
xlnetd(!!!!默认选中,必须)



Base System
Administration Tools(!!!!默认选中,必须)
Base(!!!!默认选中,必须)
Dialup Networking Support(!!!!默认选中,必须)
Java
Legacy Software Support
System Tools(!!!!默认未选中,必须)
X Windows System(!!!!默认选中,必须)


Cluster Storage


Clustering


Virtualizaion


Languages
Chinese Support(!!!!默认未选中,可以选中)


Release Notes Back Next(选中开始安装)








Checking dependencies in packages selected for installation...
15、
Click next to begin installation of Red Hat Enterprise Linux Server.


A complete log of the installation can be found in the file '/root/install.log' after rebooting your system.


A kickstart file containing the installation options selected can be found in the file '/file/anaconda-ks.cfg' after rebooting the system.


Release Notes Back Next(选中开始安装)








Formatting / file system...
Formatting /boot file system...
Transferring install image to hard drive...
Starting install process. This may take several minutes...
16、
Release Notes Back Reboot(选中开始安装)








17、
Welcome
There are a few more steps to take before your system is ready to use. The Setup Agent will now guide you through some basic configuration. Please click the "Forward" button in the lower right corner to continue.


Back Forward(选中继续)








18、
License Agreement


Yes, I agree to the License Agreement
No, I do not agree


Back Forward(选中继续)








19、
Firewall


You can use a firewall to allow access to specific services on your computer from other computers and prevent unauthorized access from the outside world. Whick services, if any, do you wish to allow access to?


Firewall:
Enabled(默认选择)
Disabled(简易选择)


Back Forward(选中继续)








Clicking the 'Yes' button will set the security level of the system and override any existing firewall configuration. Are you sure that you want to do this?
No Yes(选中继续)
20、
SELinux


Security Enhanced Linux(SELinux) provides finer-grained security controls than thos available in a traditional Linux system. It can be set up in a disable state, a state which only warns about things which would be denied, or a fully active state. Most people should keep the default setting.


SELinux Setting:
Enforcing
Permissive
Disabled


Back Forward(选中继续)








21、
Kdump


Kdump is a kernel crash dumping mechanism. In the event of a system crash, kdump will capture information from your system that can be invaluable in determining the cause of the crash. Note that kdump does require reserving a portion of system memory that will be unavailable for other uses.


Enable kdump?(默认未选中)


Back Forward(选中继续)








22、
Date and Time


Back Forward(选中继续)








23、
Set up Software Updates


Yes, I'd like to register now.(默认选中)
No, I prefer to register at a later time.(默认未选中,!!!!简易选择这个)


Back Forward(选中继续)








24、
Create User


Back Forward(选中继续)








25、
Sound Card


Back Forward(选中继续)








26、
Additional CDs
Back Finish(选中继续)








27、
安装VMware Tools


虚拟机


安装 VMware Tools








http://zhidao.baidu.com/link?url=VdLSMXxnafIgv465hmQAHRwNNNO98Epj0MFsBnnwHXLc7SlR6tu0JGIUvYZF1Jrbt-6EtHl-BcZbRqeW28yZma
vmware虚拟机linux的vmware tools安装方法
在vmware下的linux需要和windows共享文件夹,需要安装vmware tools,但是如果用rpm格式可能会安装不成功,这时需要手工安装。
1 以ROOT身份进入LINUX
2 退出到windows,点击 SETTING菜单下的ENABLE VMWARE TOOLS子菜单,确认安装
3 使用虚拟光驱加载iso镜像,路径为C:\Program Files\VMware\VMware Workstation\Programs\linux.iso
4 进入linux运行mount -t iso9660 /dev/cdrom /mnt
  加载CDROM设备,这时如果进入 /mnt 目录下,你将会发现多了一个文件:vmware-linux-tools.tar.gz。这就是WMWARE TOOLS的LINUX软件包,也就是我们刚才使用WINISO打开LINUX.ISO文件所看到的。
  cp /mnt/vmware-linux-tools.tar.gz /tmp
  将该软件包拷贝到LINUX的 TMP目录下。
  umount /dev/cdrom
  卸载CDROM。
  cd /tmp
  进入TMP目录
  tar zxf vmware-linux-tools.tar.gz
  解压缩该软件包,默认解压到vmware-linux-tools目录下(与文件名同名)。
  cd vmware-linux-tools
  进入解压后的目录
  ./install.pl (此处稍有出入)
  运行安装命令。
这时install提示你是否需要备份以前的配置文件,建议选择“y”。
共享windows下文件夹:


在启动虚拟机linux系统的情况下,进入VMWARE的菜单  /vm/settings/options/shared folders


创建共享文件夹,并设置好linux下的名字,完成后在linux虚拟机的/mnt/hgfs下可看到该文件夹。 
##########################################
注意
如果这一步 mount -t iso9660 /dev/cdrom /mnt      如果mount不上的话,可以用
cd /media  再 用命令 cd cdrom来试试,直到成功挂载光驱。。
如果你看到的是一堆没用的乱马七糟的文件而不是那两个安装包文件,那就需要再将光驱弹出后,重新在终端下挂载一下
mount /dev/cdrom 或者mount -t iso9660 /dev/cdrom /mnt  ,不出意外的话应该会出现两个软件包。一个是 VMware Tools -6.0.0-45731 tar.gz(不一定完全一样)然后一直按上面说的做就会弄好的,选分辨率调用默认[5]即可。之后再由Preferences下面的Screen Resolution 也能调解分辨率。。先个你认为合适的吧,,嘿嘿