The gMan nixWiki

Because the mind is made of Teflon...

User Tools

Site Tools


general_cli

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
general_cli [2020/09/06 19:05] – [VirtualBox on Debian 11] gmangeneral_cli [2020/09/11 18:00] (current) – [check deb] gman
Line 3: Line 3:
  
 ===== check deb ===== ===== check deb =====
 +
 +** Change: "check distro" -- put in how to check kali in /etc/??? **
  
 Check which Debian install you have:  Check which Debian install you have: 
Line 44: Line 46:
 ---- ----
  
-===== VirtualBox on Debian 11 ===== 
  
-**How to Install VirtualBox on Debian 11 (Bullseye)** 
- 
-Several of these steps require you to be root or have root permissions. So, either ''su -'' to become root (and then ''exit'' when we're all finished) or preface all the required commands with ''sudo''. I prefer ''su -'' so that's what follows (and, yes, that [[https://www.tecmint.com/difference-between-su-and-su-commands-in-linux/|space and the hyphen]] are going to be necessary because we are going to want all of root, including his path, not just his superman powers to break things).  
- 
-Make sure you have the required packages installed :  
- 
-<code>apt install build-essential linux-headers-amd64</code> 
- 
-Find a happy, safe place to put your new file:  
- 
-<code>cd ~/Downloads/</code> 
- 
-Open a browser and go to: [[https://www.virtualbox.org/wiki/Linux_Downloads|virtualbox.org/wiki/Linux_Downloads]] 
- 
-Right-click on "All distributions" at the bottom of the VirtualBox for Linux files. This is a script file (so it's just text; if you click on it, your browser will open it up for you to read). If you want to just download it, right-click and save to root's Download directory. Or, if you wanna be cool and use the command line, make sure you are in the Download directory and use wget (make sure you pull the filename from the "All distributions" link mentioned above):  
- 
-<code>wget -v https://download.virtualbox.org/virtualbox/6.1.14/VirtualBox-6.1.14-140239-Linux_amd64.run</code> 
- 
-You need to execute that file so change the perms (type a few of the beginning letters of the filename and hit the tab key): 
- 
-<code>chmod 755 VirtualBox-6.1.14-140239-Linux_amd64.run</code> 
- 
-Run that script file:  
- 
-<code>./VirtualBox[tab]</code> 
- 
-If all went well you should see a message saying, "Virtualbox has been installed successfully." Now we want the extension pack... Go here and click into the version number you just downloaded (e.g., 6.1.14; it should be almost at the bottoms since it should be the newest version):  
-  * [[https://download.virtualbox.org/virtualbox/]] 
- 
-That takes us to:  
-  * [[https://download.virtualbox.org/virtualbox/6.1.14/]] 
- 
-Find the Extension Pack file that bears the same version number of the .run file you downloaded above. NOTE: You may have a -##### number suffix after your version number (like above: **6.1.14-140239**). If there is an Extention Pack file that matches that full version number, right click it and save it to your Downloads subdir. If not, just grab the one with the standard version number. The file to download for the above version number is [[https://download.virtualbox.org/virtualbox/6.1.14/Oracle_VM_VirtualBox_Extension_Pack-6.1.14-140239.vbox-extpack|linked here]] or you can use wget again (since we like command line stuff):  
- 
-<code>wget -v https://download.virtualbox.org/virtualbox/6.1.14/Oracle_VM_VirtualBox_Extension_Pack-6.1.14-140239.vbox-extpack</code> 
- 
-Install that Extension Pack (replace the filename below with the one you downloaded):  
- 
-<code>VBoxManage extpack install --replace Oracle_VM_VirtualBox_Extension_Pack-6.1.14-140239.vbox-extpack</code> 
- 
-If all went well you should get a happy message saying, "Successfully installed..." 
- 
-Now we just need to add users (regular users, not root) to the vboxusers group:  
- 
-<code> 
-cat /etc/group | grep vbox  ## this will show you the group name 
-usermod -a -G vboxusers [username]  ## plug in whatever username you want 
-</code> 
- 
-Reboot and you should be good to go. 
- 
----- 
general_cli.1599419111.txt.gz · Last modified: by gman