본문 바로가기

728x90

CentOS

CentOS 8 미러 서버용 repository 파일 CentOS 8 미러 서버용 repository 파일 CentOS-Base.repo 편집 vim /etc/yum.repos.d/CentOS-Base.repo # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors. # # If the mirrorli.. 더보기
CentOS 7에서 MySQL 5.7를 바이너리 아카이브 파일로 설치하는 방법 CentOS 7에서 MySQL 5.7를 바이너리 아카이브 파일로 설치하는 방법 테스트 환경 운영체제 버전 정보 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) $ getconf LONG_BIT 64 DB : mysql 5.7.15 MySQL 계정 생성 groupadd -g 27 mysql useradd -m -c "MySQL Server" -d /usr/local/mysql -s /bin/false -g 27 -u 27 mysql MySQL Community Server 다운로드 받기 https://downloads.mysql.com/archives/community/ 작업 디렉토리로 이동 cd /usr/local/src 아카이브 파일 다운.. 더보기
리눅스 curl 명령어(curl bash -x) curl 명령어(curl bash -x) curl로 스크립트를 다운로드하기 curl -Ssf https://sangchul.kr/scripte/webconfsync.sh -o /tmp/webconfsync.sh curl로 스크립트를 다운로드하고 실행하기 curl -Ssf https://sangchul.kr/scripte/webconfsync.sh | bash -x wget을 사용하여 스크립트를 다운로드하고 실행하기 wget -qO - https://sangchul.kr/scripte/webconfsync.sh | bash -x 더보기
tee 명령어 tee 명령어 tee 명령어는 리눅스나 유닉스 환경에서 사용되는 명령어 중 하나로 표준 입력으로부터 입력을 받아 여러 개의 출력 스트림으로 출력하는 명령어입니다. 특히 파일과 표준 출력 모두에 출력할 수 있어서 유용하게 사용됩니다. (표준출력(stdout)을 화면과 파일로 동시에 출력하는 리눅스 명령어) 기본적인 구문 [입력 명령어] | tee [옵션] 파일명 위 명령어를 실행하면, 입력 명령어를 실행하고 그 결과를 출력 파일명에 지정한 파일과 표준 출력으로 출력합니다. 만약 출력 파일명이 지정되지 않으면 tee 명령어는 표준 출력으로만 결과를 출력합니다. 출력 파일이 이미 존재하는 경우 tee 명령어는 해당 파일을 덮어쓰게 됩니다. 이를 방지하고자 한다면 -a 옵션을 사용하여 이어쓰기 모드로 파일에 출.. 더보기
[linux] How To Install GoAccess on CentOS 8 How To Install GoAccess on CentOS 8 install goaccess $ yum install -y goaccess goaccess version infomation $ goaccess --version GoAccess - 1.5.4. For more details visit: https://goaccess.io/ Copyright (C) 2009-2020 by Gerardo Orellana Build configure arguments: --enable-debug --enable-utf8 --enable-geoip=legacy --with-getline --with-openssl goaccess execution $ goaccess access.log --log-format=C.. 더보기
GoAccess를 설치하고 로그를 분석하는 방법 GoAccess를 설치하고 로그를 분석하는 방법 goaccess : Real-time web log analyzer and interactive viewer 1. goaccess 설치 $ yum install -y goaccess $ goaccess --version GoAccess - 1.5.4. For more details visit: https://goaccess.io/ Copyright (C) 2009-2020 by Gerardo Orellana Build configure arguments: --enable-debug --enable-utf8 --enable-geoip=legacy --with-getline --with-openssl 2. 로그 파일 분석 아파치 로그 $ pwd /var/log.. 더보기
CentOS 8에서 Webalizer를 설치하는 방법 CentOS 8에서 Webalizer를 설치하는 방법 Webalizer는 웹 서버 로그를 분석하고 웹 사이트 트래픽을 시각화하는 데 사용되는 오픈 소스 웹 로그 분석 도구입니다. Webalizer는 다양한 유형의 웹 서버 로그를 지원하며, 다양한 시간 범위 및 요약 수준으로 웹 사이트 트래픽을 분석할 수 있습니다. Webalizer는 또한 웹 사이트 트래픽의 원천을 분석하고, 가장 인기 있는 웹 페이지를 식별하고, 각 웹 페이지의 평균 다운로드 시간을 계산할 수 있습니다. Webalizer를 사용하려면 먼저 웹 서버 로그를 Webalizer의 데이터베이스에 저장해야 합니다. Webalizer는 다양한 방법으로 웹 서버 로그를 가져올 수 있습니다. 가장 일반적인 방법은 Webalizer를 웹 서버에 설치하.. 더보기
[linux] rpcgen install for centos 8 rpcgen install for centos 8 CentOS-PowerTools.repo create file $ vim /etc/yum.repos.d/CentOS-PowerTools.repo # CentOS-PowerTools.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other m.. 더보기

728x90