CEntOS (the community enterprise operating system) is based on RedHat distribution of Linux. The reputation of the stability makes it a first choice for enterprise grade server.
Here is some simple configuration before compiling and other installation.
Add EPEL repo
Check here for the latest
su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm'
Install Dev Tools
yum group install "Development Tools"
R and its friends