You can install Jenkins using the rpm or by setting up the repo. Set up the repo is easy because update can be done easily in the future.
yum -y install wget
wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
yum -y install jenkins
service jenkins start
By default jenkins runs at port 8080
, You can access jenkins at
http://YOUR-SERVER-PUBLIC-IP:8080