일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- python
- 크롤링
- EKS
- crawling
- MySQL
- EC2
- API
- DB
- powershell
- Linux
- zabbix
- 5.0
- ubuntu
- 시스템자동화
- 8.0
- GIT
- module
- elasticsearch
- GCP
- apt
- Automation
- tcp
- airflow
- 데이터 분석
- Selenium
- AWS
- ansible
- kibana
- ELK
- 자동화
- Today
- Total
목록분류 전체보기 (115)
Oops - IT
1. Git 생성 : 저장소 생성 완료 후 Comment.js 파일 작업 완료 후 : 저장소에 해당 내용 반영을 원함 working directory -> staging area [ git add ] staging area -> repository [git commit] [파일의 상태 Life Cycle] Untracked Unmodified Modified Staged 2. Git 명령어 #git add comment.js : comment.js 파일을 staging area로 보냄 #git add user.js : user.js 파일을 staging area로 보냄 #git add . : 현재 디렉토리의 전체 파일을 모두 staging area로 보냄 #git status : Staging area의..
1. zabbix 설치 #timedatectl set-timezone Asia/Seoul #rpm -Uvh https://repo.zabbix.com/zabbix/4.5/rhel/7/x86_64/zabbix-release-4.5-2.el7.noarch.rpm #yum clean all #rpm -Uvh https://rpmfind.net/linux/centos/7.7.1908/extras/x86_64/Packages/centos-release-scl-rh-2-3.el7.centos.noarch.rpm #rpm -Uvh https://rpmfind.net/linux/centos/7.7.1908/extras/x86_64/Packages/centos-release-scl-2-3.el7.centos.noarch..
1. Sudo 권한 관련 오류 : Zabbix Server에서 생성한 아이템 키 값 Zabbix_get 명령어로 호출 시 아래 오류 발생 : sudo: no tty present and askpass program sepcified 오류 발생 : 오류 메세지 확인 후 데이터를 수집하려고 하는 서버에서 해당 아이템을 구성하는 명령어 직접 실행 : 정상 실행 확인 : 확인 결과 데이터를 수집하려고 하는 서버에서 Zabbix 계정이 Sudo 권한을 가지고 있지 않음 - 수집하고자 하는 아이템 구성 UserParameter=envoyopenfilehard,sudo prlimit --nofile --output HARD --pid `ps -ef |grep -i envoy |grep -v grep |grep -v ..
영화 포스터 윈더 파스텔로 채색 시작~ 너무 그림을 오래 안그렸더니 색깔이 몇개 없어요..ㅜ 새로 사기에는 몇 번 안 그릴거 같고 살색을 못만들어서 팔이 누렁이가 되어버림 허헣ㅎㅎ
1. Command, System 명령어 # 파일 체크 - name: Check /etc/zabbix/zabbix_agent.d/server.conf file stat: path: /etc/zabbix/zabbix_agent.d/server.conf register: server_conf_stat_1 # 파일 수정 - name: Amend /etc/zabbix/zabbix_agent.d/server.conf file shell: sed -i 's/ServerActive=.*/ServerActive=10.10.10.1/g' /etc/zabbix/zabbix_agent.conf.d/server.conf when: server_conf_stat_1.stat.exist == True # 스크립트 실행 - nam..
** OS 환경: ubuntu 16.04 1. Task 생성 : 지난 Post에서 ansible-galaxy 명령어를 통해 role을 생성했다면 /etc/ansible/roles/[role 이름]/tasks/main.yml 파일이 생성되었을 겁니다. : 해당 파일에 Ansible에서 관리하는 실제 Host들에서 동작할 작업을 명시 해줍니다. : 첫번째 동작 - /tmp/test.sh 파일 유무 확인 : 두번째 동작 - /tmp/test.sh 파일이 존재하지 않을 경우 파일 생성 #vim /etc/ansible/roles/update-zabbix/tasks/main.yml - name: Check /tmp/test.sh stat: path: /tmp/test.sh register: script_check ..
** OS 환경: ubuntu 16.04 1. Ansible Repository 추가 # apt-add-repository ppa:ansible/ansible 2. APT Update 실행 # apt-update 3. Ansible 패키지 설치 : 의존성 파일들이 설치되며 설치가 진행 된다. # apt-get install -y ansible 4. 설치 확인 # ansible --version 5. Hosts 파일에 관리할 서버 추가 : Ansible을 통해서 관리를 할 서버를 명시하면 Inventory 파일이라고도 한다. : Ansible 패키지 설치 시 자동적으로 /etc/ansible 경로 밑에 파일이 생성이 된다. * 계정 정보나, 보안 측면의 관리가 필요한 내용이 hosts에 들어가는 경우 : ..
1. Use packages provided by distro : RHEL, Fedora, CentOS, ORacle Linux, SLES, Debian, Ubuntu, etc... 2. Use packages from Docker # curl -sSL https://get.docker.com/ |sh : https://yum.dockerproject.org/ for Centos, Fedora, OpenSUSE, and Oracle Linux : https://apt.dockerproject.org/ for Debian and Ubuntu 3. Use docker-machine : Drivers for: EC2, Azure, Digital Ocean, Exoscale, GCP : Openstack, Ra..
[Memory Manager] Stolen Server Memory(KB) 서버가 데이터베이스 페이지가 아닌 다른 용도로 사용 중인 메모리 양을 지정합니다. Target Server Memory (KB) 서버가 사용할 이상적인 메모리 양을 나타냅니다. Total Server Memory(KB) 서버가 메모리 관리자를 사용하여 커밋한 메모리 양을 지정합니다. Connection Memory(KB) 연결 유지 관리를 위해 서버에서 사용 중인 총 동적 메모리 양을 지정합니다. Database Cache Memory(KB) 서버가 현재 데이터베이스 페이지 캐시에 사용 중인 메모리 양을 지정합니다. [SQL Statistics] Batch Requests/sec 초당 받는 Transact-SQL 명령 일괄 처리 ..