issue153:tutoriel1
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
issue153:tutoriel1 [2020/02/05 08:36] – d52fr | issue153:tutoriel1 [2020/02/07 15:14] (Version actuelle) – d52fr | ||
---|---|---|---|
Ligne 3: | Ligne 3: | ||
Times have changed. Red Hat Linux was recently purchased by IBM for $34 billion. That is a lot of zeroes for a company that was built on an operating system that is freely available to anyone that wants it. Red Hat Linux will not be the focus of this article as it is more of an “Enterprise” operating system. Ubuntu Linux is a much better personal operating system, and I run it on my personal laptop. Ubuntu has become so popular and user friendly that Dell and Lenovo both offer systems with Ubuntu Linux pre-installed. For our purposes, the Ubuntu operating system is easy to download and install.** | Times have changed. Red Hat Linux was recently purchased by IBM for $34 billion. That is a lot of zeroes for a company that was built on an operating system that is freely available to anyone that wants it. Red Hat Linux will not be the focus of this article as it is more of an “Enterprise” operating system. Ubuntu Linux is a much better personal operating system, and I run it on my personal laptop. Ubuntu has become so popular and user friendly that Dell and Lenovo both offer systems with Ubuntu Linux pre-installed. For our purposes, the Ubuntu operating system is easy to download and install.** | ||
- | J' | + | J' |
- | Les temps ont changé. Red Hat Linux a été racheté il y a peu par IBM pour 34 millions | + | Les temps ont changé. Red Hat Linux a été racheté il y a peu par IBM pour 34 milliards |
**Back in my day (slight grin at my aging rhetoric), you would have to install Linux on to a physical computer to give it a try. You could dual boot with Windows but that can be a painful process for new users. You can try Ubuntu Linux out as a “Live” system without installing but the concept may be lost on people that are not as familiar with technology. The most painless approach is to install Linux on a virtual machine using VirtualBox. Like Ubuntu Linux, VirtualBox is easy to download and install. | **Back in my day (slight grin at my aging rhetoric), you would have to install Linux on to a physical computer to give it a try. You could dual boot with Windows but that can be a painful process for new users. You can try Ubuntu Linux out as a “Live” system without installing but the concept may be lost on people that are not as familiar with technology. The most painless approach is to install Linux on a virtual machine using VirtualBox. Like Ubuntu Linux, VirtualBox is easy to download and install. | ||
Ligne 11: | Ligne 11: | ||
Let’s get started!** | Let’s get started!** | ||
- | .À mon époque (léger sourire devant ma rhétorique vieillissante), | + | À mon époque (léger sourire devant ma rhétorique vieillissante), |
Allons-y ! | Allons-y ! | ||
Ligne 39: | Ligne 39: | ||
Téléchargez aussi le pack d' | Téléchargez aussi le pack d' | ||
- | Une fois VirtualBox téléchargé, | + | Une fois VirtualBox téléchargé, |
Quand VirtualBox est complètement installé, ouvrez le fichier « VirtualBox Extension Pack » (Pack des extensions de VirtualBox) que vous avez téléchargé et installez-le aussi. | Quand VirtualBox est complètement installé, ouvrez le fichier « VirtualBox Extension Pack » (Pack des extensions de VirtualBox) que vous avez téléchargé et installez-le aussi. | ||
Ligne 49: | Ligne 49: | ||
Open Powershell as an administrator. If you are not familiar with Powershell, it is a windows terminal program that you can find by clicking on your start menu button and typing “powershell.” When it appears in the menu, right-click on the icon and choose “Run as Administrator.”** | Open Powershell as an administrator. If you are not familiar with Powershell, it is a windows terminal program that you can find by clicking on your start menu button and typing “powershell.” When it appears in the menu, right-click on the icon and choose “Run as Administrator.”** | ||
- | À ce moment-là, vous pouvez tenter de créer votre première machine virtuelle mais vous pourriez vous retrouver avec le même problème que celui que j'ai eu sous Windows 10. Windows 10 a un paramètre appelé « Hypervisorlaunchtype ». ce paramètre obscur vous empêchera de pouvoir démarrer votre machine virtuelle sur VirtualBox. J'ai trouvé un message de blog de Zahid Anwar qui indique comment désactiver cette fonctionnalité. | + | Problème d'Hypervisorlaunchtype sur Windows 10 |
- | Ouvrez Powershell en tant qu' | + | À ce stade, vous pouvez tenter de créer votre première machine virtuelle mais vous pourriez vous retrouver avec le même problème que celui que j'ai eu sous Windows 10. Windows 10 a un paramètre appelé « Hypervisorlaunchtype ». Ce paramètre obscur vous empêchera de démarrer votre machine virtuelle sur VirtualBox. J'ai trouvé un message de blog de Zahid Anwar qui indique comment désactiver cette fonctionnalité. |
+ | |||
+ | Ouvrez Powershell en tant qu' | ||
**With Powershell open, type | **With Powershell open, type | ||
Ligne 65: | Ligne 67: | ||
After you have turned off hypervisorlaunchtype you will need to reboot your computer.** | After you have turned off hypervisorlaunchtype you will need to reboot your computer.** | ||
- | Powershell étant ouvert, tapez | + | Powershell étant ouvert, au prompt, tapez |
bsdedit | bsdedit | ||
- | au prompt | + | (montré à droite). |
La partie que j'ai encadré en rouge est ce que vous cherchez. Si c'est réglé sur « Auto », vous devrez lancer | La partie que j'ai encadré en rouge est ce que vous cherchez. Si c'est réglé sur « Auto », vous devrez lancer | ||
Ligne 91: | Ligne 93: | ||
Télécharger Ubuntu Linux | Télécharger Ubuntu Linux | ||
- | Avant que bnous créions | + | Avant de créer |
Allez sur https:// | Allez sur https:// | ||
Ligne 97: | Ligne 99: | ||
Dans la barre de navigation, cliquez sur Download (Télécharger). | Dans la barre de navigation, cliquez sur Download (Télécharger). | ||
- | Sous le titre Ubuntu Desktop, | + | Sous le titre Ubuntu Desktop, |
- | Un clic sur son bouton téléchargera la dernière image ISO. Ça prendra | + | Un clic sur son bouton téléchargera la dernière image ISO. Ça peut prendre |
**Create Your First Virtual Machine | **Create Your First Virtual Machine | ||
Ligne 110: | Ligne 112: | ||
If you type in “Ubuntu”, | If you type in “Ubuntu”, | ||
+ | |||
+ | Créez votre première machine virtuelle | ||
+ | |||
+ | Dans le panneau de droite au-dessus du titre « Bienvenue dans VirtualBox », vous avez cinq choix. Cliquez sur le bouton bleu « Nouvelle ». | ||
+ | |||
+ | Entrez un nom pour votre machine virtuelle. Ce peut être tout ce que vous voulez avec n' | ||
+ | |||
+ | Si vous tapez « Ubuntu », VirtualBox changera automatiquement le type pour « Linux » et la version en « Ubuntu (64-bit) ». Si vous utilisez un autre nom, assurez-vous de cliquer sur Type pour le modifier en « Linux » et sur Version pour la modifier en « Ubuntu (64-bit) ». | ||
**The next step is to choose how much memory you want your virtual machine to use. The recommended amount of 1024 MB is fine and can be changed later if you want to add more. | **The next step is to choose how much memory you want your virtual machine to use. The recommended amount of 1024 MB is fine and can be changed later if you want to add more. | ||
Ligne 118: | Ligne 128: | ||
The next page will ask for the type of hard disk. The default “VDI” is fine.** | The next page will ask for the type of hard disk. The default “VDI” is fine.** | ||
+ | |||
+ | L' | ||
+ | |||
+ | Ensuite, passons au disque de la machine virtuelle. Comme pour un ordinateur physique, une machine virtuelle a besoin d'un disque pour le stockage. | ||
+ | |||
+ | Cliquez sur « Créer » pour initier le processus de création du disque dur virtuel. | ||
+ | |||
+ | La page suivante vous demandera le type du disque dur. Le choix « VDI » par défaut est bien. | ||
**The next screen will ask if you want to use a “Dynamically allocated” or “Fixed size” disk. Dynamically allocated disks grow as you need them to grow. For instance, if you set the disk up with 80 GB of disk space but choose to dynamically allocate that disk space, VirtualBox will only use as much space as it needs until it hits 80 GB. On the other hand, fixed size will reserve the entire 80 GB from the beginning. The default dynamically allocated is fine and my preferred choice. | **The next screen will ask if you want to use a “Dynamically allocated” or “Fixed size” disk. Dynamically allocated disks grow as you need them to grow. For instance, if you set the disk up with 80 GB of disk space but choose to dynamically allocate that disk space, VirtualBox will only use as much space as it needs until it hits 80 GB. On the other hand, fixed size will reserve the entire 80 GB from the beginning. The default dynamically allocated is fine and my preferred choice. | ||
Next up is the size of the disk. You don’t need a lot of disk space to take Ubuntu Linux for a test drive. I allocated 60 GB of disk space because I plan on using my virtual machine for something that requires this. Keep in mind that you can always delete the virtual machine and recover back any disk space that it takes up.** | Next up is the size of the disk. You don’t need a lot of disk space to take Ubuntu Linux for a test drive. I allocated 60 GB of disk space because I plan on using my virtual machine for something that requires this. Keep in mind that you can always delete the virtual machine and recover back any disk space that it takes up.** | ||
+ | |||
+ | L' | ||
+ | |||
+ | Ensuite vient la taille du disque. Vous n'avez pas besoin de beaucoup d' | ||
**Once the disk is created you are returned to the VirtualBox main screen. Your new virtual machine should be highlighted. Click on the yellow “Settings” button in the right-hand panel. | **Once the disk is created you are returned to the VirtualBox main screen. Your new virtual machine should be highlighted. Click on the yellow “Settings” button in the right-hand panel. | ||
Ligne 128: | Ligne 150: | ||
Click on “System” in the left-hand panel. Click on the “Processor” tab. Move the processor toggle to the end of the green. In my case, this was four CPUs. This is not necessary but will give you a bit more processing power with your virtual machine.** | Click on “System” in the left-hand panel. Click on the “Processor” tab. Move the processor toggle to the end of the green. In my case, this was four CPUs. This is not necessary but will give you a bit more processing power with your virtual machine.** | ||
+ | |||
+ | Une fois le disque créé, vous revenez à l' | ||
+ | |||
+ | Nous allons faire quelques changements dans la machine virtuelle pour optimiser sa performance. Nous devons aussi dire à la machine virtuelle d' | ||
+ | |||
+ | Cliquez sur « Système » dans le panneau de gauche. Cliquez sur l' | ||
**Next click on “Display” in the left-hand panel. Move the “Video Memory” toggle all the way to the end. This will give you 128 MB of video memory. You won’t be doing any hardcore gaming with this setting but it gives a bit better video performance. | **Next click on “Display” in the left-hand panel. Move the “Video Memory” toggle all the way to the end. This will give you 128 MB of video memory. You won’t be doing any hardcore gaming with this setting but it gives a bit better video performance. | ||
Ligne 136: | Ligne 164: | ||
Note that my screenshot already shows “ubuntu-18.04.3-desktop-amd64.iso.” You will only see “Choose Virtual Optical Disk File…” when you click on this. Click on “Choose Virtual Optical Disk File…” and locate the Ubuntu Linux ISO image that we downloaded earlier.** | Note that my screenshot already shows “ubuntu-18.04.3-desktop-amd64.iso.” You will only see “Choose Virtual Optical Disk File…” when you click on this. Click on “Choose Virtual Optical Disk File…” and locate the Ubuntu Linux ISO image that we downloaded earlier.** | ||
+ | |||
+ | Ensuite, cliquez sur « Affichage » dans le panneau de gauche. Déplacez la réglette « Mémoire Vidéo » jusqu' | ||
+ | |||
+ | Cliquez sur « Stockage » dans le panneau de gauche puis cliquez sur l' | ||
+ | |||
+ | Dans la section des attributs, dans le panneau de droite, cliquez sur l' | ||
+ | |||
+ | Notez que ma copie d' | ||
**Where it said “Empty” before, it now shows the image we downloaded. | **Where it said “Empty” before, it now shows the image we downloaded. | ||
Ligne 146: | Ligne 182: | ||
The default settings for “Updates and other software” are fine. Since this is a virtual machine there is no need to install third-party software for graphics and wifi.** | The default settings for “Updates and other software” are fine. Since this is a virtual machine there is no need to install third-party software for graphics and wifi.** | ||
+ | |||
+ | Là où il y avait « Vide » avant, l' | ||
+ | |||
+ | Nous en avons fini avec la configuration et vous pouvez cliquer sur « OK ». | ||
+ | |||
+ | L' | ||
+ | |||
+ | Cliquez sur « Installer Ubuntu ». Sur l' | ||
+ | |||
+ | Les paramètres par défaut pour « Mises à jour et autres logicels » sont correctes. Comme il s'agit d'une machine virtuelle, il n'est pas nécessaire d' | ||
**We are not going to do any special partition and encryption and LVM (Logical Volume Manager) are probably overkill for a test drive so go ahead and click “Install Now.” | **We are not going to do any special partition and encryption and LVM (Logical Volume Manager) are probably overkill for a test drive so go ahead and click “Install Now.” | ||
Ligne 156: | Ligne 202: | ||
Finally the installation begins!** | Finally the installation begins!** | ||
+ | |||
+ | Nous ne ferons ni partition, ni chiffrage particuliers, | ||
+ | |||
+ | Vous verrez un avertissement sur l' | ||
+ | |||
+ | Ensuite, votre fuseau horaire. Vous pouvez cliquez sur votre emplacment sur la carte ou saisir un endroit dans la liste déroulante qui dit actuellement « New York ». | ||
+ | |||
+ | L' | ||
+ | |||
+ | Enfin, l' | ||
**The installation will take a few minutes. When it is finished you will see a message to restart. | **The installation will take a few minutes. When it is finished you will see a message to restart. | ||
Ligne 162: | Ligne 218: | ||
After reboot, you should be presented with the Ubuntu login screen.** | After reboot, you should be presented with the Ubuntu login screen.** | ||
+ | |||
+ | L' | ||
+ | |||
+ | Après avoir cliqué sur « Redémarrer maintenant », vous verrez un autre message pour retirer le disque et cliquer sur Entrée. Il n'y a aucun disque à retirer ; cliquez simplement sur Entrée. | ||
+ | |||
+ | Après redémarrage, | ||
**Initial Setup for Ubuntu Linux | **Initial Setup for Ubuntu Linux | ||
You now have Ubuntu Linux installed and you could take it for a test drive. The problem is that it is still a tiny screen on the VirtualBox emulation screen. This isn’t exactly optimal or appealing. We want to be able to experience Ubuntu in fullscreen, as if it is installed on our computer. To do this we need to install something called “Guest Additions.” | You now have Ubuntu Linux installed and you could take it for a test drive. The problem is that it is still a tiny screen on the VirtualBox emulation screen. This isn’t exactly optimal or appealing. We want to be able to experience Ubuntu in fullscreen, as if it is installed on our computer. To do this we need to install something called “Guest Additions.” | ||
+ | |||
Login to Ubuntu Linux with the password you setup previously. | Login to Ubuntu Linux with the password you setup previously. | ||
You will see an initial set of screens on first login. You can click through these screens. The only screen of interest is the screen asking if it is ok to send information back to Canonical, the creator and maintainer of Ubuntu Linux. I choose to send the information back with the thought that they are using the information to make Ubuntu better. Privacy hawks will jump all over me for this. The choice is yours.** | You will see an initial set of screens on first login. You can click through these screens. The only screen of interest is the screen asking if it is ok to send information back to Canonical, the creator and maintainer of Ubuntu Linux. I choose to send the information back with the thought that they are using the information to make Ubuntu better. Privacy hawks will jump all over me for this. The choice is yours.** | ||
+ | |||
+ | Paramétrage initial d' | ||
+ | |||
+ | Ubuntu Linux est maintenant installé et vous pouvez le tester une première fois. Le problème, c'est que c'est encore un petit écran sur l' | ||
+ | |||
+ | Identifiez-vous dans Ubuntu avec le mot de passe paramétré précédemment. | ||
+ | |||
+ | Vous verrez un ensemble initial d' | ||
**Most likely you will see a box that says that updated software is ready to be installed. Go ahead and install the update. | **Most likely you will see a box that says that updated software is ready to be installed. Go ahead and install the update. | ||
After the installation finishes you will be asked to reboot the system. Go ahead and reboot. | After the installation finishes you will be asked to reboot the system. Go ahead and reboot. | ||
+ | |||
We now need to install a package that is necessary to install Guest Additions. We need the terminal for this. Click on “Activities” in the upper left-hand corner and then type “terminal” in the search box. The only choice is the terminal program. Click on it to open the terminal. | We now need to install a package that is necessary to install Guest Additions. We need the terminal for this. Click on “Activities” in the upper left-hand corner and then type “terminal” in the search box. The only choice is the terminal program. Click on it to open the terminal. | ||
Ligne 180: | Ligne 252: | ||
You will be prompted for your password. Type in the same password you use to login to the system.** | You will be prompted for your password. Type in the same password you use to login to the system.** | ||
+ | |||
+ | Il est fort probable que vous verrez une fenêtre vous disant que des mises à jour du logiciel sont prêtes à être installées. Allez-y ; faites les mises à jour. | ||
+ | |||
+ | Après la fin de l' | ||
+ | |||
+ | Maintenant, nous devons installer un paquet qui est nécessaire pour l' | ||
+ | |||
+ | Au prompt, saisissez | ||
+ | |||
+ | sudo apt install build-essential | ||
+ | |||
+ | Vous serez invité à saisir votre mot de passe. Tapez le même mot de passe que pour votre identification initiale. | ||
**You can just hit enter when prompted with the Y/n question. | **You can just hit enter when prompted with the Y/n question. | ||
Ligne 192: | Ligne 276: | ||
You will need to restart Ubuntu for the changes to take effect. Click on the small down-arrow in the upper right-hand corner and click on the power button which is the button at the bottom on the right-hand side.** | You will need to restart Ubuntu for the changes to take effect. Click on the small down-arrow in the upper right-hand corner and click on the power button which is the button at the bottom on the right-hand side.** | ||
+ | |||
+ | Vous n'avez qu'à appuyer sur Entrée quand vous êtes sollicité par la question O/n. | ||
+ | |||
+ | Maintenant, cliquez sur « Périphériques » dans le menu de VirtualBox et choisissez « Insérer l' | ||
+ | |||
+ | Une fenêtre apparaîtra, | ||
+ | |||
+ | Votre mot de passe vous sera demandé. Saisissez-le et cliquez sur « Authentifier ». | ||
+ | |||
+ | Les Guest Additions s' | ||
+ | |||
+ | Vous devrez redémarrer Ubuntu pour que les changements prennent effet. Cliquez sur la petite flèche-vers-le-bas dans le coin en haut à droite et cliquez sur le bouton marche/ | ||
**Choose “Restart” from the options. | **Choose “Restart” from the options. | ||
Ligne 202: | Ligne 298: | ||
If you click on the square button next to the “x” you will be taken out of full-screen mode.** | If you click on the square button next to the “x” you will be taken out of full-screen mode.** | ||
+ | |||
+ | Choisissez « Redémarrer » dans les options. | ||
+ | |||
+ | Une fois que le système est relancé et que vous vous êtes identifié, agrandissez la fenêtre en cliquant sur le carré près de l'« x » dans le coin en haut à droite de la fenêtre. | ||
+ | |||
+ | Maintenant cliquez sur « Écran » dans le menu de VirtualBox et choisissez le mode « Plein écran ». | ||
+ | |||
+ | Si vous passez votre souris au centre en bas de l' | ||
+ | |||
+ | Si vous cliquez sur le bouton carré près du « x », vous sortirez du mode plein écran. | ||
**Conclusion | **Conclusion | ||
Ligne 208: | Ligne 314: | ||
If you are new to Linux I’d love to hear how your test drive went. If you are an experienced Linux user and have feedback or suggestions don’t hesitate.** | If you are new to Linux I’d love to hear how your test drive went. If you are an experienced Linux user and have feedback or suggestions don’t hesitate.** | ||
+ | |||
+ | Conclusion | ||
+ | |||
+ | Vous êtes maintenant prêt à faire un test complet d' | ||
+ | |||
+ | Si vous êtes nouveau dans Linux, je serai heureux d' | ||
issue153/tutoriel1.1580888197.txt.gz · Dernière modification : 2020/02/05 08:36 de d52fr