본문 바로가기

728x90

Linux

Base64 인코딩(Base64 디코딩) Base64 인코딩(Base64 디코딩) Base64 인코딩 echo -n 'admin:admin' | base64 $ echo -n 'admin:admin' | base64 YWRtaW46YWRtaW4= Base64 디코딩 echo -n 'YWRtaW46YWRtaW4=' | base64 --decode $ echo -n 'YWRtaW46YWRtaW4=' | base64 --decode admin:admin BASE64 Decode and Encode https://www.base64encode.org/ Base64 Encode and Decode - Online Encode to Base64 format or decode from it with various advanced options. Our s.. 더보기
configure, make, make install 명령어 configure, make, make install 명령어 리눅스에서 소스 코드로부터 프로그램을 설치하는 과정은 일반적으로 configure, make, make install 명령어를 사용합니다. 명령 설명 configure configure 명령을 이용하여 Makfile 생성 make distclean make clean과 유사하지만 Makefile을 포함하여 configure에 의해 생성된 모든 파일도 삭제합니다. (파일을 받고 압축을 푼 처음 상태로 만드는 것) make Makefile에 따라 소스 코드를 컴파일하고 링크하고 목적 파일, 실행 파일을 생성합니다. (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.txt file.txt: 압축할 파일 fi.. 더보기
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를 웹 서버에 설치하.. 더보기
[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.. 더보기
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.. 더보기

반응형