大连外贸网站建设/简短的营销软文范文
在安装之前我们要做如下准备:
- 下载VMware Workstation 软件,这里使用的版本是15.5
- 下载所安装操作系统的光盘印象文件
1.打开VMware Workstation 软件,选择文件中【新建虚拟机】选项
2.选择自定义,下一步
3.选择硬件兼容性(注意;当前版本不可兼容在该版本之前的版本),然后下一步
4.选择安装来源可选择【安装程序光盘映像文件所在的目录】,也可选择【稍后安装】,我们这里选择【稍后安装】。
5.选择安装的操作系统类型和版本号(这里的版本号要匹配光盘印象文件)
6.给虚拟机命名,并选择路径,最好不要选择C盘)
这里选择自定义硬件
7.使用之前下载好的ISO映像文件
8.开启虚拟机,等待
9.进入到该页面
10.选择languages support(这里选择默认的英文),选择Continue
11.回到上一个页面,选择Time&data,选择时区(选择Asia,Shanghai),点击Down
12.回到上一页面,选择INSTALLTION DESTINATION,选择自动分盘Automatic,选择Done
13.全部选择完毕后,点击Begin installation,然后等待
14.选择Root password 设置密码,若密码过于简单,需单击两次Done来完成设置
15回到上一页面,这里也可选择建立一个普通用户,也可不建立,之后建立
点击finish configuration,等待
16.点击Root,进入
点击License information,点击我同意
回到上一页面,点击user creation,创建一个新用户,点击两次done,然后点击finish configuration,进入
到达该页面后,点击Not listed(我们需要用root用户来操作)
输入root,并设置密码
进入后有类似于新手引导的页面,一直Next
点击start
点击activities,选择命令行
系统安装完成,之后最好做一个快照,为了后期如果虚拟机崩溃,我们可以回到系统刚刚安装完的状态。
上面已经实现了安装,下面是虚拟机SSH连接的部分,没有需求的就不需要看。
SSH连接
-
网络连接模式为nat模式
我们可以看到,第一次查看IP地址时,仅有环回地址,所以我们需先使用DHCP获取IP地址,然后再查看IP地址。第二次便出现了192.168.47.130的IP
然后我们打开MobaXterm软件,点击Start local terminal
输入命令(ssh ip 地址/ ssh 用户名@ip地址),使用远程连接工具连接服务器
连接成功
接下来关闭虚拟机,在该页面编辑虚拟机设置,在网络适配器中将网络连接改为桥接模式,依旧用之前的方法登陆虚拟机
-
网络连接方式为桥接模式
如果密码忘记了怎么办?
破解密码:
1.Reboot the system.
2.Interrupt the boot loader count down by pressing anykey.
3.Move the cursor to the entry that needs to be booted.
4.Press “e” to edit the select edentry.
5.Move the cursor to the kernel command line(the line that start swith linux16.
6.Append rd.break
7.Press Ctrl+x to start.
8.Remount /sysroot as read-write.
switch_root:/# mount -o remount,rw /sysroot
9.Switch into a chroot jail, where /sysroot is treated as the root of the filesystem tree
switch_root:/# chroot /sysroot
10.Set a new root password:
sh-4.2# passwd [root] (change the root password)
or
sh-4.2# passwd -d root (delete the root password)
11.Make sure that all unlabeled files (including/etc/shadow at this point)get relabeled during boot.
sh-4.2# touch /.autorelabel
12. sh-4.2# exit
13. switch_root:/# exit
破解root密码精简版:
1、重启虚拟机
2、在linux16末尾加上 rd.break,ctrl+x执行
3、mount -o remount,rw /sysroot
4、chroot /sysroot
5、passwd root
6、输入新密码:
7、确认密码
8、touch /.autorelabel
9、exit
10、exit