0157.html 4.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Running an Amazon Linux (AL2) VM in VirtualBox</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Hypervisor,Home Lab Ideas,Home Lab,Install Guide,Self-Hosted,AL2,Amaonz Linux 2,How To Install Amazon Linux On Proxmox,How To Run Amazon Linux On Proxmox VE,Linux,Amazon Linux,Virtualization,Virtual Machine,VM,Virtual Box,VirtualBox,Oracle VirtualBox,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Running an Amazon Linux (AL2) VM in VirtualBox">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="11/17/2024 09:51:03 AM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Running an Amazon Linux (AL2) VM in VirtualBox</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is Amazon Linux?</h2>
  26. <blockquote><em>Amazon Linux 2 is a Linux operating system from Amazon Web Services (AWS). It provides a security-focused, stable, and high-performance execution environment to develop and run cloud applications. -<a href="https://aws.amazon.com/amazon-linux-2" target="_blank">https://aws.amazon.com/amazon-linux-2</a></em></blockquote>
  27. <h2>Preparation</h2>
  28. <ol>
  29. <li><label for="cb_li_104833_12">Install 7-Zip if it is not already installed </label><label for="cb_li_104833_12"><a href="https://www.7-zip.org/download.html" target="_blank">Download</a></label></li>
  30. <li>Download ImgBurn <a href="https://download.imgburn.com/SetupImgBurn_2.5.8.0.exe" target="_blank">Download</a></li>
  31. <li>Download the Amazon Linux virtual disk image (.vdi) <a href="https://cdn.amazonlinux.com/os-images/latest/virtualbox/" target="_blank">Download</a></li>
  32. <li>Download the sample Amazon Linux cloud init (seed.iso) <a href="https://cdn.amazonlinux.com/os-images/latest/seed.iso" target="_blank">Download</a></li>
  33. <li>Extract the downloaded seed.iso file with 7-Zip</li>
  34. <li>Edit meta-data in a text editor</li>
  35. <li>Update local-hostname as needed &gt; Save the changes &gt; Close </li>
  36. <li>Edit user-data in a text editor</li>
  37. <li>Update as needed to create users in the VM &gt; Save the changes &gt; Close</li>
  38. <li>Extract the downloaded ImgBurn .exe file with 7-Zip</li>
  39. <li>Launch ImgBurn.exe inside the extracted folder</li>
  40. <li>Select Build mode from the main menu</li>
  41. <li>Click Browse for a file &gt; Browse to and select the updated meta-data and user-data files edited earlier &gt; Click Open</li>
  42. <li>At the top right of the window, select the Options tab</li>
  43. <li>Set the File System to ISO9660 + Joliet</li>
  44. <li>Select the Labels tab</li>
  45. <li>Set the two labels to cidata</li>
  46. <li>Click the browse icon next to the destination folder</li>
  47. <li>Browse to the downloads location and name the file updated-seed.iso &gt; Click Save</li>
  48. <li>Click the large icon at the bottom left of the window to build the iso</li>
  49. </ol>
  50. <h2>Creating the VM</h2>
  51. <ol>
  52. <li>Launch VirtualBox Manager</li>
  53. <li>Create a New VM by selecting Machine &gt; New
  54. <p>Name: Amazon Linux<br />
  55. Folder: C:\VMs<br />
  56. ISO Image: &lt;not selected&gt;<not selected="selected"><br />
  57. Type: Linux<br />
  58. Version: Other Linux (64-bit)<br />
  59. Base Memory: 2048 MB (or more)<br />
  60. Processors: 1 (or more)<br />
  61. Hard disk: Do Not Add a Virtual Hard Disk</not></p>
  62. </li>
  63. <li>Click Finish</li>
  64. <li>Right click the VM &gt; Show in Explorer</li>
  65. <li>Copy the downloaded .vdi file and the updated-seed.iso files inside the VM folder</li>
  66. <li>Back in VirtualBox Manager, select the VM and Click Settings</li>
  67. <li>Select Storage</li>
  68. <li>Click the Add hard disk icon &gt; Browse to and select the Amazon Linux .vdi downloaded earlier</li>
  69. <li>Click the Add optical disc icon &gt; Browse to and select the updated-seed.iso file created earlier</li>
  70. <li>Select Network</li>
  71. <li>Set the attached to dropdown to Bridged Adapter</li>
  72. <li>Click OK</li>
  73. <li>Make sure the Amazon Linux VM is selected and click Start &gt; Normal</li>
  74. <li>Once the boot process completes, login using the credentials created in user-data</li>
  75. <li>Welcome to Amazon Linux</li>
  76. </ol> </div>
  77. </div>
  78. </body>
  79. </html>