CM(65)
-
Error: ✗ Could not create /var/lib/grafana/plugins/grafana-piechart-panel/.gitignore. Permission denied. Make sure you have write access to plugindir
ansible + grafana환경에서 아래와 같은 오류가 발생하였다.Error: ✗ Could not create /var/lib/grafana/plugins/grafana-piechart-panel/.gitignore. Permission denied. Make sure you have write access to plugindir NAME: Grafana cli plugins install - install USAGE: Grafana cli plugins install [arguments...] 첫번째 해결책으로 아래와 같이 user: root를 통해 해결하였다.- name: run grafana docker_container: name: grafana user: root ..... 하지만 user..
2018.10.23 -
ansible error - may be elsewhere in the file depending on the exact syntax problem.
may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Create a data volume ^ here위의 오류는 ansible 버전이 낮아서 나는 오류이다.ansible은 버전이 2.7이상이어야 docker_volume을 사용할 수가 있다.참고 사이트 : https://docs.ansible.com/ansible/latest/modules/docker_volume_module.html?highlight=docker_volume
2018.10.23 -
ansible 주요 역할 정리
inventory file은 리모트 서버에 대한 meta 데이터를 기술하는 파일.기본 파일은 /etc/ansible/hosts이나 따로 inventory file을 사용할 수 있는 옵션(-i)을 줄수 있음.alpha파일이라고 가정하고 그 안의 내용은 아래와 같다. acet1 ansible_host=acet-dev.cc [acet] acet1 playbook은 ansible의 환경 설정, 배포를 가능케 함. yaml 문법을 채용하여 정책을 기술conditional(when), variables, loops(with_items), include, 결과 저장(register) 지원.하나의 playbook은 하나 이상의 play를 두며 play의 목적은 여러 호스트들에 잘 정의된 role과 task를 매핑하는 ..
2018.07.31 -
Docker ?
Docker? 2013년 3월 Docker, Inc에서 출시한 오픈소스 컨테이너 프로젝트 복잡한 리눅스 어플리케이션을 컨테이너로 묶어서 실행할 수 있음. 리눅스 커널에서 제공하는 컨테이너 기술을 이용. 컨테이너(이미지)를 전 세계 사람들과 공유 Github와 비슷한 방식의 Docker Hub 제공. 이미지 생성과 배포에 특화. 이미지 버전관리 제공, 중앙저장소에서 이미지를 올리고 받을 수 있음. (push/pull) 컨테이너? 가상화보다 훨씬 가벼운 기술. 가상머신 : 컴퓨터 안에서 컴퓨터를 만들어내기 위한 시도(1960년 대에 가상화 개념이 처음 등장) 컴퓨터 통째로 만들어내다보니 각종 성능 손실이 발생. -> 리눅스 컨테이너 등장. 컨테이너 안에 가상공간을 만들지만 실행 파일을 호스트에서 직접 실행...
2017.06.27 -
jenkins setting
OS : CentOS 7.2 JDK : jdk8명령어 : sudo yum install -y java-1.8.0-openjdk Tomcat : 9http://tomcat.apache.org/ JenkinsWar file : curl -L -O http://mirrors.jenkins-ci.org/war-stable/latest/jenkins.warTomcat 위치 : /apache-tomcat-9.0.0.M20/webapps 에 Jenkins.war를 배치! 그리고나서 톰캣을 기동 시킨다. go (build target : go lang)sudo yum install go tomcatJenkins가 풀리면http://localhost:8080/jenkins로 붙어서 좀 더 세부적인 셋팅을 하면 된다.
2017.04.28 -
Jenkins Overall/Read permission
Jenkins Overall/Read permission LDAP 설정하다가;; 전부 날아갔을 때!! http://stackoverflow.com/questions/36838867/jenkins-overall-read-permission Jenkins의 config.xml를 열어서 설정을 해주면 된다. 이렇게 되어있는데이것을 아래처럼 설정하면 잘되어진다 ㅎㅎhudson.model.Hudson.Administer:***Here is your username***
2017.04.27