분류 전체보기 썸네일형 리스트형 GitLab에서 첨부 파일 크기 제한을 늘리는 방법 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 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 에러 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.. 더보기 GitLab의 root 계정 비밀번호를 초기화하는 방법 GitLab의 root 계정 비밀번호를 초기화하는 방법 GitLab의 root 계정 비밀번호를 초기화하려면 GitLab 컨테이너 내부에서 gitlab-rails 콘솔을 사용하여 비밀번호를 변경해야 합니다. 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 .. 더보기 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 더보기 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.. 더보기 netstat 명령어 netstat 명령어 netstat 명령어는 네트워크 통계 정보를 확인하거나 현재의 네트워크 연결 상태를 조회하기 위해 사용되는 명령어입니다. 이를 통해 로컬 시스템에서 수신 중인 및 송신 중인 네트워크 연결, 라우팅 테이블, 인터페이스 상태 등의 정보를 확인할 수 있습니다. netstat 상태(State) state description ESTABLISHED 소켓에 연결이 설정되어 있습니다. SYN_SENT 소켓이 연결을 적극적으로 설정하려고 시도하고 있습니다. SYN_RECV 네트워크에서 연결 요청이 수신되었습니다. FIN_WAIT1 소켓이 닫히고 연결이 종료됩니다. FIN_WAIT2 연결이 닫히고 소켓이 원격 끝에서 종료되기를 기다리고 있습니다. TIME_WAIT 소켓은 네트워크에 남아 있는 패킷을.. 더보기 [draft] tee 명령어 tee 명령어tee 명령어는 리눅스나 유닉스 환경에서 사용되는 명령어 중 하나로 표준 입력으로부터 입력을 받아 여러 개의 출력 스트림으로 출력하는 명령어입니다. 특히 파일과 표준 출력 모두에 출력할 수 있어서 유용하게 사용됩니다.(표준출력(stdout)을 화면과 파일로 동시에 출력하는 리눅스 명령어)기본적인 구문[입력 명령어] | tee [옵션] 파일명위 명령어를 실행하면 입력 명령어를 실행하고 그 결과를 출력 파일명에 지정한 파일과 표준 출력으로 출력합니다. 만약 출력 파일명이 지정되지 않으면 tee 명령어는 표준 출력으로만 결과를 출력합니다. 출력 파일이 이미 존재하는 경우 tee 명령어는 해당 파일을 덮어쓰게 됩니다. 이를 방지하고자 한다면 -a 옵션을 사용하여 이어쓰기 모드로 파일에 출력할 수 있.. 더보기 이전 1 ··· 151 152 153 154 155 156 157 ··· 175 다음