Ubuntu gets stuck in a login loop
When I rebooted my Ubuntu machine it started to repeatedly ask for the password. When I entered the correct password, the screen went black and asked for the password again. The problem was an error in the ~/.profile file. To log into the Ubuntu terminal…
DevOps Engineering part 1. (Ubuntu) – Install the DevOps development tools on Ubuntu
DevOps Software installation on Ubuntu There are multiple ways to install software on Ubuntu Install a .deb package from the local drive with dpkg Install the software from the internet with apt Show hidden files To be able to see hidden files in Files…
Configure the Ubuntu virtual machine in VirtualBox
Enable shared folders on the virtual machines To be able to use shared folders between the host ( your workstation ) and the virtual machine. Start the Ubuntu virtual machine in Virtual Box, Select the virtual machine window on your workstation, In…
Configure the Windows virtual machine in VirtualBox
Enable shared folders on the virtual machine To be able to use shared folders between the host ( your workstation ) and the Windows virtual machine. Start the Windows virtual machine in VirtualBox, Select the virtual machine window on your workstation,…
VirtualBox installation and configuration on Windows
Download Virtual Box from https://www.virtualbox.org/wiki/Downloads and follow the instructions to install it. At the time of writing this was the section where the installer files were referenced Run the downloaded installer file and accept all default…
VirtualBox installation and configuration on Macintosh
Download VirtualBox from https://www.virtualbox.org/wiki/Downloads and follow the instructions to install it. At the time of writing, this was the section where the installer files were referenced Run the downloaded installer file and accept all default…
CloudExceptions::CloudException – 400: VPCIdNotSpecified: No default VPC for this user
When you launch a new EC2 instance in the AWS cloud from the command line or with other cloud management platforms, you may get the error message: CloudExceptions::CloudException – 400: VPCIdNotSpecified: No default VPC for this user (RequestID:…
Create the AWS credentials file from a Chef Data Bag
When a process on a server instance needs access to an AWS account, the user who will execute the AWS CLI commands needs to be able to automatically authenticate in AWS. For automatic AWS authentication, the AWS CLI creates two files in the…
Debugging Chef Test Kitchen runs
If there is a configuration error in the Test Kitchen system, there are commands that can help you to get more information. Run the instance creation in debug mode kitchen create -l debug SUITE_NAME
Ruby Gem Management
Ruby gems are Ruby programs and libraries with a name, version and the platform that can execute them. List the installed gems on your system gem list Detailed list that includes the author, homepage, license, install location and a short description gem…