Install Git on Macintosh
Navigate to https://git-scm.com/download/mac to download Git for the Macintosh. The page automatically downloads the installer for the operating system you use. This app is not trusted by Apple, so to install it Control-click (right-click) the…
How to duplicate a Windows server that is attached to the Windows Domain
When a Windows server is attached to a Domain only one instance of it can run at a time. To be able to duplicate the server and start a second instance of it Create an image of the server Remote into the server Make sure there is a local administrator…
Unable to insert the virtual optical disk in an Ubuntu virtual machine
When you try to install a new version of the VirtualBox Guest Addition on an Ubuntu virtual machine you may get the error message Unable to insert the virtual optical disk C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the machine Ubuntu…
Raw-mode is unavailable courtesy of Hyper-V error in VirtualBox
For VirtualBox to be able to start virtual machines, Hyper-V has to be turned off in Windows 10. If you get the error message when you try to launch a virtual machine in VirtualBox Raw-mode is unavailable courtesy of Hyper-V Check the Hyper-V setting…
Windows application installation error codes
To enable logging of .msi packages open a command prompt as an administrator and execute MY_APPLICATION.msi /l*vx install.log Error Code Explanation 2 ? 1603 Error message from the operating system dll can not register msi installation failed required…
Stop multiple untagged AWS EC2 instances with a Bash script
List all EC2 instances without a specific tag One day we have found 499 instances running in our account without any tags. Most likely someone accidentally started a process to launch those, so we needed a way to find them and stop them. Later we will…
“incompatible-network” error when launching an AWS RDS instance
When the AWS subnet has no enough IP addresses Terraform displays the following error message: * aws_db_instance.default: unexpected state ‘incompatible-network’, wanted target ‘available, storage-optimization’. last error:…
Docker commands to run popular images
Maven Navigate to the Maven project directory on your workstation and launch the Maven container. To run a Maven project by using the Maven Docker image directly, passing a Maven command to docker run. docker run -it --rm --name my-maven-project -v…
Set up a user to connect to a Linux server with a private-public key pair
To secure a Linux server, disable password authentication on it. This way only those users can connect to it, who have access to an authorized private key. To enable users to connect to a Linux server with a private-public key pair Generate an RSA key…
Install a ZIP web application package with Octopus Deploy
Install the Octopus Tentacle on the application server. Automated Tentacle installation instructions are at https://octopus.com/docs/infrastructure/windows-targets/automating-tentacle-installation (Note for our DevOps team: execute…