Vagrant configuration for creating a developer Lubuntu VMware and VirtualBox image.
Build | Branch | Status |
---|---|---|
Lubuntu 20.04 Mini AMD64 [master] | Pre-built image available for download Has some issues! | |
Lubuntu 18.04 Alternate AMD64 | Pre-built image available for download |
- Minimal: Intel Core i5, 8 GB RAM, 128 GB SSD
- Recommended: Intel Core i7, 16 GB RAM, 256 GB SSD
- Enable Virtualization in your BIOS
- Make sure to turn OFF Hyper-V for Windows 10
- Click Windows 10 start button
- Goto "Programs and Features"
- Select "Turn Windows features on or off"
- Uncheck the check box labeled as "Hyper-V"
- Install at least one of the following Hypervisors
- VMWare Workstation Player (>=14)
- Virtual Box (>=6.1)
You can download the final Lubuntu Developer VM (64 Bit) image (Compressed ~2.3 GB / Uncompressed ~5.6 GB) here:
- fuin.org/vm
- *_vbx-*.zip = VirtualBox
- *_vmw-*.zip = VMware Workstation
- Numbering scheme: *-<lubuntu-version>-<code-version>-<build-number>
- lubuntu_dev_vmw-17.10.1-0-34.zip = Lubuntu 17.10.1 / Code version 0 / Build 34
- lubuntu_dev_vmw-18.4-0-6.zip = Lubuntu 18.04 / Code version 0 / Build 6
Unpack and start the VM with VirtualBox or VMWare and login to the machine with:
- User
developer
- Password
developer
Be aware that there is also another (root) user 'vagrant' (password 'vagrant'). You can remove it safely with:
sudo userdel vagrant
sudo rm -r /home/vagrant
You should change the passwords on first login.
- Snap (Software deployment and package management system)
- Featherpad (Text editor)
- Galculator (Calculator)
- Chromium (Browser)
- SdkMan! (Manage parallel versions of Java, Maven and other tools)
- File Roller (Archive Manager)
- Unzip (De-archiver for .zip files)
- git (VCS)
- git-flow (See Using git-flow to automate your git branching workflow)
- Docker CE
- Docker Compose
- kubectl (Kubernetes command line interface)
- MicroK8s (Zero-ops Kubernetes for workstations)
- Python 2.7 and pip
- AWS cli (Amazon AWS Command Line Interface)
- German keyboard
You can easily change this settings by editing the Vagrant file before building a new VM.
You can easily build the virtual machine on your local PC (bare metal).
Make sure that you have installed at least one of the following tools:
- VirtualBox
- VMware Workstation (Not free)
Also install:
- Vagrant
- vbguest plugin (Only necessary for Virtual Box)
- VMware provider (Only necessary for VMware - NOT FREE)
Checkout this repository or download and unzip the content to your hard disk. You can easily adjust all shell scripts and settings to your needs.
Execute the following commands in the root directory (where the 'Vagrantfile' is located).
To build a VirtualBox image:
vagrant up --provider virtualbox
To build a VMware image (Requires VMware provider):
vagrant up --provider vmware_workstation
After the installation finished, shut down the image:
vagrant halt
Start the new VM again with VirtualBox or VMWare and login to the machine with user 'developer' and password 'developer' (You should change the pw on first login).
See Jenkinsfile for an example how to build this project with Jenkins.
If you want to create a Virtual Box and a VMware image, you need to create two different directories with the content of this repository. There is currently a limitation of Vagrant that does not allow to do this with the same configuration / same build.
None
There are some issues with the virtual box VM that are not related to this project, but to VirtualBox itself.
- Display corrupted/garbled (See Bug #1766859)
- Change to TTY (Ctrl+Alt F1) and back (Ctr+Alt F7) is a workaround the problem
- Enable 3D acceleration for the VM
- Enhance the video memory for the VM to 128 MB
- Try changing the desktop resolution of the host OS (High resolutions bigger than 1920x1080 seem sometimes to cause the problem)
- If all doesn't help: Use VMware Player with other VMware VM
- Change screen resolution fails (stuck at 1024x768). It's not really clear when/why this happens - Things you can try:
- If the display is garbled (see above), most likely changing the screen resolution will also fail
- Enable 3D acceleration for the VM
- Change the video memory of the VM: Try different settings between 32 MB and 128 MB
- Try to toggle between full screen and non-full screen mode
- Shutdown VM in full screen mode (next start will then be in full screen mode)
- If all doesn't help: Use VMware Player with other VMware VM
Many thanks to Aaron who created this Vagrant configuration. You can hire him as a freelancer at upwork.com.