리눅스 썸네일형 리스트형 리눅스 curl 명령어(curl bash -x) 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 더보기 CentOS 7에서 virbr0 NAT 인터페이스를 비활성화하는 방법 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 .. 더보기 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_.. 더보기 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 소켓은 네트워크에 남아 있는 패킷을.. 더보기 이전 1 ··· 115 116 117 118 119 120 121 ··· 133 다음