Ubuntu should be okay as well as Centos. I personally installed on Ubuntu 18 and Centos 7 without any issues.