Cicd documentation layout


Method-2: Step:1 Download & Install Jenkins



Download 6.25 Mb.
Page9/39
Date15.06.2023
Size6.25 Mb.
#61535
1   ...   5   6   7   8   9   10   11   12   ...   39
CIcd
Method-2:
Step:1 Download & Install Jenkins
Download Jenkins RPM file from Jenkins official website. The below rpm file will download
[root@cicdapi opt] # wget rpm -ivh https//:jenkins-2.150.3-1.1.noarch.rpm
Run the below command to install Jenkins rpm file.
[root@cicdapi opt] # rpm -ivh Jenkins-2.150.3-1.1.noarch.rpm
Step:2 Start and Enable Jenkins Service
Run the following systemctl commands to start and enable the Jenkins service
[root@cicdapi opt]# systemctl start jenkins
[root@cicdapi opt]# systemctl enable jenkins
Step:3 Setting up Jenkins As A Service
Run below commands to Auto restart Jenkins at the time of VM restart
[root@cicdapi opt]$ sudo chkconfig jenkins on
[root@cicdapi opt]$ sudo service jenkins start
For RPM File Run below commands:
[root@cicdapi opt]$ sudo chkconfig –level 345 jenkins on
[root@cicdapi opt]$ chkconfig jenkins on
Step:4 Access the Jenkins Web portal
Access the URL : http://:8080

Admin password is created and stored in the log file “/var/log/jenkins/jenkins.log“. Run the below command to get the password.
[root@cicdapi opt]# cat /var/lib/jenkins/secrets/initialAdminPassword
Copy the password and paste it in above windows and click on Continue.
In the next windows Select the option: Install suggested plugins


As we can see required plugin installation is in progress for Jenkins. Once it is done with plugin installation. It will ask to create Admin User

Click on Save and Finish

click on “Start using Jenkins



4.7. How to configure Jenkins url as customised?



Download 6.25 Mb.

Share with your friends:
1   ...   5   6   7   8   9   10   11   12   ...   39




The database is protected by copyright ©ininet.org 2024
send message

    Main page