Articles → LINUX → Install Jenkins On Linux Machine
Install Jenkins On Linux Machine
Steps
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.keyyum install jenkins
Go to the Connection → SSH → Tunnels.Enter the source port as 8080 and Destination as 127.0.0.1:8080 and click on the Add button.
Finally click on the Open button to connect to the server.A screen will appear to enter the username and password.Now, you can open the following URL. A page will appear to enter the administrator password.
To get the password, you have to execute the following command.cat /var/lib/jenkins/secrets/initialAdminPassword
Paste the password and click on the Continue button.Another screen will appear where you can click on the Install Suggested Plugins button.
All plugins are installed.
Another screen will appear where you can create the admin user. Enter the details and click on the Save and Continue button.
Another screen will appear to configure the instance configuration. Click on the Save and Finish button.
| Posted By - | Karan Gupta |
| |
| Posted On - | Thursday, November 19, 2020 |