Thursday, June 30, 2022

Setting up Chef Infra server in Ubuntu 20.04 WSL2 in Windows 10/11

This blog explains how to configure chef infra server in WSL2 in Windows 10/11. 

Prerequisites:

  • WSL2 with Ubuntu 20.04 installed

Let's get started,

sudo dpkg -i chef-server-core-<version>.deb

  • Run the below command to start all the Chef services.

Monday, June 20, 2022

Resolve "System has not been booted with systemd as init system (PID 1). Can't operate" in WSL2 Ubuntu 20.04 distro

This blog explains how to fix the following error occurred when starting all the Chef services in Ubuntu 20.04 with WSL2 using "sudo chef-server-ctl reconfigure" command.

"System has not been booted with systemd as init system (PID 1). Can't operate"