본문 바로가기
반응형

전체 글1083

Apache - ErrorDocument 설정 아파치에서 Error 페이지를 Redirect 할 수 있는 간단한 방법을 소개 하겠습니다. 기본적으로 httpd.conf 파일을 수정하게 되면 전체로 적용 됩니다. # Some examples: #ErrorDocument 500 “The server made a boo boo.” #ErrorDocument 404 /missing.html #ErrorDocument 404 “/cgi-bin/missing_handler.pl” #ErrorDocument 402 http://www.example.com/subscription_info.html # ErrorDocument 400 https://asecurity.dev/ ErrorDocument 402 https://asecurity.dev/ 주석아래 2문장을 .. 2020. 11. 3.
Linux - Crontab How to use 크론탭은 기본적으로 Windows 작업 스케줄러와 같습니다. 사용자 별로 존재하며, 사용할 수 있습니다. Crontab Basic crontab -e : 제일 많이 사용하는 명령으로, 현재 등록된 작업을 확인하고 수정할 수 있습니다. crontab -l : 현재 작업 리스트를 출력하는 명령입니다. crontab -r : 등록된 작업을 초기화하여 제거하는 명령입니다. Crontab Run time 실행 주기를 지정합니다. 표시는 5개이고, 분 시간 일 월 요일 순입니다. 요일을 1이 월요일 0과7은 일요일 입니다. * * * * * 분(0-59) 시간(0-23) 일(1-31) 월(1-12) 요일(0-7) 크론탭은 만약 지정하지 않으면(*는 지정하지 않은 것을 의미합니다.) 하위를 기준으로 실행 간격을 만들.. 2020. 11. 3.
Tools - 포랜식 증거 확보/분석을 위한 데이터 수집 도구 오래된 글이지만, 도구 확인에 유용하여 보관 포랜식 증거 확보/분석을 위한 데이터 수집 도구 Computer data collection for securing/analyzing Psinfo: http://technet.microsoft.com/en-us/sysinternals/bb897550, 시스템 정보 확인 PsLoggedon: http://technet.microsoft.com/en-us/sysinternals/bb897545, 로그인 사용자 정보 확인 Logonsessions: http://technet.microsoft.com/en-us/sysinternals/bb896769, 로그인 사용자 정보 확인 Tlist: Windbg(http://www.microsoft.com/download/en/.. 2020. 11. 3.
.Net for Apache Spark 1.0 공개 최근에 .Net for Apache Spark 1.0을 공개하였습니다. 성능이 Python보다는 개선된 모습을 보이네요. Scala와는 비슷한 모습을 보여줌으로써 개발 언어로 사용한다고 가정할 때 빅데이터 전용 언어인 Scala보다는 유연하고 성능도 괜찮은 부분에서는 더욱 활용성이 높아지지 않았나 라는 생각이 듭니다. Apache Spark도 2.4/3.0을 지원하여 3.0 대 사용이 가능합니다. 자세한 내용은 다음 링크를 참고하세요. https://devblogs.microsoft.com/dotnet/announcing-version-1-0-of-net-for-apache-spark Announcing Version 1.0 of .NET for Apache Spark | .NET Blog Today w.. 2020. 11. 1.
C# - DirectorySearcher search result more than 1000 When searching Active directory, DirectorySearcher will be used to retrieve information from Active Directory. Below is the code that gets the username information. string DomainPath = "LDAP://DC=domain,DC=com"; DirectoryEntry searchRoot = new DirectoryEntry(DomainPath); DirectorySearcher search = new DirectorySearcher(searchRoot); search.Filter = "(&(objectClass=user)(objectCategory=person))"; .. 2020. 11. 1.
Azure add DNS address when use dynamic ip By default, Azure does not give a DNS name. And if you use dynamic IP, IP will be changed by server restart or automatic check (update), so DNS must be used to access the server. Configurations are possible under the VM. Just fill in the appropriate name. 2020. 11. 1.
반응형