tar 명령어1. tar 압축 > tar -cvf 폴더명.tar 폴더 2. tar 압축 풀기 > tar -xvf 파일명.tar 3. 옵션 -c 파일을 tar로 묶음 -p 파일 권한을 저장 -v 묶거나 파일을 풀 때 과정을 화면으로 출력 -f 파일 이름을 지정 -C 경로를 지정 -x tar 압축을 풂 -z gzip으로 압축하거나 해제함 4. 기타 > tar, tar.gz 차이 : tar는 용량을 압축하지 않고 묶는 용도이고, tar.gz는 용량을 압축해서 묶음 디스크 용량 확인하기 1. 명령어df : 디스크 남은 용량 확인 (기본 명령어)df -k : 킬로바이트 단위로 남은 용량 확인df -m : 메가 바이트 단위로 남은 용량 확인df -h : 깔끔하게 보여줌df . : 현재 디렉토리가 포함된 파티션의 남..

01) Logstash 설정 메모리가 적은 경우 JVM 메모리 설정을 변경 sudo vi /etc/logstash/jvm.options sudo vi /etc/logstash/logstash.yml path.data: /var/lib/logstash path.config: /etc/logstash/conf.d -> 여기 밑에 logstash-nignx-es.conf 만들것 path.logs: /var/log/logstash sudo vi /etc/logstash/conf.d/logstash-nginx-es.conf input { beats { port => 5400 ssl => false # ssl => true # ssl_certificate_authorities => ["/etc/elk-certs/e..

Java는 8버전 이상 설치가 되어 있어야 함. 01) gpg key 추가 wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - 명령어 실행. (gpg key 추가) # ElasticSearch 7.x 추가 echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list 02) ElasticSearch 설치 sudo apt update 실행. sudo apt install elasticsearch 명령으로 엘라스틱서치 설치. 데몬 실행. 메모리가 4G 미만..

01) Oracle Virtual box 다운로드 https://www.virtualbox.org/wiki/Downloads Downloads – Oracle VM VirtualBox Download VirtualBox Here you will find links to VirtualBox binaries and its source code. VirtualBox binaries By downloading, you agree to the terms and conditions of the respective license. If you're looking for the latest VirtualBox 6.0 packages, see Virt www.virtualbox.org 홈페이지에서 맞는 운영체제 용 버츄..