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,
- Go to https://www.chef.io/downloads/tools/infra-server/ and download the relevant infra server.
- Copy downloaded .deb file to your work folder.
- Open WSL2 and run the following command to install the chef infra server on WSL2
sudo dpkg -i chef-server-core-<version>.deb
- Run the below command to start all the Chef services.