1.对于Linux的理解
大多数人对于Linux的理解为操作系统,但是严格意义上讲它其实是一个系统内核。Linux这个词本身只表示Linux内核,但实际上人们已经习惯了用Linux来形容整个基于Linux内核,并且使用GUN工程各种工具和数据库的操作系统。
2.系统语言调整
Application -->System Tools —> Settings ----> Rejion&language —> Input source -->Chinese ---->Pinyin
3. Linux系统结构简介
Linux的系统结构是一个倒树型,最大的目录名称叫“/”(根目录),根目录下有各种二级目录,类似于一棵倒着的大树状。
4. Linux系统中的二级目录介绍
5.虚拟机打开方式及控制命令
(1). 鼠标右键—>点击Open Terminal
在下方界面进行相关命令操作
(2).常规操作
rht-vmchl start desktop ###开启虚拟机
bash: rht-vmchl: command not found...
rht-vmctl ==poweroff== desktop ###关闭虚拟机
Powering off desktop.
rht-vmctl view desktop ###显示
rht-vmctl ==reset== desktop ###虚拟机重置
Are you sure you want to reset desktop? (y/n) 输入 y
Powering off desktop..
Resetting desktop.
Creating virtual machine disk overlay for rh124-desktop-vda.qcow2
Creating virtual machine disk overlay for rh124-desktop-vdb.qcow2
Starting desktop.
(3).报错分析
参数错误
[kiosk@foundation21 ~]$ rht-vmctl stat desktp
This utility manages the Red Hat Training supplied VMs on the local
hypervisor.
Usage: rht-vmctl [-q|--quiet] VMCMD VMNAME [DATETIME]
rht-vmctl -h|--help
虚拟机名称错误
[kiosk@foundation21 ~]$ rht-vmctl start deskto
Error: unrecognized VMNAME specified, deskto.
命令错误
[kiosk@foundation21 ~]$ rht-vmct1 start desktop
bash: rht-vmct1: command not found...
虚拟机未运行
[kiosk@foundation21 ~]$ rht-vmctl view desktop
Error: unable to view desktop - not currently running
== 虚拟机正在运行==
[kiosk@foundation21 ~]$ rht-vmctl start desktop
Error: desktop not started (is already running)
(3).命令行提示符中字符的含义
例:[kiosk@foundation0 Desktop]$
字符 | 解释 |
---|---|
kiosk | 运行shell的用户是谁 |
@ | 分割符号 |
foundation0 | 主机短名称 |
Desktop | 所在当前主机的位置 |
$ | 身份提示符号,$表示普通用户 #表示超级用户 |