Skip to content

Commit 77a24ee

Browse files
authored
Merge pull request #1 from rushtojp/master
updated
2 parents 8aad64d + 2d9d296 commit 77a24ee

File tree

4 files changed

+77
-0
lines changed

4 files changed

+77
-0
lines changed

Jenkins/Jenkins Installation Instructions

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
#######################
2+
3+
This is old version. pls do not use unless needed
4+
5+
Please use this. https://github.com/rushtojp/devopsclassfiles/blob/master/Jenkins/Jenkins-Installation-debian-July2022.txt
6+
7+
8+
######################
9+
10+
111
# Steps to install Jenkins at ubuntu 18.04
212

313
sudo apt-get update
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
2+
Use Ubuntu 18.04 Installation
3+
4+
sudo apt update
5+
sudo apt install openjdk-11-jre -y
6+
java -version
7+
8+
the output would be similar to below
9+
10+
openjdk version "11.0.12" 2021-07-20
11+
OpenJDK Runtime Environment (build 11.0.12+7-post-Debian-2)
12+
OpenJDK 64-Bit Server VM (build 11.0.12+7-post-Debian-2, mixed mode, sharing)
13+
14+
15+
curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo tee \
16+
/usr/share/keyrings/jenkins-keyring.asc > /dev/null
17+
18+
19+
echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \
20+
https://pkg.jenkins.io/debian-stable binary/ | sudo tee \
21+
/etc/apt/sources.list.d/jenkins.list > /dev/null
22+
23+
sudo apt-get update
24+
sudo apt-get install jenkins
25+
26+
sudo systemctl enable jenkins
27+
28+
sudo systemctl start jenkins
29+
30+
sudo systemctl status jenkins
31+
32+
Optional
33+
34+
opening up firewall steps
35+
36+
37+
YOURPORT=8080
38+
PERM="--permanent"
39+
SERV="$PERM --service=jenkins"
40+
41+
firewall-cmd $PERM --new-service=jenkins
42+
firewall-cmd $SERV --set-short="Jenkins ports"
43+
firewall-cmd $SERV --set-description="Jenkins port exceptions"
44+
firewall-cmd $SERV --add-port=$YOURPORT/tcp
45+
firewall-cmd $PERM --add-service=jenkins
46+
firewall-cmd --zone=public --add-service=http --permanent
47+
firewall-cmd --reload
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Installation steps
2+
3+
https://www.jenkins.io/doc/book/installing/linux/#debianubuntu
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
https://www.gremlin.com/community/tutorials/how-to-create-a-kubernetes-cluster-on-ubuntu-16-04-with-kubeadm-and-weave-net/
22

3+
Microservices demo using weave socks
4+
5+
https://microservices-demo.github.io/docs/quickstart.html
36

47
To make the status ready on the cluster
58

69
kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d '\n')"
10+
11+
location of complete-demo.yml file
12+
13+
/home/ubuntu/microservices-demo/deploy/kubernetes/complete-demo.yaml
14+
15+
16+
Enabling K8S Dashboard
17+
18+
kubectl apply -f https://gist.githubusercontent.com/initcron/32ff89394c881414ea7ef7f4d3a1d499/raw/4863613585d05f9360321c7141cc32b8aa305605/kube-dashboard.yaml
19+
20+
Expose the dashboard
21+
22+
kubectl describe svc kubernetes-dashboard -n kube-system
23+

0 commit comments

Comments
 (0)