Steps to setup jenkins on ubuntu:-
-After installation. check the jenkins services running on not on the server.
sudo service jenkins status
-Check Port 8080 on server. It should be accessible for HTTP.
-Open browser & Enter <IP-Address>:<Port> to access the jenkins web page:-
-Open browser & Enter <IP-Address>:<Port> to access the jenkins web page:-
http://3.21.248.164:8080/login?from=%2F
-Get password to login inside jenkins for configuration.
ubuntu@ip-172-31-3-216:~$ sudo cat /var/lib/jenkins/secrets/initialAdminPassword
7bbef0e31c5044dcbbbe1b2cdafc8638
- Copy this password in web page and click on continue.
- Click on Install suggested plugins.
-Check jenkins users and setting in the machine.
ubuntu@ip-172-31-3-216:~$ sudo /etc/userssudo: /etc/users: command not foundubuntu@ip-172-31-3-216:~$ sudo /etc/passwdsudo: /etc/passwd: command not foundubuntu@ip-172-31-3-216:~$ sudo cat /etc/passwdroot:x:0:0:root:/root:/bin/bashdaemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologinbin:x:2:2:bin:/bin:/usr/sbin/nologinsys:x:3:3:sys:/dev:/usr/sbin/nologinsync:x:4:65534:sync:/bin:/bin/syncgames:x:5:60:games:/usr/games:/usr/sbin/nologinman:x:6:12:man:/var/cache/man:/usr/sbin/nologinlp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologinmail:x:8:8:mail:/var/mail:/usr/sbin/nologinnews:x:9:9:news:/var/spool/news:/usr/sbin/nologinuucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologinproxy:x:13:13:proxy:/bin:/usr/sbin/nologinwww-data:x:33:33:www-data:/var/www:/usr/sbin/nologinbackup:x:34:34:backup:/var/backups:/usr/sbin/nologinlist:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologinirc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologingnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologinnobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologinsystemd-network:x:100:102:systemd Network Management,,,:/run/systemd:/usr/sbin/nologinsystemd-resolve:x:101:103:systemd Resolver,,,:/run/systemd:/usr/sbin/nologinsystemd-timesync:x:102:104:systemd Time Synchronization,,,:/run/systemd:/usr/sbin/nologinmessagebus:x:103:106::/nonexistent:/usr/sbin/nologinsyslog:x:104:110::/home/syslog:/usr/sbin/nologin_apt:x:105:65534::/nonexistent:/usr/sbin/nologintss:x:106:111:TPM software stack,,,:/var/lib/tpm:/bin/falseuuidd:x:107:112::/run/uuidd:/usr/sbin/nologintcpdump:x:108:113::/nonexistent:/usr/sbin/nologinsshd:x:109:65534::/run/sshd:/usr/sbin/nologinlandscape:x:110:115::/var/lib/landscape:/usr/sbin/nologinpollinate:x:111:1::/var/cache/pollinate:/bin/falseec2-instance-connect:x:112:65534::/nonexistent:/usr/sbin/nologinsystemd-coredump:x:999:999:systemd Core Dumper:/:/usr/sbin/nologinubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bashlxd:x:998:100::/var/snap/lxd/common/lxd:/bin/falsejenkins:x:113:119:Jenkins,,,:/var/lib/jenkins:/bin/bashubuntu@ip-172-31-3-216:~$
No comments:
Post a Comment