Open Source
-
Mongo DB 커뮤니티 버전 설치 - CentOS 7Open Source 2019. 10. 30. 22:17
몽고DB 설치 가이드 : https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/ 1. YUM 설치를 위한 몽고DB 저장소 추가 # vi /etc/yum.repos.d/mongodb-org-4.2.repo 파일 추가 [mongodb-org-4.2] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.2/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc 2. mongdb 커뮤니티 설치 # yum install -y mongo..
-
[ OSS - WinSCP ] Linux SFTP 접속Open Source 2019. 8. 6. 13:20
리눅스에서 hostkey 얻는 방법. (SFTP로 접속할 계정으로 SSH 로그인) $ ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key 2048 ....... WinSCP 스크립트 파일 : scriptfile.txt open sftp://user:password@host -hostkey="ssh-rsa 2048 ......." close exit 배치파일 (bat) 작성 @echo off winscp.com /ini=nul /script=scriptfile.txt
-
freesshd를 이용한 windows 서버 ssh 접속Open Source 2019. 7. 12. 20:59
freesshd는 windows 서버를 ssh를 이용하여 접속할 수 있는 프로그램이다. 강력한 암호화 및 인증 기능을 제공하고, SFTP 서버에 연결하여 원격파일에 액세스 할 수도 있다. 다운로드 : http://www.freesshd.com/?ctt=download freeSSHd and freeFTPd - open source SSH and SFTP servers for Windows Downloads Here you can download the latest version of freeSSHd and freeFTPd. Please have in mind that you must have administrator privileges to install both applications. www.free..
-
[ OSS - webknight ] IIS 웹 방화벽 보안 - 1부(설치)Open Source 2019. 6. 24. 19:19
AQTRONIX WebKnight 는 IIS 웹 서버의 어플리케이션 웹 방화벽이다. 자세한 소개는 https://www.aqtronix.com/?PageID=99#What 를 참고하면 되며, 오픈소스 이다. - 운영체제 : Windows 2012 R2 - IIS 8.5 - ISAPI filters andextensions 설치되어야 함 1. 홈페이지에 접속하여 좌측 메뉴바에서 "Download" 를 클릭. ( https://www.aqtronix.com ) 2. 본문페이지에서 스크롤을 내려서 "Archived downloads" 를 클릭 3. "E-mail을 입력"하고, "최신버전 버전 공지 체크" - 공지체크를 않해도 다운로드 페이지로 넘어간다. 버전별로 다운로드 페이지가 나오면 원하는..
-
[ OSS - WinSCP ] FTP 원격지 파일 동기화 2부 - 로깅Open Source 2019. 6. 5. 16:52
기존 스크립트 명령어에 로깅기능을 추가한다. -1 옵션으로 로깅을 최소화 한다. 명령어 : WinSCP.com /ini=nul /script=example.txt /log="C:\SinscpSyncLog\SyncLog.log" /loglevel=-1 실제 실행하면 수행된 결과과 로깅파일로 추출한다. SyncLog.log 로그파일을 열어보면 아래와 같이 로그가 기록된다. . 2019-06-05 13:19:07.263 File: '/example/example2.txt.txt' [2019-06-02T08:02:00.000Z] [88] . 2019-06-05 13:19:07.264 Copying "/example/example2.txt.txt" to local directory started. . 2019-0..
-
[ OSS - WinSCP ] 원격지 파일 동기화 1부 - 기본구성Open Source 2019. 6. 2. 17:21
WinSCP는 Windows용 SFTP 및 FTP 클라이언트 프로그램이고 오픈소스 프리웨어이다. WinSCP는 명령어 스크립트를 제공하며, 이를 이용하여 원격지에 있는 디렉토리와 파일을 로컬로 동기화를 해보려고 한다. - WinSCP 다운로드 : https://winscp.net/eng/download.php - 동기화 매뉴얼 : https://winscp.net/eng/docs/scriptcommand_synchronize 프로그램 설치는 다운로드 받아서 설치하면 된다. 1. WinSCP가 설치되어 있는 폴더로 이동 - 디폴트로 설치되었다면 일반적으로 C:\Program Files (x86)\WinSCP에 설치 2. 스크립트 명령어 실행 - 명령어 : WinSCP.com /ini=nul /script=..
-
winscp와 python을 이용한 FTP 다운로드Open Source 2019. 5. 3. 20:27
자동으로 FTP를 이용하여 백업을 받을 일이 생겨서 알아보던 중 WinSCP 프로그램이 Command-Line을 제공해 줌을 찾았다. Docs URL : https://winscp.net/eng/docs/commandline Download : https://winscp.net/eng/download.php WinSCP는 FTP, SFTP, SCP, S3 윈도우 무료 클라이언트다. 실제로 리눅스를 SCP로 접근할 때 많이 쓰곤 하였다. 자세한 옵션은 위 URL을 참고한다. (아직 이것저것 실험 중...) WinSCP를 설치하면 기본적으로 C:\Program Files (x86)\WinSCP에 설치되고, 아래와 같이 프로그램들이 설치된다 이중 WinSCP.com 파일을 이용하여 간단한 배치를 만들어 보겠다..