Differences

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

Link to this comparison view

Next revision
Previous revision
docs:guide-developer:buildserver_virtualbox [2021/08/01 12:49] – split from docs:guide-user:additional-software:beginners-build-guide vgaeteradocs:guide-developer:buildserver_virtualbox [2023/05/16 21:59] (current) – Update to Bullseye diederik
Line 1: Line 1:
 ===== Setting up a build server in VirtualBox ===== ===== Setting up a build server in VirtualBox =====
-You are required to have a 64-bit OS and at least 8 GB free disk space. 
 The OpenWrt build server will run on a Debian VM in VirtualBox. The OpenWrt build server will run on a Debian VM in VirtualBox.
 +You are required to have a 64-bit OS and at least 8 GB free disk space.
  
 ===== Instructions ===== ===== Instructions =====
Line 9: Line 9:
  
 ==== 2. Get a Debian image ==== ==== 2. Get a Debian image ====
-Download the newest VirtualBox (VDI) 64-bit Debian image (currently 9.3) from [[http://www.osboxes.org/debian/|osboxes.org]] and unpack it using 7zip.+Download the newest VirtualBox (VDI) 64-bit Debian image (currently 11 Bullseye) from [[http://www.osboxes.org/debian/|osboxes.org]] and unpack it using 7zip.
 7zip can be downloaded from [[http://www.7-zip.org/|7-zip.org]]. 7zip can be downloaded from [[http://www.7-zip.org/|7-zip.org]].
  
Line 57: Line 57:
 You are now editing the list of servers to get updates from. You are now editing the list of servers to get updates from.
   * Delete the lines containing "deb cdrom". Lines can be deleted with ctrl-k.   * Delete the lines containing "deb cdrom". Lines can be deleted with ctrl-k.
-  * From the last two lines, remove the leading # and space, and the -updates after stretch. They should now look like this:+  * From the last two lines, remove the leading # and space, and the -updates after bullseye. They should now look like this:
  
-  deb http://deb.debian.org/debian/ stretch main contrib +  deb http://deb.debian.org/debian/ bullseye main contrib 
-  deb-src http://deb.debian.org/debian/ stretch main contrib+  deb-src http://deb.debian.org/debian/ bullseye main contrib
  
   * Type ctrl-x and then y and then enter to save and exit.   * Type ctrl-x and then y and then enter to save and exit.
Line 73: Line 73:
  
 Log in and open the terminal again when it has rebooted. Log in and open the terminal again when it has rebooted.
 +
 Click Devices (top line), select the last option (Install Guest Additions). Click Devices (top line), select the last option (Install Guest Additions).
 The automatic install does not seem to work, so it doesn't matter if you select cancel or run. The automatic install does not seem to work, so it doesn't matter if you select cancel or run.
  
 <code bash> <code bash>
-sudo sh /media/cdrom/VBoxLinuxAdditions.run +su - 
-sudo poweroff+sh /media/cdrom/VBoxLinuxAdditions.run 
 +</code> 
 + 
 +Finally, allow osboxes to use sudo (takes effect next time osboxes logs in). 
 + 
 +<code bash> 
 +adduser osboxes sudo
 </code> </code>
  
 After this you will need to start the server again. After this you will need to start the server again.
 +
 Now you can change to a higher resolution so you get a larger window if you like: Now you can change to a higher resolution so you get a larger window if you like:
   - Click Activities, type disp in the search field.   - Click Activities, type disp in the search field.
   - Click Displays, VBX   - Click Displays, VBX
   - Select a different resolution   - Select a different resolution
- 
-And lastly (hopefully you can cut and paste now). 
-Note that cut and paste only works for text without any kind of formatting. 
-You may need to copy the text to notepad and then copy it from there to clean it up. 
- 
-<code bash> 
-sudo adduser osboxes sudo 
-sudo tee -a /etc/sudoers << EOF > /dev/null 
-osboxes ALL=(ALL) ALL 
-EOF 
-</code> 
  
 Your virtual Debian server should now be set up correctly for following the rest of the guide. Your virtual Debian server should now be set up correctly for following the rest of the guide.
  • Last modified: 2021/08/01 12:49
  • by vgaetera