Virtual Machine setting up

本文详细介绍了如何使用VmwarePlayer设置并连接Ubuntu虚拟机,包括下载虚拟机软件、配置USB设备以及共享文件夹等关键步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Virtual Machine setting up

1.      add new VM in Vmplayer withubuntu;

a)        download “Vmware Player”;

b)       download “ubuntu 10.10”.

2.      USB:

a)        setting -> usb -> choose “alwaysconnect”;

b)       play VM, 右下角sub “connect”.

3.      shared files:

a)        “Virtual Machine” -> “InstallVMtools”点两次,one for downloading,one for opening;

b)       Tap “Install VMtools”, cp “VMtoolsxxxxx” , sudo./xxxx.pl

mo@mo-virtual-machine:~$ mkdir ~/django_project && cd ~/django_project mo@mo-virtual-machine:~/django_project$ virtualenv -p /usr/bin/python3.6 venv Command 'virtualenv' not found, but can be installed with: sudo apt install virtualenv mo@mo-virtual-machine:~/django_project$ cd .. mo@mo-virtual-machine:~$ sudo apt install virtualenv [sudo] password for mo: Sorry, try again. [sudo] password for mo: Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: python3-virtualenv The following NEW packages will be installed: python3-virtualenv virtualenv 0 upgraded, 2 newly installed, 0 to remove and 339 not upgraded. Need to get 47.8 kB of archives. After this operation, 171 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 python3-virtualenv all 15.1.0+ds-1.1 [43.4 kB] Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 virtualenv all 15.1.0+ds-1.1 [4,476 B] Fetched 47.8 kB in 3s (15.4 kB/s) Selecting previously unselected package python3-virtualenv. (Reading database ... 167347 files and directories currently installed.) Preparing to unpack .../python3-virtualenv_15.1.0+ds-1.1_all.deb ... Unpacking python3-virtualenv (15.1.0+ds-1.1) ... Selecting previously unselected package virtualenv. Preparing to unpack .../virtualenv_15.1.0+ds-1.1_all.deb ... Unpacking virtualenv (15.1.0+ds-1.1) ... Setting up python3-virtualenv (15.1.0+ds-1.1) ... Setting up virtualenv (15.1.0+ds-1.1) ... Processing triggers for man-db (2.8.3-2) ... mo@mo-virtual-machine:~$ mkdir ~/django_project && cd ~/django_project mkdir: cannot create directory ‘/home/mo/django_project’: File exists mo@mo-virtual-machine:~$ virtualenv -p /usr/bin/python3.6 venv Running virtualenv with interpreter /usr/bin/python3.6 Using base prefix '/usr' New python executable in /home/mo/venv/bin/python3.6
03-25
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值