ubuntu 썸네일형 리스트형 [리눅스] Ansible Playboot 실행하기 Ansible Playbook 실행하기 [Control Machine] 1. Playbook examples 파일 다운로드 # cd ./etc/ansible # git clone git://github.com/ansible/ansible.git --recursive # git clone https://github.com/ansible/ansible-examples.git --recursive 2-1. Playbook 트리 구조 및 설정 파일 # tree . ├── roles │ └── common │ ├── handlers │ │ └── main.yml │ ├── tasks │ │ └── main.yml │ └── templates │ └── ntp.conf.j2 └── site.yml # cat sit.. 더보기 Ansible을 설치하고 구성하는 방법 Ansible을 설치하고 구성하는 방법 1. EPEL 패키지 설치 EPEL은 Extra Packages for Enterprise Linux의 약어로 여러 추가 소프트웨어를 제공합니다. sudo yum install epel-release 2. Ansible 패키지 설치 sudo yum install ansible 3. Ansible 버전 확인 ansible --version ansible 2.2.1.0 config file = /etc/ansible/ansible.cfg configured module search path = Default w/o overrides 4. SSH Keygen 설정 ssh-keygen -t rsa -b 4096 -C "root@ass01" 5. Ansible 키 교환 us.. 더보기 윈도우 10에서 Bash shell 사용하기 윈도우 10에서 Bash shell 사용하기C:\Users\Administrator>bash-- 베타 기능 --이렇게 하면 Canonical에서 배포하고 다음에서 사용 가능한조건에 따라 사용이 허가되는 Ubuntu가 Windows에 설치됩니다.https://aka.ms/uowterms 이 기능을 사용하려면 개발자 모드가 사용하도록 설정되어 있어야 합니다.C:\Users\Administrator> 개발자 모드 설정Windows 설정 > 업데이트 및 복구 > 개발자용 > 개발자 기능 사용 "개발자 모드" C:\Users\Administrator>bash-- 베타 기능 --이렇게 하면 Canonical에서 배포하고 다음에서 사용 가능한조건에 따라 사용이 허가되는 Ubuntu가 Windows에 설치됩니다.htt.. 더보기 OpenSSL을 소스 코드를 사용하여 컴파일하고 업그레이드하는 방법 OpenSSL을 소스 코드를 사용하여 컴파일하고 업그레이드하는 방법 다운로드 링크(https://www.openssl.org/source/) 1. OpenSSL 소스 코드 다운로드 및 압축 해제 wget https://www.openssl.org/source/openssl-1.1.0e.tar.gz tar xvfz openssl-1.1.0e.tar.gz 2. 컴파일 및 설치 cd openssl-1.1.0e ./config make make install which openssl $ which openssl /usr/local/bin/openssl 3. 라이브러리 등록 export LD_LIBRARY_PATH=/usr/local/lib64 (or) ln -s /usr/local/lib64/libssl.so... 더보기 [스크립트] thread dump && heap dump thread dump && heap dump vim TH_dump.sh #!/bin/bash PID=`ps -ef | grep java | awk '{print $2}'` #####thread dump #ps -ef | grep java| awk '{print $2}' | xargs kill -3 echo "Starting Thread Dump..." for(( i=0; i 더보기 [URL] CentOS 운영체제 이미지(vault) CentOS 운영체제 이미지(vault) http://vault.centos.org 더보기 [리눅스] git 설치(gitlab) git 설치(gitlab) gitlab 다운로드 https://packages.gitlab.com/gitlab/gitlab-ce 1. Install and configure the necessary dependencies yum install -y curl openssh-server postfix cronie service postfix start chkconfig postfix on lokkit -s http -s ssh 2. Add the GitLab package server and install the package curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash yum i.. 더보기 우분투에서 apt-get update 명령을 실행할 때 발생하는 GPG 오류를 해결하기 위한 방법 우분투에서 apt-get update 명령을 실행할 때 발생하는 GPG 오류를 해결하기 위한 방법 $ apt-get update ... 무시 http://us.archive.ubuntu.com precise/restricted Translation-ko_KR 무시 http://us.archive.ubuntu.com precise/universe Translation-ko_KR 내려받기 29.5 M바이트, 소요시간 1분 53초 (259 k바이트/초) W: GPG 오류: http://extras.ubuntu.com precise Release: 다음 서명들은 공개키가 없기 때문에 인증할 수 없습니다: NO_PUBKEY 16126D3A3E5C1192 W: gzip:/var/lib/apt/lists/partia.. 더보기 이전 1 ··· 11 12 13 14 15 16 17 ··· 19 다음