본문 바로가기
반응형

CM65

Docker 리서치 도커 등장 배경 docker 관련 문서 : https://github.com/remotty/documents.docker.co.kr 서버를 관리한다는 것 복잡하고 어려운 서버관리 시간이 흐르면서 서버환경이 종종 바뀌거나 오픈소스가 바뀌거나 하는 걸 볼수 있습니다. CentOS -> Ubuntu Chef -> Ansible -> 또 다른 오픈소스 DevOps의 등장으로 짧은 개발주기와 잦은 배포 마이크로서비스 아키텍처의 유행 -> 프로그램은 더 잘게 쪼개어져 관리는 더욱 복잡해짐. 새로운 툴은 계속 나오고 클라우드의 발전으로 설치해야 할 서버가 수백, 수천대에 이르는 상황(?) 이런 노답인 상황에서 Docker가 등장하고 서버관리 방식이 완전히 바뀌게 됩니다. 도커의 역사 도커는 2013년 3월 산타클라라.. 2021. 2. 3.
sourceTree 새로 설치 한 후 password를 지속적으로 묻는 경우 github > SSH and GPG keys를 설정해줬는데도 자꾸 패스워드를 물었다... cmd창에서 git config --global credential.helper osxkeychain 이 명령어를 통해 해결 하였다. 굳! 2019. 6. 4.
SBT + ANSIBLE 빌드서버에서 빌드 후 배포(배치 서버로) build는 shell을 통해 처리 하였다. (음..뭔가 ansible style은 아니다..ㅠㅠ 책을 사서 좀 더 파봐야겠다.)- name: Execute sbt build shell: | cd {{ build_home }}/{{ build_id }} pwd ./sbt.sh sbt.sh에서는 sbt를 통해 명령어로 처리! sbt가 export가 잘안되어서 그냥 절대경로로 처리!/daum/program/sbt/bin/sbt clean assembly deploy는 간단히 copy해주는 형식으로 처리 하였다. 즉, local jar를 deploy할 서버로 카피!--- - hosts : spark serial : 1 tasks : - name : Make data d.. 2019. 1. 23.
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. 7. 31.
Docker ? Docker? 2013년 3월 Docker, Inc에서 출시한 오픈소스 컨테이너 프로젝트 복잡한 리눅스 어플리케이션을 컨테이너로 묶어서 실행할 수 있음. 리눅스 커널에서 제공하는 컨테이너 기술을 이용. 컨테이너(이미지)를 전 세계 사람들과 공유 Github와 비슷한 방식의 Docker Hub 제공. 이미지 생성과 배포에 특화. 이미지 버전관리 제공, 중앙저장소에서 이미지를 올리고 받을 수 있음. (push/pull) 컨테이너? 가상화보다 훨씬 가벼운 기술. 가상머신 : 컴퓨터 안에서 컴퓨터를 만들어내기 위한 시도(1960년 대에 가상화 개념이 처음 등장) 컴퓨터 통째로 만들어내다보니 각종 성능 손실이 발생. -> 리눅스 컨테이너 등장. 컨테이너 안에 가상공간을 만들지만 실행 파일을 호스트에서 직접 실행... 2017. 6. 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. 4. 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. 4. 27.
about docker docker 란?docker install docker 명령어docker 오류 docker란?참조 사이트 : https://www.slideshare.net/pyrasis/docker-docker-38286477http://blog.nacyot.com/articles/2014-01-27-easy-deploy-with-docker/ docker install - CentOS 7 ver.아래의 부분이 없으면 최신버전으로 install 되지 않는다.sudo vi /etc/yum.repos.d/docker.repo [dockerrepo]name=Docker Repositorybaseurl=https://yum.dockerproject.org/repo/main/centos/7/enabled=1gpgcheck=1g.. 2017. 4. 27.
빌드&배포 시스템 구축 환경OS : CentOS 7.xCI Tool : Jenkinsapache tomcat 9jdk 8Build Target : go langgit settinggo sdk settingglide settingdocker-client setting ============ show docker images ============= + docker images REPOSITORY TAG IMAGE ID CREATED SIZE /terry_park/vsc v0.3 e1ad78d5741f 3 seconds ago 858MB /terry_park/vsc v0.2 384a8f1df578 6 minutes ago 858MB /terry_park/vsc v0.1 219d8bcc0779 3 hours ago 1.04GB + .. 2017. 4. 25.
Error injecting: org.apache.maven.shared.dependency.graph.internal.Maven3DependencyGraphBuilder mavne으로 패키징을 하는데..아래처럼 오류가 났다-_-;;Error injecting: org.apache.maven.shared.dependency.graph.internal.Maven3DependencyGraphBuilder뭔가 깨진듯 하다..기존에 있던 메이븐을 다른 프로젝트에 재사용하면서 난 문제이다. 그래서 아래와 같이 3.0.5버전을 받아서 연결한 뒤 다시 패키징해보니 잘되었다. 인텔리J 설정은 아래처럼 하였습니다. - 끝 - 2016. 1. 4.
젠킨스 빌드 오류 빌드 시에 아래와같이 PermGen space오류가 났습니다. ㄷ ㄷ ㄷ 톰캣에서 바꿔줘야하네요! 2015. 1. 16.
about svn:externals svn에서 svn:externals라는 것이 있다 svn:merge등 다양하다! svn:externals는 편집하여 체크아웃이나 업데이트 받을 때 외부 모듈을 함께 받는 것이다. IDE마다 다르지만..인텔리J에서는 아래와 깉이 설정 및 확인을할 수 있다. 설정을 바꾼 뒤에는 커밋을 해주어야 반영이 된다. 이클립스만 쓰다가 인텔리J를 사용하니..엄청 어리버리까고 있다..ㅠ_ㅠ 쿨럭~ 커밋도 안치고 반영된줄..ㄷㄷ 암튼 어리버리까지말고 똑똑해지자~~~ 끝. 2015. 1. 15.
Jenkins Setting 1) Jenkins 설치Jenkins는 http://jenkins-ci.org/ 에 가서 다운!가장 최신으로 다운로드 함! 톰캣 다운로드 및 jenkins war 넣어주기!톰캣 8은 자동으로 안풀렸다..war가..ㄷㄷ 그래서 7로 다운해서 셋팅!참고 : 83번 게시물 결과는 아래! - 끝 - 2015. 1. 15.
메이븐 install 시에 테스트 건너뛰기 명령어 위처럼 -Dmaven.test.skip=true를 추가해주면 된다.또는 아래처럼 maven에 추가 해주면 된다. true 2015. 1. 14.
github 오류 - Permission denied (publickey) 상황설명 이클립스에서 하둡소스를 코딩하고 github에 명령어로 소스를 올려보려고 하였다..하지만 문제에 봉착!! 오류는 아래와 같았다. 오류내역 $ git push -u hadoopOrigin masterPermission denied (publickey). fatal: Could not read from remote repository. 해결방법 1) 아래의 사이트에서 확인해보니 ssh문제였다.. https://help.github.com/articles/error-permission-denied-publickey 2) ssh를 생성해자~ssh-keygen~! gogo~! ssh-keygen -t rsa -C "git login id(e-mail address)" ssh-keygen -t rsa -C.. 2014. 9. 17.
[소소한 테스트] Maven과 dependency 정리를 해야겠다는 생각을 하였다. 그냥 지나쳐버린 것들이 많이 있기 때문이다. 그냥 느낌 또는 대충 알고 있는 것들에 대한 불안감 또는 답답함을 해소하기 위해서.. 소소한 테스트와 메카니즘을 알아가보자^-^good~ 2013/08/20 - [CM/Maven] - pom.xml 을 알아보자! pom.xml 에서 엘리먼트에 spring 관련 내용을 넣어보자. spring-core, spring-aop, spring-webmvc-protlet 이렇게 3가지!! 당연히 jar파일이 3개가 나올 것이라 생각 할 수 있다. org.springframework spring-core ${org.springframework.version} org.springframework spring-aop ${org.springfr.. 2013. 8. 21.
pom.xml 을 알아보자! 오늘은 pom.xml에 대해..알아보자~! maven을 모르겠다는 분은 자바지기 박재성님의 "자바세상의 빌드를 이끄는 메이븐" 책을 추천한다. pom => project obejct model 기본 뼈대..대충 이러하다!! 4.0.0 kr.pe.acet ACET_PROJECT 0.0.1-SNAPSHOT war ACET_PROJECT ACET_PROJECT UTF-8 maven-compiler-plugin : The Compiler Plugin is used to compile the sources of your project. 출처 : http://maven.apache.org/plugins/maven-compiler-plugin/ maven-dependency-plugin : The dependency.. 2013. 8. 20.
ubuntu에 svn 설치 하기(CollabNet Subversion Edge) http://www.open.collab.net/nonav/downloads/subversion/readme/csvne_linux32linux64.html CollabNet Subversion Edge - Linux 32/64-bit Version 2.3.0 Release Date: March 2012 Contents 1. Overview 2. Platform and configuration 3. Requirements 4. Installation notes 5. Updates 6. Documentation 7. Known issues 8. Support for CollabNet Subversion Edge 9. About Subversion and CollabNet 1. Overview CollabNe.. 2013. 6. 4.
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (execution: default-testCompile, phase: test-compile) Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (execution: default-testCompile, phase: test-compile) CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:m.. 2012. 11. 14.
반응형