南京航空航天大学 计算机科学与技术系学院 计算机组成原理 课程实验
1 PA0 - 世界诞生的前夜: 开发环境配置
1.1 Installing a GNU/Linux VM
Installing VirtualBox
1)下载、安装VirtualBox(https://www.virtualbox.org/wiki/Downloads):选择VirtualBox 5.0.6 for Windows hosts x86/amd64
Installing a GNU/Linux VM
1)下载Debian(https://www.debian.org/releases/stable/debian-installer/):选择netinst CD image -> i386
Creating a VM
1)启动VirtualBox
2)新建
3)名称(我自定义为HWAK)、类型(Linux)、版本(Debian (32 bit)) -> 下一步
4)内存大小默认1024MB,下一步
5)现在创建虚拟硬盘,创建
6)VDI(Virtual Box)磁盘镜像,下一步
7)储存在物理硬盘上,动态分配空间,下一步
8)我将虚拟机放在D盘的Virtual Box文件夹中,虚拟硬盘大小默认8GB,创建
Loading Debian installation image(全部操作在断网状态下进行)
1)启动虚拟机,定位到debian-8.2.0-i386-netinst.iso -> 启动
Graphical install
2)Select a language(English)->Chinese
3)Select a location -> China
4)Select the keyboard layout -> American English
5)Configure the network : 等待
Hostname->保留默认设置
Domain name->保留默认设置
6)Set up users and passwords :
Root password
Full name for the new user->(此处我设置成eagle)
Username for your account->(我也设置为eagle因为在完成PA0之前没有看教学视频,名称会在之后改为自己的拼音yingyizhou)
Choose a password for the new user:
7)Configure the clock,等待
8)Partition disks :
Partitioning method:选择Guided->use entire disk
Select disk to partition->create
Partition scheme->All files in one partition
Overview->Finish partitioning and write changes to disk->continue
Write the changes to disk->Yes
9)Install the base system:等待
10)Configure the package manager:
Debian archive mirror country->不需要所以->Go back
Continue without a network mirror?->Yes
11)Select and install software:等待
Configuring popularity-contest: 保留默认设置
Software selection:select Standard system utilities
12)Install the GRUB boot loader on a hard disk
Install the GRUB boot loader to the master boot record?->Yes
Device for boot loader installation->/dev/sda
13)Finish the installation->continue
14)系统重启
1.2 First Exploration with GNU/Linux
Debian Login:
1)登录虚拟机,发现系统又重新进入Debian Install界面,于是又重新安装了一次,之后再去删除镜像文件。但是发现没有镜像文件之后虽然再次进入系统不会进入Install界面,但是1.3Installing More Tools的几项步骤就无法进行。于是我又把镜像文件恢复,在进行完成1.3实验相关步骤之后再将文件删除。
2)第二个神奇的错误是:
选择No,然后将相应的文件删除,再次启动Virtual Box