I know that CF is made for running on multiple cloud services for one unified view of an microservice app. However, I would like to install and run the cloud foundry on my CentO
To deploy CF on a single server for educational purposes you may want to try out deploying CloudFoundry using BOSH Lite as described in the docs. Your server should at least have 16GB of RAM.