`pwd’: No such file or directory – getcwd (Errno::ENOENT)

When you rename a subdirectory under the directory where your Linux or MacOS terminal is open you may get the error message /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/knife/cookbook_download.rb:45:in `pwd’: No such file or directory – getcwd (Errno::ENOENT) You need to refresh the directory cache of the terminal. Go one level higher cd .. Go back to the directory cd MY_DIRECTORY […]

Migrate a WordPress web site to DreamHost

DreamHost is one of the recommended WordPress hosting providers. The DreamHost website has an extensive knowledge base, but the necessary steps to move your live site from another provider are scattered over multiple pages at https://help.dreamhost.com/hc/en-us/articles/214693178-How-to-manually-migrate-WordPress-to-DreamHost. These steps will guide you through the streamlined migration process. At your old provider Create a site and database […]

Failed to complete #create action: [undefined method `version’ for nil:NilClass] on default…

When you execute kitchen converge to launch an EC2 instance in AWS with Chef Test Kitchen, you get the error message: >>>>> ——Exception——- >>>>>> Class: Kitchen::ActionFailed >>>>>> Message: 1 actions failed. >>>>>> Failed to complete #create action: [undefined method `version’ for nil:NilClass] on default-windows-2012r2 >>>>>> ———————- >>>>>> Please see .kitchen/logs/kitchen.log for more details >>>>>> Also […]

Vagrant installation

 Vagrant Installation Warning! The new versions of Vagrant delete the contents of the /opt/vagrant directory. If you want to keep old versions of Vagrant, first move them out of the /opt directory. Download Vagrant from https://www.vagrantup.com/ and follow the instructions to install it. Select DOWNLOAD… Select the operating system of your workstation. For Ubuntu: Debian RedHat: Centos […]

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 Press the Ctrl-Alt-F3 key combination Enter the username Enter the password […]

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, […]

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, […]

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. […]

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 […]