实验一虚拟机下Linux操作系统的安装与配置
实验一Linux 操作系统的安装与配置
一.实验目的
基础:掌握VMware 虚拟机的安装和使用方法;
基础:掌握各种linux 安装方法(光盘安装,虚拟机ISO 文件安装);基础:掌握VMWARE 下linux 操作系统与windows 主机网络互通的方法;进阶:掌握使用grub 修改root 密码的方法;
二. 实验内容
1. 设置虚拟机环境,准备安装Redhat AS 5.0 ;
2. 使用ISO 文件安装linux 操作系统;
3. 分别设置xp 与linux 中IP 地址等信息,使得两个操作系统可以互相ping 通;
4. 进阶:了解当root 密码遗忘时如何处理;
三. 实验过程
1. 进入windowsXP 操作系统,系统中已安装好虚拟机软件Vmware 。
2. 完成在虚拟机上安装Red Hat Linux AS5.0 。步骤如下:
1)首先进行虚拟机系统的环境设置。如下图所示:打开虚拟机Vmware ,选择图标“ new vitual Machine ”;
厂 Tlrare loikstation
irtiix
3)
File Idil Vtefr VII Tem If LitiwE Jkl]
;■ BB t @ : ^ kr. Si :fia§£ @0 .
》f?m E G F&Tsrites [j £ed. Ha.t LitErprssfi Lim VMware Workstation VMware 牺倔⑻灯^ db 邸 nuit (葩 standard oper^ing $yand thar aqpicatcn^ bo run fflth hgh perfctTnan-ze n secire End transpcrtdbfe Wtusl radines. Ea± virtusl madins kequhalertboaPCMtha Lhqya n^wcrk Address And Ful ramplemant of bardic 吧 choices, Vitus (j 瘫 a riEvi virtusi 阳diire ?【网t 日I erd rm a variety of $t^n±irij Verging systems in the virtui 砒曲 2) New T&am 囱 Cpai Existing VMwTegm Cr 讯龄 A n 绅i team. Add several vHual machnK and ccmect 的em 卅廿i prkate team LAN segrrerts. &w 朋 for vrtual machines or teems srd select one todtsp^v in ths pa 阀.[nteract ^hditgu^t Dparathg s^tam Mthin yuu^cdd a standard PC. 5) He|p f 够k . | 阻地/ | , Cartel 4) i± 所以此处 Hew Virtual Bachixie Tigard Choose the Virtual Machine Hardwaire 匚ompatibility Which hardware features are needed for this virtual niactiine? Virtual machine har|rf?/are conipatibility Hardware comp 匚□mpatibl& prQductf ; ACE2.5-2.7 E5X4.X Fusion 2.x Fusion 3.x Server 2.x Workstatiori &,5 Workstation 7.x 匚 ompattle with; Limitatians; 32 GB memory Un* 8 processor limit 10 n etwork adapter limit 2 TB disk size fcnft Workstation 6.5-7-x ? Nev Virtual lachine Trzard Select a Gue^t Operating System Which operating syitem 制I bt instaled cn this virtual machine? Guest operating system (:'Micnosoft^ndoiMS W Unux O Novel NetWare (_) Sun Solaris O VMware E5X O Other Version 6) He* Virtual Bachine Vizard Name the Virtual Machine What name 胶uld you like to “E for this virtual machine? Virtual machine name: Rad Hat Enterprise Linux 5 此处是虚拟机文件的安装 位 置,请同学们安装在 盘下。 ^LntflEfen :- D:\fed hat 5.0 ■Tlie'^eF^ail lucaliiKi tan be changed at Edit > Preferences, < gack ^ext > 匚ancel Help < Rack lext > Cartel Brg^e ,,.] Nev Virtual Tachine Wizard Processor Configuration Specify the number of processors For this vrtual machre. ProcMsors Number cf processors: Number oF tores per processor: Total processor cores: 8) 此处可以使用默认值,如果设置过 小,运行时可能出现虚拟内存不足 的情况。 C U 需 rework adctess trandaUon (NAT) Give the guest operating system access to tlie host computer's dial-up a exbernal Ethernet network camectior using the best's IP adetess. Use tiost-only networljcg Connect the quest operating system to e private virtual net wk on the host computer. --Do nut use 応 network oOTinection < Back Canctl 9) Virtual lachine Vizard Network Type What type of network do you wanl Jse bridged networking^ Give thft guest operating s f k. Tha guest: 此处选择此选项,linux 系统拥 有独立的IP 地址,可以直接连 接外部的以太 网。 注意了解其他选项的用途。 direct acce&s to an external Ethernet Fhave its own IP address cn the external network. ection 10) 11) Virtual lachine Vizard Select a Di&k Type What kind of disk do you want to create? Virtual disk type Opt {二3匸51 (Recommerded)