일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- MySQL
- 워드프레스한글팩
- 중독 게임
- xcache
- node 이미지 저장
- simplexml_load_filesimplexml
- strtotime
- 리플리케이션 오류
- ssmtp
- mongodb
- 훼인
- 외래키
- quota
- 태권v
- openfire
- rsync
- 재귀쿼리
- 이미지주소추출
- php-fpm
- 태권브이
- node.js
- php
- security.limit_extensions
- 특정 패키지 업데이트 중지 / 해제
- 날짜계산
- no key alg
- 뒤로 가기
- 쁘띠프랑스
- 앞으로 가기
- set foreign_key
- Today
- Total
목록분류 전체보기 (245)
일상 기록 창고

1. debezium mariadb 플러그인 가져오기 - https://debezium.io/releases/3.1/ Debezium Release Series 3.1Debezium is an open source distributed platform for change data capture. Start it up, point it at your databases, and your apps can start responding to all of the inserts, updates, and deletes that other apps commit to your databases. Debezium is durable adebezium.io - 해당 사이트로 접속 후 MariaDB connector P..
https://kafka.apache.org/quickstart Apache KafkaApache Kafka: A Distributed Streaming Platform.kafka.apache.org 1. /usr/local 압축 해제$ tar xvzf kafak_2.13-4.0.0.taz -C /usr/local/$ cd /usr/local$ ln -s /usr/local/kafka_2.13.4.0.0 ./kafka $ cd /usr/local/kafka/## Generate a Cluster UUID $ KAFKA_CLUSTER_ID="$(bin/kafka-storage.sh random-uuid)" 2. zookeeper 설정 ( /usr/local/kafka/config/zoookeeper.pr..
- 패키지 리스트 조회dpkg --get-selections - 업그레이드 중지(hold)echo "libapache2-mod-php8.3 hold" | sudo dpkg --set-selections - 업그레이드 중지 해제(install)echo "libapache2-mod-php8.3 install" | sudo dpkg --set-selections - 업그레이드 중지(hold) 모두 초기화dpkg --clear-selections
1. .mysql_history 삭제 처리root@id:~# .mysql_history 2. 심볼릭 링크 처리 하자root@id:~# ln -s /dev/null .mysql_history
1. 파일 삭제root@id:~# rm -rf .bash_history 2. 메모리에 남아 있는 내용도 삭제하자.root@id:~# history -c 3. 모든 사용자의 history 비활성화를 위한 설정root@id:~# echo “unset HISTFILE” >> /etc/profileroot@id:~# source /etc/profile 4. 특정 사용자만 처리 할 경우echo “unset HISTFILE” >> /home/@계정/.bash_profile
.mysql_history export MYSQL_HISTFILE=/dev/null .bash_historyrm .bash_historyln -s /dev/null .bash_history파일 삭제 후 , 그냥 심볼릭 링크 생성 해주자.

ssl 관련 옵션 넣고 실행시 routines::unsafe legacy renegotiation disabled 오류 발생routines::unsafe legacy renegotiation disabled openssl.cnf 에 다음 옵션을 넣자.Options = UnsafeLegacyRenegotiation openssl.cnf 의 위치를 모를 경우 php 설정 확인해보기php -i | grep openssl 혹은 등록 후 php-fpm 를 사용 중이라면 재 시작 혹은 웹서버 재시작.
보호되어 있는 글입니다.
openssh 보안 강화로 발생하는 문제라고 한다. OpenSSH가 7.0이상 시 키 교환 알고리즘이 기본으로 켜져 있지 않아 발생하는 문제 접속 하려는 우분 서버에 설정을 다음과 같이 하자. vi /etc/ssh/sshd_config # SSH 호스트 키 알고리즘 설정 HostKeyAlgorithms +ssh-rsa # 공개키 인증 설정 PubkeyAuthentication yes PubkeyAcceptedKeyTypes ssh-rsa PubkeyAcceptedAlgorithms +ssh-rsa systemctl restart sshd
1. css 나 폰트 호출하는 공격 ( 리퍼러 체크해서 직접 호출 제한 ) ex ) GET 도메인/css/style.css location ~* \.( css|js|폰트 )$ { if ($http_referer = "") { return 403; } } 2. 1 번 사항 연장 ex) GET 도메인/css/style.css?_=12345667 의 경우 나 ?v=13234 뭐 상황에 맞게 대처 location ~* \.( css|js|폰트 )$ { if ( $args ~ "_=" ) { return 403; } if ($http_referer = "") { return 403; } } 3. 파일 다운로드의 경우도 리퍼러 체크시에만 작동하도록 처리 4. 모바일 페이지가 아닌데 모바일 에이전트로 확인이 되는 경..