본문 바로가기

반응형

전체 글

도커 컨테이너 시간 설정(timezone) 도커 컨테이너 시간 설정 docker run docker run -it --rm -v /usr/share/zoneinfo/Asia/Seoul:/etc/localtime:ro centos bash $ docker run -it --rm -v /usr/share/zoneinfo/Asia/Seoul:/etc/localtime:ro centos bash [root@5574276d2005 /]# date Tue Oct 27 16:20:02 KST 2020 docker-compose(volume 마운트) $ cat docker-compose.yml version: '3.2' services: centos: container_name: centos entrypoint: bash -c "while [ 0 ]; do s.. 더보기
원도우에서 시스템 부팅 시간(uptime)을 확인하는 방법 원도우에서 시스템 부팅 시간(uptime)을 확인하는 방법 1. 작업 관리자 사용하기 Ctrl + Shift + Esc를 누르거나 작업 표시줄에서 우클릭하여 "작업 관리자"를 선택합니다. "성능" 탭으로 이동합니다. "시스템" 섹션에서 "시작 시간" 항목을 확인할 수 있습니다. 이 시간은 시스템이 부팅된 시점을 나타냅니다. 2. 명령 프롬프트 또는 PowerShell 사용하기 "Windows 로고 + R" 키를 누르고 "cmd" 또는 "powershell"을 입력하여 명령 프롬프트 또는 PowerShell을 실행합니다. 다음 명령어를 입력하여 시스템 부팅 시간을 확인합니다. 명령 프롬프트 systeminfo | find "시스템 부트 시간" C:\Users\Administrator>systeminfo |.. 더보기
[제품] COX CK87 BT 게이트론 블루투스 5.0 텐키리스 기계식 게이밍 키보드(CK87 BT 키보드) COX CK87 BT 게이트론 블루투스 5.0 텐키리스 기계식 게이밍 키보드 블루투스 연결(페어링) 사용자 편의를 위한 단축키 더보기
[제품] 로지텍 M720 Triathlon Mouse 로지텍 M720 Triathlon Mouse 블루투스 연결(페어링) 설치 가이드(PDF) 사양 및 세부 정보 로지텍 M720 Triathlon 멀티-컴퓨터 무선 마우스 프로그래밍 가능 버튼과 24개월 배터리 수명을 갖춘 M720 Triathlon 무선 마우스를 이용하여 최대 3대의 컴퓨터를 연결해 원활한 통신을 구축할 수 있습니다. www.logitech.com 더보기
AWS CLI를 사용하여 Amazon EC2 인스턴스 리스트 출력 AWS CLI를 사용하여 Amazon EC2 인스턴스 리스트 출력(aws ec2 describe-instances) 태그 입력 전 - 출력 aws --region ap-northeast-2 ec2 describe-instances \ --query 'Reservations[*].Instances[*].[Tags[0].Value, \ PrivateIpAddress, State.Name, InstanceType, InstanceId, Placement.AvailabilityZone]' \ --output=table ec2 describe-instances : EC2 인스턴스의 상세 정보를 가져오는 명령입니다. --region ap-northeast-2 : 명령이 실행될 리전을 지정합니다. 여기서는 서울 리전.. 더보기
취약점을 방지하기 위한 보안 HTTP 헤더를 설정하기 취약점을 방지하기 위한 보안 HTTP 헤더를 설정하기 X-Content-Type-Options ###Apache Header set X-Content-Type-Options nosniff ###Nginx add_header X-Content-Type-Options nosniff; X-XSS-Protection ###Apache Header set X-XSS-Protection "1; mode=block" ###Nginx add_header X-XSS-Protection "1; mode=block"; X-Frame-Options ###Apache Header always append X-Frame-Options DENY ###Nginx add_header X-Frame-Options “DENY”; HTTP.. 더보기
Amazon RDS mysql(mariadb) 데이터베이스 마이그레이션 Amazon RDS mysql(mariadb) 데이터베이스 마이그레이션 [소스 데이터베이스(sdb.sangchul.kr)] 데이터베이스 접속 테스트 mysql -hsdb.sangchul.kr -umyuser -p'mypassword1!' mydata_DB $ mysql -hsdb.sangchul.kr -umyuser -p'mypassword1!' mydata_DB mysql: [Warning] Using a password on the command line interface can be insecure. Reading table information for completion of table and column names You can turn off this feature to get a quicke.. 더보기
[리눅스] NGING에서 PHP-FPM 상태를 활성화하고 모니터링하는 방법 NGING에서 PHP-FPM 상태를 활성화하고 모니터링하는 방법 nginx 설정 vim /etc/nginx/conf.d/default.conf $ vim /etc/nginx/conf.d/default.conf ... # nginx, php-fpm status location ~ ^/(status|ping)$ { fastcgi_pass unix:/run/php-fpm/php-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_index index.php; include fastcgi_params; allow 127.0.0.1; allow 10.11.0.0/16; allow 10.21.0.0/16; allow .. 더보기

728x90
반응형