ubuntu安装虚拟机win10

首先扩大swap空间:参考http://askubuntu.com/questions/178712/how-to-increase-swap-space
1,Create empty file:

sudo dd if=/dev/zero of=/media/kylefan/swapfile.img bs=1024 count=1M

kylefan是用户名。
If you want to make 3Gb file then change count value to count=3M. See man dd for more information.

2,Bake swap file:

sudo mkswap /media/kylefan/swapfile.img

3, Bring up on boot:
To make sure that your new swap space is activated while booting up computer you should add it to filesystem configuration file /etc/fstab. Add it to end of file, this is recommended because other filesystems (at least one that contains swap file) must be mounted in read-write mode before we can access any files.

# Add this line to /etc/fstab
/media/kylefan/swapfile.img swap swap sw 0 0

4,Activate:
You can either reboot your computer or activate new swap file by hand with following command:

sudo swapon /media/kylefan/swapfile.img

5,reboot

6,If everything goes well:you should see that more swap space is available for use. You can use following commands to check your new swap and confirm that it is active:

cat /proc/swaps
  Filename                           Type       Size    Used    Priority
  /media/fasthdd/swapfile.img        file       8388604 2724    -1

grep 'Swap' /proc/meminfo
  SwapCached:         4772 kB
  SwapTotal:       8388604 kB
  SwapFree:        8355812 kB

1,https://my.vmware.com/group/vmware/details?downloadGroup=WKST-1250-LX&productId=524#product_downloads下载二进制bundle文件

2,sudo chmod +x VMware-Workstation-Full-12.5.0-4352439.x86_64.bundle

3,sudo ./VMware-Workstation-Full-12.5.0-4352439.x86_64.bundle

4,序列号:FZ5X2-DKYE2-H88TP-3DQZC-YYUG6

5,

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
安装Ubuntu 16.04虚拟机的步骤如下: 1. 首先,您需要安装一个虚拟化软件,比如VirtualBox。您可以从官方网站下载并安装VirtualBox软件\[1\]。 2. 下载Ubuntu 16.04的镜像文件。您可以从Ubuntu官方网站下载所需版本的镜像文件\[2\]。 3. 打开VirtualBox软件,点击“新建”按钮创建一个新的虚拟机。为虚拟机起一个名称,并选择操作系统类型为Linux,版本选择为Ubuntu(与您下载的镜像文件保持一致)\[3\]。 4. 为虚拟机分配内存。根据您的电脑系统内存大小,选择适当的内存大小。建议不要超过系统内存的一半。 5. 创建虚拟硬盘。选择“现在创建虚拟硬盘”,然后按照向导的指示进行操作。 6. 完成虚拟机的创建后,选择虚拟机并点击“设置”按钮。在设置中,选择“存储”选项卡,然后点击“控制器:IDE”下的“空”按钮,选择“虚拟光驱”,并选择之前下载的Ubuntu 16.04镜像文件。 7. 点击“启动”按钮启动虚拟机。按照屏幕上的指示进行Ubuntu安装过程。 请注意,这只是一个大致的步骤指南,具体的安装过程可能会因个人电脑的配置和软件版本而有所不同。建议您在安装过程中参考VirtualBox和Ubuntu的官方文档以获取更详细的指导。 #### 引用[.reference_title] - *1* *2* *3* [如何在win10安装ubuntu虚拟机-图文详细教程](https://blog.csdn.net/weiaipan1314/article/details/111186687)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值