nginx – Missing standard commands in AWS linux 2023

I need to install AWS linux 2023 on WSL2 on my laptop to run nginx. I have ok familiarity with linux, but AWS linux is new to me, so I followed instructions from here and it seemed to install ok.

But after installing nginx, I want to verify, so I was tried to verify it using:

sudo systemctl status nginx

but that returned:

System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

Then tried to get my image IP using:

ip addr

but that command was missing as well. I was able to install ifconfig using net-tools, but ip command is still missing. Looks like I missed some steps? Can someone help?

Read more here: Source link