Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

jenkins.sh 656 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
  1. #!bin/bash
  2. sudo apt update
  3. sudo apt install openjdk-8-jdk -y
  4. https://pkg.jenkins.io/
  5. https://pkg.jenkins.io/debian-stable/
  6. sudo systemctl start jenkins
  7. sudo systemctl enable jenkins
  8. sudo systemctl status jenkins
  9. ## Installing Docker
  10. curl -fsSL https://get.docker.com -o get-docker.sh
  11. sudo sh get-docker.sh
  12. sudo usermod -aG docker $USER
  13. sudo usermod -aG docker jenkins
  14. newgrp docker
  15. sudo apt install awscli -y
  16. sudo usermod -a -G docker jenkins
  17. ## AWS configuration & restarts jenkins
  18. aws configure
  19. ## Now setup elastic IP on AWS
  20. ## For getting the admin password for jenkins
  21. sudo cat /var/lib/jenkins/secrets/initialAdminPassword
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...