일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- PHP 정규식 예제
- 아파치 웹 서버의 정보 숨기기
- wsl2 우분투에 docker 설치
- mod_security2 설치
- 유튜브 플레이 리스트 저장
- 숫자 3자리(천단위) 마다 콤마 찍기
- php 배열제거
- html pdf 변환
- javascript
- postfix 설치
- httpd.conf 보안 설정
- 윈도우 mod_security2
- (using password: YES)" when trying to connect
- 파라미터 & 오류
- php 이미지 url 검증 함수
- group_concat 구분자
- PHP 구글 OTP 연동
- mysqldump: Got error: 1045
- sha-2 root
- 비밀번호정규식
- thumbnail 클래스
- bootstrap modal
- apple push notification service (apns) is changing
- mariadb upgrade
- bootstrap
- 윈도우 환경 아파치 mod_security2 설치
- modsecurity 설치
- 비밀번호검증정규식
- 자바스크립트비밀번호검증
- usb efi 시스템 파티션 삭제
- Today
- Total
목록OS/Linux (35)
투덜이 개발자
우분투 아파치 홈 디렉토리 변경 apache2 루트 디렉토리 변경하기 서버에 LAMP는 잘 설치를 했고, 접속도 잘 되는데! 현재 웹서버의 루트 디렉토리가 /var/www/html 이라 이용에 불편함이 있는 거 같습니다용~소유자도 root 로 되어 있어서 꺼림직....그래서, 웹 담당 계정을 하나 만들고 그 계정을 이용해서 웹 작업을 할 수 있도록 수정을 하려고 합니다. 먼저, 웹 담당 계정 webmaster 를 만듭니다. 사실 원하는 이름 아무거나 해도 됩니다.새로운 계정 만드는 방법은 root 권한으로 아래처럼 할 수 있습니다. $ adduser webmaster /home 아래에 webmaster 라는 디렉토리가 생깁니다.webmaster 로 로그인을 한번 해보고 잘 되면 아래에 www 디렉토리를..

Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist이유는 미러리스트를 찾을수 없다는거고 업데이트를 해 주면 해결 된다. -- 1번 sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-*-- 2번 sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*

yum 명령어 실행 에러 (File "/usr/bin/yum", line 30) 파이선 업데이트 하면서 버전 문제임...yum 은 퍼아손 버전 2.7을 사용하는데 http://semantics.kr/yum-%EC%8B%A4%ED%96%89-%EC%8B%9C-syntaxerror/ 파이썬(Python) 3 업데이트 후 YUM 실행 시 SyntaxError: invalid syntax 에러 - SEMANTICSCentOS 7에서 파이썬(Python)을 2.7에서 3.6 버전으로 업데이트 한 후 yum 실행 시 SyntaxError: invalid syntax가 발생한다. 이를 해결하기 위해서는 yum이 파이썬 2.7 버전에서 실행될 수 있도록 수정해 주면 된semantics.kr

우분투 모드시큐리트 설치 에러 발생 모드시큐리트 modsecurity 모듈 설치sudo apt install libapache2-mod-security2 설치 확인apachectl -M | grep security 모듈 활성화 a2enmod security2 ModSecurity 설정cd /etc/modsecuritycp /etc/modsecurity/modsecurity.conf-recommended /etc/modsecurity/modsecurity.conf vi modsecurity.conf 파일을 열고 아래 추가#SecRuleEngine DetectionOnlySecRuleEngine Onhttps://cyong.tistory.com/61 [구축] Ubuntu/Apache WAF(Mods..
우분투 시간대(timezone) 변경하기 https://blog.buffashe.com/2020/02/changing-ubuntu-timezone/
웹 서버의 정보 숨기기 (apache) mod_security를 설치하자. https://aegypius.tistory.com/entry/%EC%95%84%ED%8C%8C%EC%B9%98-%EC%9B%B9-%EC%84%9C%EB%B2%84%EC%9D%98-%EC%A0%95%EB%B3%B4-%EC%88%A8%EA%B8%B0%EA%B8%B0 웹 서버의 정보 숨기기 (apache) 웹서버보안 : hide apache webserver information & mod_security curl, nc, httprint 등으로 서버의 정보를 수집하는 방법은 다양하다. 도메인이나 ip주소를 입력하면 해당 서버의 OS, 웹서버, 네임서버 등의 정보를 aegypius.tistory.com
새로 설치한 우분투 서버에서 wkhtmltopdf 설치하고 실행할려니 에러가 발생 root@hosting:/usr/bin# wkhtmltopdf wkhtmltopdf: error while loading shared libraries: libXrender.so.1: cannot open shared object file: No such file or directory root@hosting:/usr/bin# sudo apt-get install libxrender1 sudo apt-get install libxrender1 설치를 해 주면 오류가 해결 된다.
TRACE method 는 cross-site tracing, basic 인증 암호를 가로챌 수 있기 때문에 불필요하다고 판단 되므로 꼭 사용해야 하는 환경이 아닐 경우 제거하도록 합니다. 1. 확인 curl -k -X TRACE http://localhost TRACE / HTTP/1.1 User-Agent: curl/7.29.0 Host: localhost Accept: */* 2. 조치 간단히 httpd.conf 을 열어서 파일 최상단에 옵션을 추가하여 조치가 가능합니다. # vi /usr/local/apache/conf/httpd.conf TraceEnable off # /usr/local/apache/bin/apachectl restart 3. 재확인 curl -k -X TRACE http://..