Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extras #19

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Docker Installation - Readme
  • Loading branch information
Abdullah-0-3 committed Nov 30, 2024
commit 22d674df5e39e2476f377ce363b74e83bbacebfb
36 changes: 33 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -87,20 +87,46 @@ Using Dockerhub image to use for K8s using from ArgoCD. After that integreating

> (Recomendation) Make sure you give your machine 8GB Ram and 15GB Hard Disk.

---
### Docker Installation
1. Update System
```
sudo dnf update -y
```
2. Install Packages
```
sudo dnf install -y dnf-utils
sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
```
3. Download Docker
```
sudo dnf install -y docker-ce docker-ce-cli containerd.io
docker --version
```
4. Start Docker
```
sudo systemctl start docker
sudo systemctl enable docker
```
5. Give Permissions
```
sudo usermod -aG docker $USER
```

---
### Jenkins Setup

1. Install Java
```
sudo yum update -y
sudo yum install fontconfig java-17-openjdk -y
sudo dnf update -y
sudo dnf install fontconfig java-17-openjdk -y
java --version
```
2. Get Go with Jenkins
```
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key
sudo yum install jenkins -y
sudo dnf install jenkins -y
```
3. Start Jenkins
```
@@ -115,6 +141,9 @@ Using Dockerhub image to use for K8s using from ArgoCD. After that integreating
sudo firewall-cmd --reload
```
5. You can use jenkins is your Browser
```
sudo usermod -aG docker jenkins
```
6. Create a Pipeline and use it for further configuration
7. Setup your Jenkins Pipeline for that you need to learn Jenkins

@@ -152,6 +181,7 @@ Using Dockerhub image to use for K8s using from ArgoCD. After that integreating
kubectl get secret -n argocd argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d && echo
```
Use this in Login to ArgoCD

8. You can use ArgoCD

---