Linux 썸네일형 리스트형 configure, make, make install 명령어 configure, make, make install 명령어리눅스에서 소스 코드로부터 프로그램을 설치하는 과정은 일반적으로 configure, make, make install 명령어를 사용합니다. 명령설명configureconfigure 명령을 이용하여 Makfile 생성make distcleanmake clean과 유사하지만 Makefile을 포함하여 configure에 의해 생성된 모든 파일도 삭제합니다.(파일을 받고 압축을 푼 처음 상태로 만드는 것)makeMakefile에 따라 소스 코드를 컴파일하고 링크하고 목적 파일, 실행 파일을 생성합니다.(Makfile를 이용해서 소스 코드를 컴파일하여 실행가능한 설치파일을 만듬)make clean마지막 make 명령으로 생성된 개체 파일(접미사가 "... 더보기 gzip 명령어, gunzip 명령어 gzip 명령어, gunzip 명령어gzip과 gunzip은 유닉스(리눅스) 시스템에서 사용되는 명령어로 파일들을 압축하거나 해제하는데 사용됩니다. gzip은 파일을 압축하고 gunzip은 압축된 파일을 해제합니다.gzip 명령어의 기본 구문gzip [옵션] [파일]gunzip 명령어의 기본 구문gunzip [파일.gz]주요 옵션(gzip)-c: 압축한 파일을 표준 출력으로 출력 (stdout)-d 또는 --decompress: 압축 해제-r 또는 --recursive: 디렉토리를 재귀적으로 압축 또는 해제-v 또는 --verbose: 상세 정보 출력사용 예시파일 file.txt를 압축하여 file.txt.gz로 저장gzip file.txtfile.txt: 압축할 파일file.txt.gz: 압축된 파일압.. 더보기 CentOS 7에서 PHP rdkafka 확장(Extension) 모듈을 설치하는 방법 CentOS 7에서 PHP rdkafka 확장(Extension) 모듈을 설치하는 방법 테스트 환경 nginx php-fpm PHP 버전 확인 php -v $ php -v PHP 7.3.27 (cli) (built: Feb 2 2021 10:32:50) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.27, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.3.27, Copyright (c) 1999-2018, by Zend Technologies PHP 저장소 버전 확인 yum info php | egrep 'Name|Arch|Version|Repo' 2 $ yum info p.. 더보기 ssh 접속 시 no matching key exchange method found 에러 ssh 접속 시 no matching key exchange method found 에러 테스트 환경 $ cat /etc/redhat-release CentOS release 5.6 (Final) $ getconf LONG_BIT 32 $ openssl version OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 $ ssh -V OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 [에러] Unable to negotiate with 192.168.0.101 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-h.. 더보기 CentOS 8에서 Webalizer를 설치하는 방법 CentOS 8에서 Webalizer를 설치하는 방법Webalizer는 웹 서버 로그를 분석하고 웹 사이트 트래픽을 시각화하는 데 사용되는 오픈 소스 웹 로그 분석 도구입니다. Webalizer는 다양한 유형의 웹 서버 로그를 지원하며, 다양한 시간 범위 및 요약 수준으로 웹 사이트 트래픽을 분석할 수 있습니다. Webalizer는 또한 웹 사이트 트래픽의 원천을 분석하고, 가장 인기 있는 웹 페이지를 식별하고, 각 웹 페이지의 평균 다운로드 시간을 계산할 수 있습니다. Webalizer를 사용하려면 먼저 웹 서버 로그를 Webalizer의 데이터베이스에 저장해야 합니다. Webalizer는 다양한 방법으로 웹 서버 로그를 가져올 수 있습니다. 가장 일반적인 방법은 Webalizer를 웹 서버에 설치하고.. 더보기 rpcgen install for centos 8 rpcgen install for centos 8CentOS-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 mirrors... 더보기 curl 명령어로 웹사이트 로딩 속도를 테스트하는 방법 curl 명령어로 웹사이트 로딩 속도를 테스트하는 방법 curl 버전 정보 $ curl --version curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets http code 출력 curl -s -o /dev/nul.. 더보기 Apache Kafka(Zookeeper)를 클러스터 구성하는 방법 Apache Kafka(Zookeeper)를 클러스터 구성하는 방법구성 환경$ cat /etc/redhat-releaseCentOS Linux release 7.9.2009 (Core)$ getconf LONG_BIT64카프카 클러스터 다이어그램이미지 출처 : http://www.liferaysavvy.com/2021/07/setup-kafka-cluster.htmlApache Kafka(Zookeeper)를 클러스터 구성하는 방법java 설치$ yum install -y java-11-openjdk.x86_64$ java --versionopenjdk 11.0.13 2021-10-19 LTSOpenJDK Runtime Environment 18.9 (build 11.0.13+8-LTS)OpenJDK 6.. 더보기 이전 1 ··· 12 13 14 15 16 17 18 ··· 44 다음