Ref: [1]
Installing Prerequisite
1 | sudo add-apt-repository ppa:webupd8team/java |
Installing Jenkins
1 | wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - |
We know that Jenkins is running, let’s check whether Jenkins is already listening on port 8080:
sudo netstat -naptu | grep LISTEN | grep 8080
Installing Nginx
1 | sudo apt-get -y install nginx |