Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| docs:guide-developer:buildserver_virtualbox [2021/08/01 12:49] – split from docs:guide-user:additional-software:beginners-build-guide vgaetera | docs: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 | + | Download the newest VirtualBox (VDI) 64-bit Debian image (currently |
| 7zip can be downloaded from [[http:// | 7zip can be downloaded from [[http:// | ||
| 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" | * Delete the lines containing "deb cdrom" | ||
| - | * 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 http:// |
| - | deb-src http:// | + | deb-src http:// |
| * 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' | The automatic install does not seem to work, so it doesn' | ||
| <code bash> | <code bash> | ||
| - | sudo sh / | + | su - |
| - | sudo poweroff | + | sh / |
| + | </ | ||
| + | |||
| + | Finally, allow osboxes to use sudo (takes effect next time osboxes logs in). | ||
| + | |||
| + | <code bash> | ||
| + | adduser osboxes | ||
| </ | </ | ||
| 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 / | ||
| - | osboxes ALL=(ALL) ALL | ||
| - | EOF | ||
| - | </ | ||
| 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. | ||