Install Jenkins Server Using War File
If you want to Install Jenkins Server Using the war file So it can be done using java command on the server. I have already installed Jenkins using the rpm package.
You will need to download the Jenkins.war file from the official site of Jenkins Download. It will take sometime to install the packages while installing there will be password visible So copy the password.
Check Out : Port Change
Command is java -jar jenkins.war
If you wanna specify the port You can use below command
java -jar jenkins.war –httpPort=8080
In the end, You will see this message, INFO: Jenkins is fully up and running
ps -ef | grep java
The Default Jenkins location will be ls -a .jenkins/
With the war the Jenkins folder hidden. So you will have to check at /root/.jenkins
From Now follow this link to Install Jenkins
Jenkins installed with port 8080
YouTube Link :