Just continue reading on the same installation page. Enabling and running as a service is explained there. Again on a clean WSL-Ubuntu 22.04, I used “Install a specific release of MongoDB” tab and installed version 4.4.25. All instructions ended up with a finely working instance for me with all the default configurations.

However, this “failed” message suggests to me that you have somehow broken configurations in your previous attempts. Unfortunately, this post is about how we “install” mongodb and it is best to keep it that way. Besides, we have many other posts here on the forums about how you can solve your current problem. I suggest making searches here on the forum first, try reading official documentations, and if you really feel hopeless then open a new post on the forum and at least mark my username starting with an “@” sign.

Alternatively, you can search on how to remove mongodb installation along with all configurations, and then start clean. Both methods need your own actions, so get ready to hands-on learn more troubleshooting methods.