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
The easiest way is to use the new PCF Dev. This runs well on machines with at least 8GB of RAM. Download and start it as described in the documentation
After a few minutes you have a full working CF on your local machine having MySQL, Redis and RabbitMQ as marketplace services. Currently Apps Manager or Spring Cloud Services are missing but according to here these will be added in future releases as well.