Skip to content
Open

PR_5 #34

Show file tree
Hide file tree
Changes from all commits
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
234 changes: 234 additions & 0 deletions .bash_history
Original file line number Diff line number Diff line change
@@ -0,0 +1,234 @@
sudo yum update
yum install docker
su -
sudo yum install -q -y yum-utils
sudo yum-config-manager .--add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install -q -y docker-ce docker-ce-cli containerd.io
sudo systemctl start --quiet docker
sudo yum install -q -y yum-utils
sudo yum-config-manager .--add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install -q -y docker-ce docker-ce-cli containerd.io
sudo systemctl start --quiet docker
sudo systemctl enable docker
sudo systemctl status docker
docker
sudo yum install -y docker-ce docker-ce-cli containerd.io
sudo yum-config-manager .--add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install -y docker-ce docker-ce-cli containerd.io
sudo yum install -y docker
sudo yum install -y docker-ce
docker
sudo systemctl start --quiet docker
sudo systemctl enable docker
sudo yum install -y -q git
sudo systemctl enable git
sudo yum install git
sudo systemctl enable git
git
mkdir git
cd git
git pull https://github.com/MaromGold/microblog.git
docker volume create jenkins-data
sudo docker volume create jenkins-data
sudo docker pull jenkins/jenkins:lts
docker build -t microblog:latest
pwd
ll
git pull https://github.com/MaromGold/microblog.git
git init
git pull https://github.com/MaromGold/microblog.git
ll
docker build -t microblog:latest
docker build -t microblog:latest .
sudo docker build -t microblog:latest .
sudo docker run --name microblog -d -p 8000:5000 --rm microblog:latest
docker ps
sudo docker ps
ls
cd ..
ls
rmdir -r git
rmdir -f git
rm -rf git
vi dockerfile
ls
docker ps
sudo docker ps
sudo docker run -d --privileged --name Marom -p 8080:8080 -v /var/run/docker.sock:/var/run/docker.sock 561338ac29c9
sudo docker volume list
ls
pwd
vi plugins.txt
vi JENKINS_ADMIN_PASSWORD
vi JENKINS_ADMIN_ID
vi casc.yml
vi docker-ce.repo
ls
history | grep build
docker build -t JenkinsDocker .
docker build -t jenkinsdocker .
sudo docker build -t jenkinsdocker .
docker ps
sudo docker ps
docker image ls
sudo docker image ls
sudo docker volume list
netstat | grep 8080
sudo docker run -d --privileged --name Jenkins -p 8080:8080 -v /var/run/docker.sock:/var/run/docker.sock jenkinsdocker
sudo docker ps
sudo docker stop --a
sudo docker stop 561338ac29c9
sudo docker ps -a
sudo docker container ls
sudo docker ps
sudo docker stop 5ea3ecb5dd67
sudo docker stop microblog-image
sudo docker ps
sudo docker stop microblog-image
sudo docker stop f9b1bd6e5daf
curl -s --cookie-jar /tmp/cookies -u admin:admin http://localhost:8080/crumbissuer/api/json
sudo yum update
ls
md PR_3
mkdir PR_3
git init
history | grep fork
git:latest
pwd
ls
cd PR_3/
ls
git pull https://github.com/MaromGold/MG_PR.git
ls
cd ..
ls
cd PR_3/
ls
ll
ls -la
git clone https://github.com/MaromGold/MG_PR.git
ls
cd MG_PR/
ls
git branch
bit branch patch-4
git branch patch-4
git pull
ls
cd ..
ls
rm -rf MG_PR/
git branch
git branch patch-4
git branch
git switch patch-4
git branch
git clone https://github.com/MaromGold/MG_PR.git
ls
ls MG_PR/
git pull
git pull remote patch-4
git remote show origin
git remote show master
git remote show MG_PR
git remote show MaromGold
git remote show
עןא נרשמבי
git branch
git branch patch-3
git switch branch-3
git switch patch-3
git branch
ls
ren MG_PR/ Marom
mv MG_PR/ Marom
ls
cd Marom/
ls
vi Jenkinsfile
which jenkins
yum list installed | grep jenkins
vi jenkins_install.sh
vi plugins.txt
ls
vi casc.yml
ls
git status
git add Jenkinsfile casc.yml jenkins_install.sh plugins.txt
git commit -m "EX_3"
git branch
git switch -b patch-4
git branch patch-4
git branch
git switch branch-4
git switch patch-4
git branch
git branch patch-3
git switch patch-3
git branch
git push origin patch-3
git pull
git pull origin patch-3
ls
ls Marom/
cat Jenkinsfile
ls
mv Jenkinsfile Marom/
mv plugins.txt Marom/
mv casc.yml Marom/
mv jenkins_install.sh Marom/
ca nginx.sh
cat nginx.sh
ks
ls
mv nginx.sh Marom/
cat ncdu.sh
mv ncdu.sh Marom/
ls
cd Marom/
ls
mkdir old
mv bootstrap.sh old/
mv ncdu.sh old/
mv nginx.sh old/
ls
history
git push origin patch-3
ls
git branch patch-4
git switch patch-4
ls
history | grep pull
git pull remote patch-4
git pull origin patch-4
ls
cd ..
ls
cd Marom/
cd ..
mv nginx.sh Marom/
mv bootstrap.sh Marom/
cd Marom/
ls
mkdir ex-3
mv bootstrap.sh ex-3/
mv casc.yml ex-3/
mv jenkins_install.sh ex-3/
ls
vi Dockerfile
ls
mv ncdu.sh old/
mv nginx.sh old/
ls
mv ex-3/casc.yml .
ls
cat Jenkinsfile
mv Jenkinsfile ex-3/
vi Jenkinsfile
cp plugins.txt ex-3/
vi plugins.txt
git status
git add Dockerfile Jenkinsfile casc.yml ex-3/ old/ plugins.txt
git commit -m "EX_4"
git push origin patch-4
history
2 changes: 2 additions & 0 deletions .bash_logout
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# ~/.bash_logout

12 changes: 12 additions & 0 deletions .bash_profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/.local/bin:$HOME/bin

export PATH
11 changes: 11 additions & 0 deletions .bashrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=

# User specific aliases and functions
1 change: 1 addition & 0 deletions .docker/.buildNodeID
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
>>KEY<<
1 change: 1 addition & 0 deletions .ssh/authorized_keys
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ssh-rsa ###KEY### Marom
Loading