JONSEOK

윈도우에 OpenSSH 서버 설치

############################################################# OpenSSH를 설치하기 전 OpenSSH로 접속할# 윈도우 사용자를 미리 만들어 놓는다.# (명령 프롬프트에서 실행)############################################################NET USER fortify /ADDNET USER fortify /FULLNAME:”MicroFocus Fortify SCA/SSC” /EXPIRES:NEVER /COMMENT:”OpenSSH User” /LOGONPASSWORDCHG:NO /PASSWORDCHG:YES /PASSWORDREQ:YES /ACTIVE:YESREM NET LOCALGROUP Administrators fortify /ADDWMIC USERACCOUNT WHERE “NAME=’fortify'” SET PASSWORDEXPIRES=FALSENET USER fortify Pass12!@ ############################################################# OpenSSH를 설치하기 전 윈도우 업데이트를 활성화 한다.# (명령 프롬프트에서 실행)############################################################# 윈도우 업데이트

윈도우에 OpenSSH 서버 설치 더 읽기"

7zip 사용 방법

■ 자주 사용되는 압축 옵션 ex) 7za a -y -t7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -ms=on -mhc=on -mhe=on -p1234 D:\settings_backup.7z D:\settings ex) 7za a -y -t7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -ms=on -mhc=on -mhe=on -p1234 -xr!.svn/ ./test.7z ./src1/ ./src2/ 7z        : 실행프로그램a         : 압축실행-y        : 모든 질문에

7zip 사용 방법 더 읽기"

cURL을 사용한 FTP/SFTP 파일 전송

■CURL WITH FTP Login usign curl on FTPcurl -P – –insecure “ftp://82.45.34.23:21/” –user “testuser:testpassword” Upload using curl on FTPcurl -p – –insecure “ftp://82.45.34.23:21/CurlPutTest/” –user “testuser:testpassword” -T “C:\test\testfile.xml” –ftp-create-dirs Download using curl on FTPcurl -p – –insecure “ftp://82.45.34.23:21/CurlPutTest/testfile.xml” –user “testuser:testpassword” -o “C:\test\testfile.xml” –ftp-create-dirs Rename using curl on FTPcurl -p – –insecure “ftp://82.45.34.23:21/CurlPutTest/” –user “testuser:testpassword” -Q “-RNFR

cURL을 사용한 FTP/SFTP 파일 전송 더 읽기"

roundcube 웹메일 설정

■ .htaccess 파일 삭제 ■ http://10.10.10.1/installer ■ ./config/config.inc.php에서 수정할 부분// DB 접속 정보$config[‘db_dsnw’] = ‘mysql://u_roundcube:<DB비밀번호>@localhost/db_roundcube’; // 도메인 주소$config[‘default_host’] = ‘esvali.com’; // 로그인 화면에 표시될 사이트명$config[‘product_name’] = ‘(주)우리회사 웹메일’; // 한번에 표시할 메일 수$config[‘mail_pagesize’] = 300; ■ ./config/config/defaults.inc.php에서 수정할 부분$config[‘log_date_format’] = ‘Y-M-d H:i:s O’; // IMAP 정보$config[‘default_host’] = ‘localhost’;// TCP port used for IMAP connections$config[‘default_port’] =

roundcube 웹메일 설정 더 읽기"

dig & nslookup

■ dig -특정 네임서버로 질의dig @8.8.8.8 google.com -특정 레코드 질의dig @8.8.8.8 mx google.comdig @8.8.8.8 txt google.comdig @8.8.8.8 ns google.comdig @8.8.8.8 ptr google.comA, AAAA, CNAME, MX, TXT, NS, SOA, SRV, CAA, PTR, NSEC, NSEC3, RRSIG, RP 등이 지원되며 기본값은 A -IP주소만 간단히 확인dig google.com +short -DNS 질의 추적dig google.com +trace -Zone-Transfer를 허용하는지 체크 (실패가 정상)dig google.com

dig & nslookup 더 읽기"

Microsoft(R) Hyper-V Server 2019 설정

■관련 링크 http://woshub.com/install-configure-free-hyper-v-server/https://m.blog.naver.com/wlsgur0726/221359846678 ■Hyper-V Server REM Hyper-V 설치PowerShell -Command “ADD-WINDOWSFEATURE RSAT-HYPER-V-TOOLS”orPowerShell -Command “Add-WindowsFeature –Name Hyper-V -IncludeAllSubFeature -IncludeManagementTools” REM 공유폴더 만들기NET SHARE HYPERV /DELETENET SHARE HYPERV=C:\hyper-v /REMASK:”Hyper-V Public Folder” /GRANT:Everyone,FULL REM 권한 설정PowerShell -Command “Enable-PSRemoting”PowerShell -Command “Enable-WSManCredSSP -Force -Role server” REM 윈도우 시작 시 Powershell 창 띄우기New-ItemProperty -path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\run -Name PowerShell -Value “cmd /c start /max

Microsoft(R) Hyper-V Server 2019 설정 더 읽기"

위로 스크롤