OS

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” […]

lcdproc 설치 더 읽기"

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 / 하여 .과 ..의 퍼미션 확인

polkit error 더 읽기"

rpm 옵션 정리

1. 설치 모드 -i : 패키지 최초설치 시 사용, 이전버전 있으면 설치안됨 -U : 패키지가 설치되어 있지 않다면 설치, 설치되어 있다면 업그레이드 -v : 설치과정을 출력 -h : 설치진행과정을 특수문자”#”으로 표시 -F : 이전 버전이 설치된 경우에만 설치, 업데이트라고 볼 수 있음 –force : 기존에 설치된 패키지와 그 파일을 강제로 다시 설치하도록 함 –nodeps :

rpm 옵션 정리 더 읽기"

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 보안 설정 > 로컬 정책 > 보안 옵션 대화형

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

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 설치 더 읽기"

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 더 읽기"

윈도우에 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 서버 설치 더 읽기"

위로 스크롤