![Page 1: MÀQUINA VIRTUAL › 2016 › 10 › linux-sobre-win… · afectar al nostre sistema operatiu arrel Es pot utilitzar el paral·lelament sense reiniciar per canviar de sistema Funciona](https://reader033.vdocuments.pub/reader033/viewer/2022060421/5f17d820895c444815495edf/html5/thumbnails/1.jpg)
1
MÀQUINA VIRTUALLINUX SOBRE WINDOWS O MAC
![Page 2: MÀQUINA VIRTUAL › 2016 › 10 › linux-sobre-win… · afectar al nostre sistema operatiu arrel Es pot utilitzar el paral·lelament sense reiniciar per canviar de sistema Funciona](https://reader033.vdocuments.pub/reader033/viewer/2022060421/5f17d820895c444815495edf/html5/thumbnails/2.jpg)
2
QUÈ ÉS?De forma sencilla, una màquina virtual consisteix en:
Tenir el sistema operatiu com si es tractés d'un programamésUtilitzar simultàniament el sistema operatiu normalWindows i el virtualitzat (Linux)
![Page 3: MÀQUINA VIRTUAL › 2016 › 10 › linux-sobre-win… · afectar al nostre sistema operatiu arrel Es pot utilitzar el paral·lelament sense reiniciar per canviar de sistema Funciona](https://reader033.vdocuments.pub/reader033/viewer/2022060421/5f17d820895c444815495edf/html5/thumbnails/3.jpg)
3
AVANTATGESNo s’ha de fer cap particióSi falla, molt poc probable, es pot esborrar fàcilment senseafectar al nostre sistema operatiu arrelEs pot utilitzar el paral·lelament sense reiniciar per canviarde sistemaFunciona exactament igual que si el tinguèssim amb dualbootNo s’han d’instal·lar els drivers
![Page 4: MÀQUINA VIRTUAL › 2016 › 10 › linux-sobre-win… · afectar al nostre sistema operatiu arrel Es pot utilitzar el paral·lelament sense reiniciar per canviar de sistema Funciona](https://reader033.vdocuments.pub/reader033/viewer/2022060421/5f17d820895c444815495edf/html5/thumbnails/4.jpg)
4
DESAVANTATGESNo pot utilitzar tota la capacitat de processament delhardware, ja que ha de compartir amb el sistemaDerivat de l'anterior, és més lent que un dual boot natiu
![Page 5: MÀQUINA VIRTUAL › 2016 › 10 › linux-sobre-win… · afectar al nostre sistema operatiu arrel Es pot utilitzar el paral·lelament sense reiniciar per canviar de sistema Funciona](https://reader033.vdocuments.pub/reader033/viewer/2022060421/5f17d820895c444815495edf/html5/thumbnails/5.jpg)
5
REQUISITSPuc fer servir una màquina virtual?
Mèmoria RAM de més o igual a 2GBProcessador modern, idealment amb virtualitzacióSu cient espai al disc, uns 20GB com a mínim
![Page 6: MÀQUINA VIRTUAL › 2016 › 10 › linux-sobre-win… · afectar al nostre sistema operatiu arrel Es pot utilitzar el paral·lelament sense reiniciar per canviar de sistema Funciona](https://reader033.vdocuments.pub/reader033/viewer/2022060421/5f17d820895c444815495edf/html5/thumbnails/6.jpg)
6
INSTAL·LACIÓ (I)Hi ha molts softwares per virtualitzar SO:
VirtualBox: VMWare Workstation Player:
https://www.virtualbox.org/wiki/Downloads
http://www.vmware.com/products/player/playerpro-evaluation.html
Farem servir VirtualBox per aquest tutorial
![Page 7: MÀQUINA VIRTUAL › 2016 › 10 › linux-sobre-win… · afectar al nostre sistema operatiu arrel Es pot utilitzar el paral·lelament sense reiniciar per canviar de sistema Funciona](https://reader033.vdocuments.pub/reader033/viewer/2022060421/5f17d820895c444815495edf/html5/thumbnails/7.jpg)
7
INSTAL·LACIÓ (II)Primer de tot, instal·lar el programa seguint els pasos. Al obrir
veureu:
Feu clic a nova.
![Page 8: MÀQUINA VIRTUAL › 2016 › 10 › linux-sobre-win… · afectar al nostre sistema operatiu arrel Es pot utilitzar el paral·lelament sense reiniciar per canviar de sistema Funciona](https://reader033.vdocuments.pub/reader033/viewer/2022060421/5f17d820895c444815495edf/html5/thumbnails/8.jpg)
8
INSTAL·LACIÓ (III)Omple la nova nestra com es veu a continuació (el nom pot
ser diferent)
Click següent.
![Page 9: MÀQUINA VIRTUAL › 2016 › 10 › linux-sobre-win… · afectar al nostre sistema operatiu arrel Es pot utilitzar el paral·lelament sense reiniciar per canviar de sistema Funciona](https://reader033.vdocuments.pub/reader033/viewer/2022060421/5f17d820895c444815495edf/html5/thumbnails/9.jpg)
9
INSTAL·LACIÓ (IV)Podeu triar la quantitat de RAM que cregueu adequada, però
recomenem com a mínim 1GB
Click següent.
![Page 10: MÀQUINA VIRTUAL › 2016 › 10 › linux-sobre-win… · afectar al nostre sistema operatiu arrel Es pot utilitzar el paral·lelament sense reiniciar per canviar de sistema Funciona](https://reader033.vdocuments.pub/reader033/viewer/2022060421/5f17d820895c444815495edf/html5/thumbnails/10.jpg)
10
INSTAL·LACIÓ (V)Escull ara l'opció de crear un nou disc virtual i en la següent
imatge tria VDI:
Click següent.
![Page 11: MÀQUINA VIRTUAL › 2016 › 10 › linux-sobre-win… · afectar al nostre sistema operatiu arrel Es pot utilitzar el paral·lelament sense reiniciar per canviar de sistema Funciona](https://reader033.vdocuments.pub/reader033/viewer/2022060421/5f17d820895c444815495edf/html5/thumbnails/11.jpg)
11
INSTAL·LACIÓ (VI)La mida, de nou, trieu-l'ho en consideració a l'espai que
tingueu disponible, però es recomana un mínim de 20GB. Totapunt!
![Page 12: MÀQUINA VIRTUAL › 2016 › 10 › linux-sobre-win… · afectar al nostre sistema operatiu arrel Es pot utilitzar el paral·lelament sense reiniciar per canviar de sistema Funciona](https://reader033.vdocuments.pub/reader033/viewer/2022060421/5f17d820895c444815495edf/html5/thumbnails/12.jpg)
12
INICIARFent doble click a la màquina virtual la podràs iniciar.
El primer cop us demanarà una imatge (.iso) del sistema quevulgueu instal·lar. Descarrega la imatge d'Ubuntu 16.04 del
següent enllaç (Desktop image 64-bit PC):http://releases.ubuntu.com/16.04/
La instal·lació és totàlment automàtica. Quan acabi, elsistema estarà llest per ser usat.
![Page 13: MÀQUINA VIRTUAL › 2016 › 10 › linux-sobre-win… · afectar al nostre sistema operatiu arrel Es pot utilitzar el paral·lelament sense reiniciar per canviar de sistema Funciona](https://reader033.vdocuments.pub/reader033/viewer/2022060421/5f17d820895c444815495edf/html5/thumbnails/13.jpg)
13
GUEST TOOLS (I)Si volem que realment la virtualització s'integri perfectament
amb el nostre sistema, cal instalar les Guest Tools:
1. A la pestanya Devices, seleccionem la última opció InsertGuest Additions
![Page 14: MÀQUINA VIRTUAL › 2016 › 10 › linux-sobre-win… · afectar al nostre sistema operatiu arrel Es pot utilitzar el paral·lelament sense reiniciar per canviar de sistema Funciona](https://reader033.vdocuments.pub/reader033/viewer/2022060421/5f17d820895c444815495edf/html5/thumbnails/14.jpg)
14
GUEST TOOLS (II)1. Obrim un terminal i escribim
sudo apt-get install dkms
[ENTER]
![Page 15: MÀQUINA VIRTUAL › 2016 › 10 › linux-sobre-win… · afectar al nostre sistema operatiu arrel Es pot utilitzar el paral·lelament sense reiniciar per canviar de sistema Funciona](https://reader033.vdocuments.pub/reader033/viewer/2022060421/5f17d820895c444815495edf/html5/thumbnails/15.jpg)
15
GUEST TOOLS (III)3.
cd /media/nomUsuari/VBOXADDITIONS
Substitueix nomUsuari pel teu nom d'usuari
4.
sudo ./VBoxLinuxAdditions.run
![Page 16: MÀQUINA VIRTUAL › 2016 › 10 › linux-sobre-win… · afectar al nostre sistema operatiu arrel Es pot utilitzar el paral·lelament sense reiniciar per canviar de sistema Funciona](https://reader033.vdocuments.pub/reader033/viewer/2022060421/5f17d820895c444815495edf/html5/thumbnails/16.jpg)
16
GUEST TOOLS (IV)Per tal de que els canvis facin efecte cal reiniciar la màquina
virtual
![Page 17: MÀQUINA VIRTUAL › 2016 › 10 › linux-sobre-win… · afectar al nostre sistema operatiu arrel Es pot utilitzar el paral·lelament sense reiniciar per canviar de sistema Funciona](https://reader033.vdocuments.pub/reader033/viewer/2022060421/5f17d820895c444815495edf/html5/thumbnails/17.jpg)
17
GUEST TOOLS (V)Per acabar i com a extra, si volem habilitar el copy-paste entre
la màquina virtual i el nostre SO:
Devices -> Shared Clippboard i a Devices ->Drag and Drop