Need help installing Nextcloud server on Ubuntu server from scratch

Hi I have a ThinkStaion p500 that I want to run Nextcloud on.
I will install the core software on a 256 GB ssd and I have 3 2TB and 1 4 TB drive that I’m running in a 10 Raid that I want to use to house all of my NextCloud data

This will be a public Cloud using one of my Domains from Hostgator. So I will also need to setup SSL

I already have it up running but it was Frankenstein together by following a bunch of different videos and doc online. I could not follow one person because they always left a step out or it was something different they did that I could not do or replicate. I said all of that to let whoever is willing to help me know I have some knowledge.

Any help will be much appreciated.