본문 바로가기

728x90
반응형

리눅스/명령어

Siege 명령어 Siege 명령어 Siege 현재 설정 확인 siege -C $ siege -C CURRENT SIEGE CONFIGURATION Mozilla/5.0 (redhat-x86_64-linux-gnu) Siege/4.1.1 Edit the resource file to change the settings. ---------------------------------------------- version: 4.1.1 verbose: true color: true quiet: false debug: false protocol: HTTP/1.1 HTML parser: enabled get method: HEAD connection: close concurrent users: 25 time to run: n/a r.. 더보기
ping, telnet으로 통신(포트) 상태 확인 ping, telnet으로 통신(포트) 상태 확인ping test(ICMP)ping -c 3 8.8.8.8$ ping -c 3 8.8.8.8PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.64 bytes from 8.8.8.8: icmp_seq=1 ttl=105 time=26.5 ms64 bytes from 8.8.8.8: icmp_seq=2 ttl=105 time=26.5 ms64 bytes from 8.8.8.8: icmp_seq=3 ttl=105 time=26.5 ms--- 8.8.8.8 ping statistics ---3 packets transmitted, 3 received, 0% packet loss, time 2003msrtt min/avg/max/mdev .. 더보기
systemctl: 명령을 찾을 수 없음 systemctl: 명령을 찾을 수 없음 에러 systemctl: command not found 리눅스에서 systemctl 명령을 찾을 수 없는 경우, 시스템이 systemd를 사용하지 않는 경우일 수 있습니다. systemd는 리눅스에서 사용되는 초기화 및 서비스 관리 시스템으로, 대부분의 최신 배포판에서 사용됩니다. 만약 systemd가 설치되어 있지 않다면, systemctl 명령을 찾을 수 없을 것입니다. 이 경우에는 init 시스템을 사용하여 시스템 서비스를 관리할 수 있습니다. 그러나, systemd가 설치되어 있다면, systemctl 명령을 찾을 수 없는 이유는 PATH 환경 변수에 systemd 명령어가 위치한 디렉토리가 등록되어 있지 않아서일 수 있습니다. PATH에 /usr/bin.. 더보기
한 줄 명령으로 자체 서명된 SSL 인증서를 생성하는 방법 한 줄 명령으로 자체 서명된 SSL 인증서를 생성하는 방법 Common Name(CN)은 예시로 "example.com"을 사용합니다. openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 \ -keyout example.key -out example.crt \ -subj "/C=US/ST=California/L=Los Angeles/O=Example Company/OU=IT Department/CN=example.com" 위 명령어는 다음과 같은 역할을 합니다. -new: 새로운 CSR(Certificate Signing Request)을 생성합니다. -newkey rsa:2048: RSA 알고리즘을 사용하여 2048비트 개인키를 생성합니다. -days .. 더보기

728x90
반응형