Unix/Linux/MacOS
ANSI, UNICODE, Charset
■ANSI ▣KS C 5601 (완성형, 한글 2350자 지원, 현재이름은 KS X 1001) Windows Codepage: CP949 Linux Character Set: EUC-KR ■Unicode ▣관리: 유니코드 컨소시엄(Unicode Consortium) ▣버전: 2022년 9월 14일에 발표된 15.0 ▣표준: ISO/IEC 10646 Universal Character Set ▣표기법: 한글”가”(AC00) > U+AC00 ▣한글: 11,172자가 U+AC00~D7A3 에 재배치 ▣UCS-2 (Universal Character Set 2 octets)
IPtables를 이용한 DDoS 방어: 궁극의 가이드
DDoS Protection With IPtables: The Ultimate Guide 글을 번역한 내용입니다. 원본 글: https://javapipe.com/ddos/blog/iptables-ddos-protection/ 번역 글: 링크 iptables에 대한 자체 DDoS 방지 규칙을 작성하는 여러 가지 방법이 있습니다. 우리는 이 포괄적 인 튜토리얼에서 가장 효과적인 iptables DDoS 보호 방법을 논의 할 것입니다. 이 가이드는 다음을 수행하는 방법을 알려줍니다. DDoS 공격을 막기 위한 iptables 테이블과 체인을 선택DDoS 공격의
IPtables를 이용한 DDoS 방어: 궁극의 가이드 더 읽기"
Battle.net 서버 설치 (PvPGN)
■PvPGN(Player versus Player Gaming Network) https://pvpgn.pro/ 1. 소스코드 및 support 파일 다운로드 https://github.com/pvpgn/pvpgn-server/archive/master.tar.gz https://sourceforge.net/projects/pvpgn.berlios/files/Support%20files/pvpgn-support-1.2.tar.gz/download 2. 소스코드 빌드 mkdir build cd build cmake -D CMAKE_INSTALL_PREFIX=/usr/local/pvpgn -D WITH_MYSQL=false -D WITH_LUA=false ../ make make install 3. systemctl 서비스 등록 서비스 파일 작성 vi /usr/lib/systemd/system/pvpgn.service ————————————— [Unit] Description=Player versus
Battle.net 서버 설치 (PvPGN) 더 읽기"
Non-interactive 리눅스 패스워드 변경
CentOSecho ‘test1:Pass!235’ | chpasswdecho ‘Pass!234’ | passwd –stdin test1 Ubuntuecho ‘test1:Pass!235’ | chpasswd
Non-interactive 리눅스 패스워드 변경 더 읽기"
[ipTimeNAS1Dual] CloudBackup (rsync)
echo ‘<mypassword>’ > /root/pw.txtchmod 600 /root/pw.txtrsync -avrz –delete –force –port=1873 –password-file=”/root/pw.txt” –log-file=rsync.log “share@10.10.10.2::share” “/mnt/share”
[ipTimeNAS1Dual] CloudBackup (rsync) 더 읽기"
파일 분할 및 합치기 (split)
파일 분할하기 split -d -a 4 -b 524288000 original_file split_ -d: 분할된 파일명 뒤에 연속적인 숫자를 붙여라-a 4: 숫자는 4자리로-b 524288000: 500MB 단위로 분할한다.original_file: 원본 파일명split_: 분할된 파일의 파일명 PREFIX >>분할 결과524288000 Nov 16 14:10 split_0000524288000 Nov 16 14:11 split_0001234883892 Nov 16 14:11 split_0002※원본은 그대로 유지된다. 파일 합치기cat split_* > original_file.copy 합친 파일 비교diff original_file
telnet으로 SMTP 테스트
telnet mail.esvali.com 25 HELO 127.0.0.1。。。MAIL FROM:hasu0707@daum.net。。。RCPT TO:hasu0707@naver.com。。。DATAsubject: helloTEST MAIL.。。。quit
lcdproc 설치
소스코드 다운로드: http://www.lcdproc.org/ ./configure –prefix=/usr –enable-drivers=allmakemake install cp -fv LCDd.conf /etc/sed -i “s/DriverPath=server\/drivers\//DriverPath=\/usr\/lib\/lcdproc\//g” /etc/LCDd.confchown -R nobody:nobody /usr/lib/lcdproc /etc/LCDd.conf echo “[Unit]” > /usr/lib/systemd/system/LCDd.serviceecho “Description=LCDd display daemon” >> /usr/lib/systemd/system/LCDd.serviceecho “Documentation=man:LCDd(8) http://www.lcdproc.org/” >> /usr/lib/systemd/system/LCDd.serviceecho “After=multi-user.target” >> /usr/lib/systemd/system/LCDd.serviceecho “” >> /usr/lib/systemd/system/LCDd.serviceecho “[Service]” >> /usr/lib/systemd/system/LCDd.serviceecho “Type=simple” >> /usr/lib/systemd/system/LCDd.serviceecho “ExecStart=/usr/sbin/LCDd -s 0 -f -c /etc/LCDd.conf” >> /usr/lib/systemd/system/LCDd.serviceecho “User=root” >> /usr/lib/systemd/system/LCDd.serviceecho “TimeoutStopSec=1s”
polkit error
“unable to register authentication agent: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files” 오류 발생 시… 퍼미션 점검cd /chown root:root .chmod 755 . 실행 후 ls -al / 하여 .과 ..의 퍼미션 확인