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 Press the Ctrl-Alt-F3 key combination Enter the username Enter the password …
Category Archives: DevOps
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 Start Files, In the Edit menu select Preferences, On the Views tab check …
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 the Devices menu of Virtual Box select Insert Guest Additions CD image… Click the Run button, …
Continue reading “Configure the Ubuntu virtual machine in VirtualBox”
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, In the Devices menu of VirtualBox select Insert Guest Additions CD image… In the virtual machine start Windows Explorer, …
Continue reading “Configure the Windows virtual machine in VirtualBox”
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 values. The installer starts the Virtual Box application.You can close it, we will use other tools to start it in the future. …
Continue reading “VirtualBox installation and configuration on Windows”
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 values. The installer starts the application. Create a virtual machine To create a new virtual machine Download the OS image from the …
Continue reading “VirtualBox installation and configuration on Macintosh”
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: …) This can happen when the specified Subnet Id is not a valid subnet in the selected …
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 .aws directory: config and credentials. The location of this directory depends on the …
Continue reading “Create the AWS credentials file from a Chef Data Bag”
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 list -d Install the latest version of the gem gem install GEM_NAME Install a …