| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- RSS
- namespace
- devops #jenkins
- httpd실행
- Engineer
- variable
- mongodb operator
- java
- container
- 컨테이너
- Vagrant
- 도커
- 파이썬
- 쿠버네티스
- Kubernetes
- 초간단파이썬
- ioredirection
- devops #engineer
- docker
- WEB
- aws #engineer
- python
- springboot
- DOIK
- Strimzi
- k8s
- bash
- multivm
- nginx
- linux
- Today
- Total
목록전체 글 (81)
샤인의 IT (막 적는) 메모장
기본 문법 스크립트 작성 및 Permission 부여한 후 실행 [root@scriptbox scripts]# cat firstscript.sh #!/bin/bash ### This script prints system info ### echo "Welcome to Bash script" echo #Check system time echo "###############################" echo "The uptime of the system is: " uptime #Memory Check echo "###############################" echo "Memory Utilization" free -m #Disk Check echo "########################..
여러 VM을 설정 예를 들어 WEB - WAS - DB 3Tier 구조의 5대의 VM을 생성하고 싶다! 면 config.vm.define을 각 VM에 맞게 정의한다. #Vagrantfile Vagrant.configure("2") do |config| config.hostmanager.enabled = true config.hostmanager.manage_host = true ### Nginx VM ### config.vm.define "web01" do |web01| web01.vm.box = "ubuntu/xenial64" web01.vm.hostname = "web01" web01.vm.network "private_network", ip: "192.168.33.11" end ### tomcat ..
Provisioning VagrantFile 해당 VM에서 실행하는 명령어를 VagrantFile에 정의할 수 있다. #Vagrantfile 내 provisioning 설정 Vagrant.configure("2") do |config| ... #프로비저닝 설정 부분 해당 명령어를 순차적으로 실행함 config.vm.provision "shell", inline: default: Matching MAC address for NAT networking... ==> default: Checking if box 'geerlingguy/centos7' version '1.2.25' is up to date... ==> default: Setting the name of the VM: centos7_default_..