본문 바로가기

분류 전체보기

C276x260.fwebp.q85 [draft] Mac Karabiner-Elements Mac Karabiner-Elements 맥 키보드 키 설정(맵핑) 프로그램Karabiner-Element 설치Karabiner-Element : https://karabiner-elements.pqrs.orgkarabiner.json 설정cat ~/.config/karabiner/karabiner.json{ "global": { "check_for_updates_on_startup": true, "show_in_menu_bar": true, "show_profile_name_in_menu_bar": false }, "profiles": [ { "complex_modifications": { .. 더보기
C276x260.fwebp.q85 [draft] SecureCRT 접속 시 Key exchange failed 오류 SecureCRT 접속 시 Key exchange failed 오류key exchange failed 오류No compatible key-exchange method. The server supports these methods: diffie-hellman-group14-sha256"No compatible key-exchange method. The server supports these methods: diffie-hellman-group14-sha256" 오류는 SecureCRT가 호환되는 키 교환 방법을 찾지 못하여 발생합니다. 이 오류를 해결하기 위해 다음 방법을 시도해 볼 수 있습니다. 1. SecureCRT 업데이트: SecureCRT의 최신 버전으로 업데이트하면 호환되는 키 교환 방법을 지.. 더보기
C276x260.fwebp.q85 [draft] Ubuntu Server 22.04 LTS(Jammy Jellyfish) Ubuntu Server 22.04 LTS(Jammy Jellyfish)LTS Releasesold releases - old-releases.ubuntu.comUbuntu 22.04.1 LTS (Jammy Jellyfish)Ubuntu 20.04.4 LTS (Focal Fossa)Ubuntu 18.04.6 LTS (Bionic Beaver)Ubuntu Server 22.04 LTS(Jammy Jellyfish)Ubuntu Server 22.04 LTS (Jammy Jellyfish) Daily Buildhttps://cdimage.ubuntu.com/ubuntu-server/daily-live/current/Ubuntu 22.04 LTS (Jammy Jellyfish) Betahttps://releas.. 더보기
C276x260.fwebp.q85 [draft] GitLab에서 리포지토리 미러링을 구성하는 방법 GitLab에서 리포지토리 미러링을 구성하는 방법(gitlab -> github 미러링) github 리포지토리 생성 및 tokens 생성repository 생성repository name : gitlab_mirrortokens 생성Settings > Developer settings > Personal access tokensgitlab 프로젝트 생성 및 미러링 설정프로젝트 생성프로젝트 그룹 : testG프로젝트 이름 : gitlab_source미러링 설정testG > gitlab_source > 저장소 설정Git 저장소 URL : https://아이디@github.com/아이디/gitlab_morror.git미러 방향 : Push인증 방법 : 패스워드패스워드 : 26911096892ee9823056d.. 더보기
C276x260.fwebp.q85 [draft] lsattr 명령어와 chattr 명령어 lsattr 명령어와 chattr 명령어Linux 시스템에서 파일 및 디렉토리의 속성을 관리하는 데 사용되는 유틸리티입니다.lsattr 명령어lsattr 명령어는 파일 및 디렉토리의 속성을 나열합니다. 파일 속성은 파일이나 디렉토리에 대한 특수한 권한이나 기능을 정의합니다.기본 구문lsattr [옵션] [파일 또는 디렉토리]주요 옵션-a : 모든 파일을 표시합니다.-d : 디렉토리의 속성을 표시합니다.-R : 하위 디렉토리를 재귀적으로 표시합니다.사용 예시1. 디렉토리 내 모든 파일 및 디렉토리의 속성 표시lsattr /path/to/directory$ lsattr /etc/sudoers---------------- /etc/sudoers2. 재귀적으로 모든 파일 및 디렉토리의 속성 표시lsattr -R.. 더보기
C276x260.fwebp.q85 [draft] 리눅스에서 ulimit을 설정하는 방법 리눅스에서 ulimit을 설정하는 방법현재 세션에서만 유효한 임시 설정시스템 부팅 시부터 적용되는 영구 설정재부팅 또는 세션 재시작1. 현재 세션에서만 유효한 임시 설정현재 세션에서만 유효한 임시 설정은 ulimit 명령어를 사용하여 설정할 수 있습니다.ulimit -(H 또는 S) (옵션) (값)-H는 하드 리밋을 설정하는 옵션이고, -S는 소프트 리밋을 설정하는 옵션입니다. 옵션은 ulimit의 종류를 지정하는 것으로, 다음과 같은 종류가 있습니다. nofile : 열린 파일의 최대 개수현재 세션에서 사용자의 최대 파일 디스크립터 수를 65535로 설정합니다. 이 변경 사항은 현재 세션에서만 적용되며 세션이 종료되면 리셋됩니다.ulimit -n 65535nproc : 프로세스의 최대 개수현재 세션에서.. 더보기
C276x260.fwebp.q85 [draft] AWS EC2 Linux 인스턴스에 SecureCRT를 사용하여 SSH 접속 시 발생하는 오류 AWS EC2 Linux 인스턴스에 SecureCRT를 사용하여 SSH 접속 시 발생하는 오류SecureCRT 오류The client has disconnected from the server.Reason: Unable to authenticate using any of the configured authentication methods."Unable to authenticate using any of the configured authentication methods" 오류는 SecureCRT를 사용하여 AWS EC2 Linux 인스턴스에 SSH로 접속할 때 발생할 수 있는 일반적인 문제입니다. 이 오류를 해결하기 위해 다음과 같은 단계를 따를 수 있습니다. SSH 키 페어 생성AWS EC2 인스턴스에.. 더보기
C276x260.fwebp.q85 [draft] 웹 서버의 성능을 향상시키기 위한 커널 파라미터 튜닝하는 방법 웹 서버의 성능을 향상시키기 위한 커널 파라미터 튜닝하는 방법웹 서버(Nginx + PHP-FPM)에서 더 많은 사용자 및 연결을 처리하기 위해 커널 파라미터를 튜닝하는 것은 중요한 과정입니다. 이로 인해 시스템의 성능이 향상되고 더 많은 동시 연결을 처리할 수 있게 됩니다.1. TCP 스택 튜닝net.core.somaxconn : 대기 중인 연결 큐의 최대 크기를 설정합니다.net.core.netdev_max_backlog : 네트워크 장치에서 처리되지 않은 패킷의 최대 큐 길이를 설정합니다.sysctl -w net.core.somaxconn=65535sysctl -w net.core.netdev_max_backlog=655352. TCP 연결 설정 튜닝net.ipv4.tcp_max_syn_backlo.. 더보기