VMware 15 安装ubuntu 18.04的总结

换了新电脑,想安装了VMware12..0版本的,结果发现安装包和我现在的电脑并不匹配,所以下载了较新版本的vmware 15.5,网上找到对应版本的序列号注册,在安装完成后激活即可。

 从Linux公社的文章:Ubuntu 18.04.2 LTS 发布下载

 https://www.linuxidc.com/Linux/2019-02/156914.htm  

从中选取了下面这部分:

Ubuntu 18.04.2 LTS可以从releases.ubuntu.com下载。其他下载连接:

 ubuntu-18.04.2-desktop-amd64.iso (1,904MB, SHA256signaturetorrent),

 kubuntu-18.04.2-desktop-amd64.iso (1,835MB, SHA256signaturetorrent), 

lubuntu-18.04.2-desktop-amd64.iso (1,078MB, SHA256signaturetorrent),

 ubuntu-budgie-18.04.2-desktop-amd64.iso (1,581MB, SHA256signaturetorrent), 

ubuntukylin-18.04.2-desktop-amd64.iso (1,689MB, SHA256signaturetorrent), 

ubuntu-mate-18.04.2-desktop-amd64.iso (1,958MB, SHA256signaturetorrent), 

扫描二维码关注公众号,回复: 11540410 查看本文章

xubuntu-18.04.2-desktop-amd64.iso (1,407MB, SHA256signaturetorrent)。    

下载镜像后安装系统的步骤可以参考网上其他人写的,这样的文章非常多,在这里就不进行描述了,记录下面我遇到的几个问题以及解决的方法。

1、VMWare安装Ubuntu18时卡住,提示错误:

Started Network Manager Script Dispatcher Service

参考了博文的做法解决了,博文链接为:https://blog.csdn.net/weixin_45330572/article/details/104366190

 我就是在初次安装的时候讲虚拟机的网络断开,然后才完成了安装。刚开始以为是镜像的问题,我旧电脑使用的是ubuntu14.04版本的, 后来才下载了18.04版本的镜像,结果发现出现了类似的错误。在排查错误的时候,进入了BIOS模式查看是否电脑enable了虚拟机的设置,结果发现已经enable, 如果遇到安装失败的类似问题,可以往这个方向进行查找错误。

2、安装完成以后,发现系统的显示部分非常小,这时候我想修改分辨率,但是遇到了麻烦,因为屏幕显示不全,所以我没能通过设置调好分辨率,反而误打误撞将VMware Tool安装好了,结果分辨率自动就给我调节到合适了。

>参考了博文__两种方法在VMware中安装VMware Tools__:

https://blog.csdn.net/blessed_sy/article/details/81173746  

但是图片太模糊了,但是有使用Linux经验的小伙伴来说,就是解压,然后执行一个脚本而已,下面是解压的命令:

```

解压命令,解压格式为tar.gz 和 .tgz

解压:tar zxvf FileName.tar.gz

压缩:tar zcvf FileName.tar.gz DirName

```

3、接下来就是更改更新源,访问ubuntu官网的网速非常慢,所以要更改使用国内的源进行软件包的下载和安装,参考了下面这篇博文__ubuntu 手动更新源 以及使用sudo update与upgrade的作用及区别__:

https://www.cnblogs.com/xiaoliu66007/p/9322099.html  

 我直接将sources.list中的源全部替换成了阿里云的源:```
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
```

4、接着按照上面博文的操作,使用sudo apt-get update,进行更新,然后下载vim的时候,提示了一个错误:

>root@ubuntu:/etc/apt# apt-get install vim
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

  参考了推文__ubuntu 安装vim失败解决办法__:

>https://blog.csdn.net/shilei_c/article/details/53955566

  按照文中的加粗命令执行即可。

  一直以来使用CSDN解决了许多问题,但是从来没有发过博文,今天发布,一方面是为了记录整个过程,方便以后进行查找,另一个方面是在网络解决了许多问题,发表出来,希望可以帮助其他遇到了类似问题的朋友。

猜你喜欢

转载自blog.csdn.net/qq_38609565/article/details/105622014