JONSEOK

Disable IPv6 on Linux

■IPv6 활성화 여부 확인 방법ip addr show | grep inet6 ■CentOS 7vi /etc/default/grub GRUB_CMDLINE_LINUX=”rhgb quiet”를 아래와 같이 수정한다.GRUB_CMDLINE_LINUX=”rhgb quiet ipv6.disable=1″ grub2-mkconfig -o /boot/grub2/grub.cfg ■Ubuntu 20.04.xxvi /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT=”maybe-ubiquity”를 아래와 같이 수정한다.GRUB_CMDLINE_LINUX_DEFAULT=”maybe-ubiquity ipv6.disable=1″ update-grub

Disable IPv6 on Linux 더 읽기"

윈도우 로그인 시 메세지 보여주기

1. Windows NT 추가REG ADD HKLM\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon /v LegalNoticeCaption /f /t REG_SZ /d “WARNING!!”REG ADD HKLM\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon /v LegalNoticeText /f /t REG_SZ /d “Authorized users only. All activity may be monitored and reported.” 삭제REG DELETE HKLM\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon /v LegalNoticeCaption /fREG DELETE HKLM\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon /v LegalNoticeText /f 2. 윈도우 서버 secpol.msc 보안 설정 > 로컬 정책 > 보안 옵션 대화형

윈도우 로그인 시 메세지 보여주기 더 읽기"

ImageMagicK 사용 방법

https://github.com/ImageMagick/ImageMagick ■파일포맷변경convert image_org.gif image_out.jpg[설명] image_org.gif 이미지를 image_out.jpg로 바꾼다. convert image_org.png image_out.jpg[설명] image_org.png 이미지를 image_out.jpg로 바꾼다. ■윈도우즈 명령행 프롬프트에서 간단하게 와일드카드 적용FOR %A IN (*.svg) DO ( convert -antialias -background transparent -density 600 -resize 640x %A %~nA.png ) ■확대,축소,리사이즈convert image_org.jpg -resize 25%x25% -quality 100 image_out.jpg[설명] image_org.jpg 이미지를 1/4 축소한 image_out.jpg로 바꾼다. convert image_org.jpg -resize 800×600 -quality

ImageMagicK 사용 방법 더 읽기"

Ubuntu Server 설치

1. iso 다운로드 https://ubuntu.com/download/server 에서 “OPTION 3″으로 다운로드 받는다. 2. 설치 3. 설치 후 작업 sudo passwd root su sed -i “s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g” /etc/ssh/sshd_config systemctl restart sshd apt-get -y install lrzsz

Ubuntu Server 설치 더 읽기"

[Fortify] SSC API Test 방법

1. Fortify SSC에 접속하여 ADMINISTRATION > Users > Tokern Management > “UnifiedLoginToken” 타입으로 토큰 생성 (기본 90일 유효) 2. 우측 상단의 ? > API Documentation 선택 우측 상단 API Reference 선택 정확한 테스트를 위해 미리 만들어둔 토큰으로 로그인 한다. 토큰을 입력한다. Try it out으로 API에 대한 테스트를 진행한다. 샘플 Request를 작성한다. 다른 것은 특별히 수정할

[Fortify] SSC API Test 방법 더 읽기"

spamassassin+dovecot+sieve script

■dovecot sieve plug-in 설치yum -y install dovecot-pigeonhole ■dovecot.conf 수정vi /etc/dovecot/dovecot.conf————————————————————# sieve 필터 설정protocol lda {  mail_plugins = $mail_plugins sieve}protocol lmtp {  mail_plugins = $mail_plugins sieve}———————————————————— ■90-sieve.conf 수정vi /etc/dovecot/conf.d/90-sieve.conf————————————————————sieve = file:~/sieve;active=~/.dovecot.sievesieve_default = /var/lib/dovecot/sieve/default.sieve———————————————————— ■default.sieve 작성 및 컴파일※스팸 폴더 Junk는 /etc/dovecot/conf.d/15-mailboxes.conf에 정의되어 있다. mkdir -p /var/lib/dovecot/sievevi /var/lib/dovecot/sieve/default.sieve————————————————————require [“fileinto”, “mailbox”, “variables”, “regex”]; if header :contains “X-Spam-Flag” “YES” { 

spamassassin+dovecot+sieve script 더 읽기"

MySQL Community Server 설치 (윈도우)

■다운로드https://downloads.mysql.com/archives/community/에서 윈도우용 64비트 5.7.31을 다운로드 받는다. 1. my.ini 파일을 아래와 같이 작성해서 MySQL 프로그램 디렉토리에 넣는다. my.ini—————————————————————————— [mysqld]basedir=”D:\mysql\mysql-5.7.31-winx64″datadir=”D:/mysql/db”port=3306binlog_format = MIXEDcharacter-set-client-handshake = FALSEcharacter-set-server = utf8collation-server = utf8_general_cidefault_storage_engine=innodbinnodb_buffer_pool_size = 10240Minnodb_file_format = Barracudainnodb_file_per_table = trueinnodb_large_prefix = 1innodb_lock_wait_timeout = 300innodb_log_file_size = 512Mmax_allowed_packet = 2048Mquery_cache_size = 128Mquery_cache_type = 1sql_mode = TRADITIONAL [client]port=3306default-character-set=utf8 [mysql]default-character-set=utf8 —————————————————————————— 2. 초기 데이터베이스를 생성한다. (DB 디렉토리는

MySQL Community Server 설치 (윈도우) 더 읽기"

위로 스크롤