Restore Windows Server 2012 R2 from backup
Windows Server contains the Windows Backup functionality. It can create full backups of your server that contain all volumes. With the bare metal recovery, you are able to fully restore the server even if the hard disks fail, after a virus attack, or…
`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…
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…
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…
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…