Category: Linux
Wireguard wg-quick prevent changes routing table
wireguard + quagga(ospfd) 돌리는데안 돌아가서 보니 멀티캐스트(224.0.0.0/8)이 허락이안된다.그런데 10.0.0.0/8을 넣고 보니 AllowedIPs 에 0.0.0.0/0을 넣으면 default gateway가 되어버린다 ㅡ.ㅡ 찾아보니 wg-quick 사용할 때 [Interface]란에 Table=off 를 넣으면 라우팅테이블에 관여하지 않겠다는게… Continue reading "Wireguard wg-quick prevent changes routing table"
리눅스 대량 파일명 변경 sed
리눅수에서 파일명을 변경 할 이유가 생겼다. 이러한 파일이 1만개 가량 있는 상태이다. 원본은 68999843_p0.jpg 일 터인데 앞에 (9970) 이라는게 붙어 있어서 마음에 안들었다. find 명령에도 정규식으로 찾기 라는게 있지만 정규식에서… Continue reading "리눅스 대량 파일명 변경 sed"
리눅스 퍼미션 디렉토리 others 지우기
리눅스 퍼미션은 폴더는 기본 755 파일은 644 이다. 그런데 나는 이 상태로 other 권한을 없애려고 한다. 이러면 파일과 디렉터리에 퍼미션 손상없이 된다 ^^
Debian unable to get local issuer certificate
debian 10 buster opensslVerification error: unable to get local issuer certificateVerify return code: 20 (unable to get local issuer certificate)
Debian 10 OpenSSL 최신버전 빌드
debian 10 에서 openssl 최신버전 빌드. zlib. apt install build-essential 1 소스 파일 다운로드 및 압축해제 https://www.openssl.org/source/ 이 링크를 통해 최신버전을 받을 수 있다.2020년 12월 11일 기준 : openssl-1.1.1i.tar.gz 2… Continue reading "Debian 10 OpenSSL 최신버전 빌드"
iptables Port Forward to another Public IP (TCP Proxy)
iptables tcp/udp port forward to another global ip address (also another port) 리눅스 포트 포워딩 iptables로 TCP 로 다른 서버(Public IP또는 물리적으로 동일한 인터페이스에 연결되지 않은 IP주소)에 포워딩 하려면 문제가… Continue reading "iptables Port Forward to another Public IP (TCP Proxy)"
Linux readline 라이브러리 설치
** Cannot –enable-pcretest-readline because readline/readline.h was not found. CentOS 8, 7 Debian 10, 9
CentOS 8 Enable PowerTools Repository
nothing provides python3-mock… C8 에서는 기본적으로 활성화 된 repo가 제한적이다. 1 PowerTools repo 활성화 yum config-manager --set-enabled PowerTools yum-config-manager sudo yum install 'dnf-command(config-manager)' ?? 어느 순간 이후부터 repository명이… Continue reading "CentOS 8 Enable PowerTools Repository"
리눅스 Openresty nginx 빌드 설치 with brotil
(데비안 10기준)에서 openresty 빌드설치하기… openresty는 nginx에 이것저것 묶은 버전입니다.. 특히 LuaJIT이 달려있어 WAS를 스크립트로 더 자유자재로 다루고 싶을 때 사용합니다. 카카오 회사도 openresty를 사용한 것 같기도. Openresty 소스 다운로드 https://openresty.org/en/download.html… Continue reading "리눅스 Openresty nginx 빌드 설치 with brotil"