Do it the right way.
Use a RH derivative such as centos or OL and use Apache not nginx first.
Once you have the skills to use Apache, then do the same with nginx and understand the differences....