반응형

 

로컬pc : macosx

virtualbox 사용중 공유폴더가 필요하여 설치하려는데 도저히 설정이 안되서 미친 구글링함

결론적으로는 

#1. 확장판 설치

#2. 공유폴더 설정

하면

 

아래순서 그대로 했음(당연히 centos 설치한 vm에서 진행했고, root 계정으로 진행함 )

1. centos 설치하자 마자 업데이트

  $yum update

  $reboot

  재부팅 되면

  $yum update kernel

  $reboot

  재부팅 되면

   $yum groupinstall "Development tools"

   $yum install kernel-devel (이건 반복이긴 한디... 어쨋든 수행함 )

2.Install VirtualBox Guest Additions(확장판 설치)

  $cd /mnt

  $mkdir cdrom && mount /dev/cdrom /mnt/cdrom

  $cd cdrom && ./VBoxLinuxAdditions.run

 

3. 공유폴더 설정

  해당 vm 에서 [설정>공유폴더>  ].

 

[root@vm ~]# mkdir /vm_share_dir

[root@vm ~]# mount -t vboxsf virtualbox_share /vm_share_dir

 ( virtualbox_share 는 버츄얼박스 공유폴더 설정명 )

### 마운트 되었는지 확인 ####

[root@vm ~]# mount

......

 vm_share_dir on /vm_share_dir type vboxsf (rw)`

반응형
반응형

너무 다양한 데브옵스의 세계... 점점 더 지도가 넓어지고 있다... 난 어디?

기본적인 devops engineer 스펙은 예로 들면 아래 정도 될거 같다.

- 기초 : 리눅스 관리, 파이썬, AWS 또는 다른 클라우드 플랫폼
- 구성 : 테라폼(Terraform) 또는 앤서블(Ansible)
- 버전 관리 : 깃(Git)과 깃허브(GitHub)
- 패키징 : 도커(Docker)
- 배포 : 젠킨스(Jenkins)
- 실행 : 아마존 ECS와 쿠버네티스
- 모니터링 : ELK 스택

(원문보기: http://www.itworld.co.kr/news/118329#csidx2c57a1a5dded950a27572aea7ea3a1b  )

누군가가 전체 로드맵을 잘 정리해서 퍼왔다... 음...

출처 : https://github.com/kamranahmedse/developer-roadmap

 

kamranahmedse/developer-roadmap

Roadmap to becoming a web developer in 2019. Contribute to kamranahmedse/developer-roadmap development by creating an account on GitHub.

github.com

 

 

반응형
반응형

 docker-compose up 실행시 아래와 같은 에러가 발생하여 삽질을 하였다.

ERROR: The Compose file './docker-compose.yml' is invalid because:

Invalid top-level property "manager". Valid top-level sections for this Compose file are: version, services, networks, volumes, secrets, configs, and extensions starting with "x-".

You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.

For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/

설명처럼 version 을 소수점으로 변경도 해보고, 이런 저런 별짓을 다해봤지만 ...

결론은 띄어쓰기 문제였다.

yaml 파일에서  같은 레벨의 띄어쓰기가 맞지않아서 에러가 나는 거였음... 

위 에러날때 동급의 항목이 같은 띄어쓰기로 되어 있는지 , 더 앞칸으로 되어 있는건 아닌지 확인해 보면 해결될듯함

 

 

 

반응형

'DevOps' 카테고리의 다른 글

centos 7 virtualbox guest additions 해결및 공유폴더설정완료  (0) 2019.08.26
Devops roadmap  (0) 2019.06.25
docker - swarm/compose/service/stack  (0) 2019.06.07
Docker Error  (0) 2019.06.05
Docker 명령어 정리  (2) 2019.03.21

+ Recent posts