|
|
|
@ -1,6 +1,6 @@ |
|
|
|
# Learning Jenkins, 01-05: Install Jenkins on Ubuntu |
|
|
|
|
|
|
|
# Prerequisites |
|
|
|
## Prerequisites |
|
|
|
The target system should be running a recent version of the Ubuntu operating system. |
|
|
|
|
|
|
|
You will need to be able to access the system via CLI, most likely over SSH, and via HTTP on port `8080`. |
|
|
|
@ -8,7 +8,7 @@ You will need to be able to access the system via CLI, most likely over SSH, and |
|
|
|
|
|
|
|
You will need to have `root` permission on the target system, specifically so you can run commands using `sudo`. |
|
|
|
|
|
|
|
# Installation |
|
|
|
## Installation |
|
|
|
In a terminal, run the following commands: |
|
|
|
``` |
|
|
|
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - |
|
|
|
@ -19,7 +19,7 @@ sudo apt-get -y install jenkins |
|
|
|
sudo cat /var/lib/jenkins/secrets/initialAdminPassword |
|
|
|
``` |
|
|
|
|
|
|
|
# Using the Initial Admin Password |
|
|
|
## Using the Initial Admin Password |
|
|
|
Run the following command and copy the output: |
|
|
|
``` |
|
|
|
cat /var/lib/jenkins/secrets/initialAdminPassword |
|
|
|
|