I have worked with Magento since 2009. Installing Magento has always had its quirks, primarily because the web stack for it continually evolves. This means that any installation guide you find online will likely need to be adjusted over time. However, there are some common steps and useful tips that remain relevant, which I will share in this article.
The setup described below is intended for a development environment. Therefore, I use weak passwords, localhost, and do not mention compilation or Varnish.