본문 바로가기

728x90

전체 글

C276x260 [리눅스] virbr0 NAT 인터페이스 disable 시키기 virbr0 NAT 인터페이스 disable 시키기 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 packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 virsh net-list $ virsh net-list 이름.. 더보기
C276x260 [기타] iTerm2 zsh 테마(powerlevel10k) 설정하기 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 설치 공식 홈페이지 : .. 더보기
C276x260 [리눅스] GitLab에서 첨부 파일 크기 제한을 늘리는 방법 GitLab에서 첨부 파일 크기 제한을 늘리는 방법 Menu > Admin > 설정 > 일반 > 계정과 제한 > Maximum attachment size (MB) 더보기
C276x260 [클라우드] AWS CLI로 액세스 키(Access Key, Secret Access Key) 설정 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 ---- ----- ---- ---.. 더보기
C276x260 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.. 더보기
C276x260 [리눅스] gitlab root 계정 비밀번호 초기화 gitlab root 계정 초기 비밀번호 gitlab 컨테이너 로그 확인 docker-compose logs -f $ docker-compose logs -f ... gitlab | gitlab | == Seed from /opt/gitlab/embedded/service/gitlab-rails/db/fixtures/production/002_admin.rb gitlab | Administrator account created: gitlab | gitlab | login: root gitlab | password: ****** gitlab | ... gitlab | Running handlers: gitlab | gitlab | Notes: gitlab | Default admin account has .. 더보기
C276x260 Mac Time Machine 백업 시간 줄이기 Mac Time Machine 백업 시간 줄이기 낮은 프로세스 우선 순위 조절을 제거하여 타임머신 속도를 향샹 설정 sudo sysctl debug.lowpri_throttle_enabled=0 > sudo sysctl debug.lowpri_throttle_enabled=0 Password: debug.lowpri_throttle_enabled: 1 -> 0 확인 sysctl debug.lowpri_throttle_enabled > sysctl debug.lowpri_throttle_enabled debug.lowpri_throttle_enabled: 0 더보기
C276x260 CentOS 7에 Apache2의 확장 모듈인 Evasive를 설치하는 방법 CentOS 7에 Apache2의 확장 모듈인 Evasive를 설치하는 방법 EPEL 저장소 설치 yum install -y epel-release 필수 패키지 설치 yum install -y httpd httpd-devel Evasive 모듈 설치 yum install -y mod_evasive Evasive 활성화 및 설정 vim /etc/httpd/conf.d/mod_evasive.conf LoadModule evasive20_module /usr/lib64/httpd/modules/mod_evasive20.so apachectl -M | egrep evasive $ apachectl -M | egrep evasive evasive20_module (shared) Evasive 모듈에 대한 설정 m.. 더보기

728x90