일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 부트스트랩4 세로 중앙 정렬
- javascript
- libxrender1
- svn 충돌 해결 resolve
- 윈도우 tail
- 비밀번호정규식
- wkhtmltopdf 실행 오류
- group_concat 구분자
- svn 충돌 해결 resolved
- 아파치 웹 서버의 정보 숨기기
- JQuery checkbox 컨트롤
- 비밀번호검증정규식
- magic bytes
- 자바스크립트비밀번호검증
- php 특정 문자열 취환
- html pdf 변환
- Windows tail
- PHP 구글 OTP 연동
- 세로 중앙 정렬
- bootstrap modal
- 구글 OTP 인증
- mysqldump: Got error: 1045
- mysql root 비밀번호 변경
- 우분투 mysql 비밀번호 없이 로그인 될때
- (using password: YES)" when trying to connect
- PHP 정규식 예제
- PHP 구글 OTP 인증
- bootstrap
- 아마존 aws 탈퇴하기
- php 개행문자
- Today
- Total
목록OS (32)
투덜이 개발자
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
우분투 모드시큐리트 설치 에러 발생 sudo apt-get install libapache2-mod-security2이렇게 다시 설치 설치 확인apachectl -M | grep security ModSecurity 설정cd /etc/modsecurity cp /etc/modsecurity/modsecurity.conf-recommended /etc/modsecurity/modsecurity.conf vi modsecurity.conf 파일을 열고 아래 추가#SecRuleEngine DetectionOnly SecRuleEngine On # ModSecurity Core Rule Set (CRS) IncludeOptional /usr/share/modsecurity-crs/*.conf #Include..
우분투 시간대(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 설치를 해 주면 오류가 해결 된다.
Windows에서 Linux/Unix와 같이 tail 명령어 사용하기 위해서는 윈도우즈의 PowerShell을 이용해야 한다. PowerShell 실행 후 tail 기능을 사용하고 싶은 위치로 이동한다. tail 관 같은 윈도우 명령어 get-content 를 사용한다. get-content -wait -tail
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://..