목록분류 전체보기 (1395)
변군이글루(Mirror)

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..

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

Mac에서 스크린샷(화면캡쳐) 찍기 shift + cmd + 3 : 스크린샹(전체 화면 캡쳐) shift + cmd + 4 : 화면 일부를 캡처하는 방법(부분 화면 캡쳐) shift + cmd + 4 + space : 원도우 또는 메뉴를 캡쳐하는 방법 스크린샷이 저장되는 위치 스크린샷 저장 위치 : ~/Documents/screencapture/ defaults write com.apple.screencapture location ~/Documents/screencapture/ killall SystemUIServer 참고사이트 - https://support.apple.com/ko-kr/HT201361

CentOS 7에서 virbr0 NAT 인터페이스를 비활성화하는 방법 virbr0는 일반적으로 KVM (Kernel-based Virtual Machine)과 같은 가상화 솔루션에서 사용되는 NAT 네트워크 인터페이스입니다. virbr0 인터페이스 정보 확인 ifconfig virbr0 $ ifconfig virbr0 virbr0: flags=4099 mtu 1500 inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255 ether 52:54:00:ab:1a:22 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX ..

iTerm2 zsh 테마(powerlevel10k) 설정하기 iTerm2 설치 공식 홈페이지 : https://iterm2.com/ 또는 homebrew 명령으로 설치 brew install --cask iterm2 Oh My Zsh 설치 공식 홈페이지 : https://ohmyz.sh/ curl을 통해 oh-my-zsh 설치 sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" wget을 통해 oh-my-zsh 설치 sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" Solarized 설치 공식 홈페이지 : ..

GitLab에서 첨부 파일 크기 제한을 늘리는 방법 1. GitLab 서버에 로그인 SSH 또는 콘솔을 사용하여 GitLab 서버에 로그인합니다. 2. GitLab 구성 파일 찾기 GitLab의 구성 파일은 일반적으로 /etc/gitlab/gitlab.rb에 있습니다. 이 파일을 텍스트 에디터로 엽니다. sudo vim /etc/gitlab/gitlab.rb 3. 첨부 파일 크기 설정 찾기 구성 파일에서 첨부 파일 크기와 관련된 설정을 찾습니다. 보통 이 설정은 gitlab.rb 파일에 존재하며 nginx 및 gitlab_workhorse 설정에서 조정할 수 있습니다. # 예: 첨부 파일 크기를 100MB로 설정하는 경우 nginx['client_max_body_size'] = '100m' gitlab_..

AWS CLI로 액세스 키(Access Key, Secret Access Key) 설정 기본 자격 증명 사용 액세스 키 등록 $ aws configure AWS Access Key ID [None]: AKIAAWSAccessKeyID AWS Secret Access Key [None]: 4YoZAWSSecretAccessKey Default region name [None]: ap-northeast-2 Default output format [None]: json AWS 구성 파일 : ~/.aws/config 공유 자격증명 파일 : ~/.aws/credentials 액세스 키 리스트 확인 $ aws configure list Name Value Type Location ---- ----- ---- ---..

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..