0569.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Debian 11 Install Guide Using VirtualBox</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Linux,Virtualbox,Virtual Machine,VM,Debian,Bullseye,Debian 11,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Debian 11 Install Guide Using VirtualBox">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="03/29/2022 07:20:05 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>Debian 11 Install Guide Using VirtualBox</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <ol>
  26. <li>Download Debian 11 <a href="https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/" target="_blank">Download</a></li>
  27. <li>Launch Virtualbox</li>
  28. <li>Create a New VM by selecting Machine &gt; New
  29. <p>Name: Debian 11<br />
  30. Machine Folder: C:\VMs<br />
  31. Type: Linux<br />
  32. Version: Debian (64-bit)<br />
  33. Memory Size: 4096 MB<br />
  34. Hard disk: Create a virtual hard disk now</p>
  35. </li>
  36. <li>Click Create</li>
  37. <li>On the Create Virtual Hard Disk dialog
  38. <p>Name the virtual disk image Debian 11.vdi<br />
  39. File size: 30 GB<br />
  40. Hard disk file type: VDI<br />
  41. Storage on physical hard disk: Dynamically Allocated</p>
  42. </li>
  43. <li>Click Create</li>
  44. <li>Select the VM and Click Settings</li>
  45. <li>Select System &gt; Processor</li>
  46. <li>Give the VM at least 2 processors</li>
  47. <li>Select Display</li>
  48. <li>Slide the Video Memory to 128 MB</li>
  49. <li>Select Network</li>
  50. <li>Set the attached to dropdown to Bridged Adapter</li>
  51. <li>Select Storage</li>
  52. <li>Click on the CD-ROM drive</li>
  53. <li>Select the disc dropdown to the right &gt; Choose a virtual optical disc file...</li>
  54. <li>Browse to and select the downloaded Debian 11 .iso file</li>
  55. <li>Click OK</li>
  56. <li>Make sure the Debian 11 VM is selected and click Start &gt; Normal</li>
  57. <li>When the install dialog displays press Enter to select Graphical Install</li>
  58. <li>Select a language &gt; Click Continue</li>
  59. <li>Select a Location &gt; Click Continue</li>
  60. <li>Select a keyboard layout &gt; Click Continue</li>
  61. <li>Enter a hostname for the VM &gt; Click Continue</li>
  62. <li>Enter a Domain name or leave it empty &gt; Click Continue</li>
  63. <li>Enter and confirm a root password &gt; Click Continue</li>
  64. <li>Enter the full name for the new user &gt; Click Continue</li>
  65. <li>Enter the username for the new user &gt; Click Continue</li>
  66. <li>Enter and confirm a password for the new user &gt; Click Continue</li>
  67. <li>Select a timezone &gt; Click Continue</li>
  68. <li>Select Guided - user entire disk &gt; Click Continue</li>
  69. <li>Select the VBOX HARDDISK &gt; Click Continue</li>
  70. <li>Select All files in one partition &gt; Click Continue</li>
  71. <li>Select Finish partitioning and write changes to disk &gt; Click Continue</li>
  72. <li>Select Yes to confirm writing the changes &gt; Click Continue</li>
  73. <li>Wait for Debian to copy and install files</li>
  74. <li>When prompted, select Yes to enable a network apt mirror &gt; Click Continue</li>
  75. <li>Select a country to use for the apt mirror &gt; Click Continue</li>
  76. <li>Select a mirror from the list &gt; Click Continue</li>
  77. <li>Setup a HTTP proxy if necessary &gt; Click Continue</li>
  78. <li>Select No to participating in package survey &gt; Click Continue</li>
  79. <li>Select the software to install &gt; Click Continue</li>
  80. <li>Select Yes to install GRUB &gt; Click Continue</li>
  81. <li>Select /dev/sda for the boot loader location &gt; Click Continue</li>
  82. <li>After the bootloader is installed select reboot to finish the installation</li>
  83. <li>Welcome to Debian 11</li>
  84. </ol>
  85. <h2>Optional Steps</h2>
  86. <ol>
  87. <li>Click the Applications button &gt; Search &quot;terminal&quot; &gt; Click Terminal</li>
  88. <li>Run the following commands to install updates
  89. <div class="codeBlock"># authenticate as root, using the root password set earlier<br />
  90. su -<br />
  91. # add the normal user to sudo group, replace i12bretro with your user name<br />
  92. usermod -aG sudo i12bretro<br />
  93. # exit out of root terminal<br />
  94. exit<br />
  95. # re-authenticate with regular user (you may need to reboot if this doesn&#39;t take effect)<br />
  96. su $USER<br />
  97. # edit apt sources.list file<br />
  98. sudo apt /etc/apt/sources.list</div>
  99. </li>
  100. <li>Comment out the deb cd-rom: repositories by adding a # to the beginning of the line</li>
  101. <li>Press CTRL+O, Enter, CTRL+X to write the changes to sources.list</li>
  102. <li>Select Devices &gt; Insert Guest Additions CD image...</li>
  103. <li>Open the Files application &gt; Select the Guest Additions Disc &gt; Right click in the white space &gt; Open terminal here</li>
  104. <li>In the Terminal window run the following commands
  105. <div class="codeBlock"># update software repositories<br />
  106. sudo apt update<br />
  107. # install available software updates<br />
  108. sudo apt upgrade -y<br />
  109. # clean apt cache<br />
  110. sudo apt clean<br />
  111. # install prerequisites<br />
  112. sudo apt-get install build-essential dkms linux-headers-$(uname -r)<br />
  113. # run the virtualbox guest additions installer<br />
  114. sudo sh ./VBoxLinuxAdditions.run<br />
  115. # restart the VM<br />
  116. sudo reboot</div>
  117. </li>
  118. <li>The VM will reboot</li>
  119. <li>Upon rebooting, you can now full screen the VM and the internal resolution will automatically change to match the window size</li>
  120. <li>Log back into Debian</li>
  121. </ol>
  122. </div>
  123. </div>
  124. </body>
  125. </html>