Recent Comments
목록2020/12/10 (2)
변군이글루

SSH root 접속 제한 sshd_config 편집 #PermitRootLogin yes PermitRootLogin yes : root 접속 허용 PermitRootLogin no : root 접속 제한 치환 명령어 $ sed -i 's/^#PermitRootLogin yes/PermitRootLogin no/g' /etc/ssh/sshd_config $ perl -pi -e 's/^#PermitRootLogin yes/PermitRootLogin no/g' /etc/ssh/sshd_config 설정 후 ssh 서비스 재기동 $ systemctl restart sshd
* 리눅스
2020. 12. 10. 14:01

CentOS Yum Repository 서버 구축 repository 구축을 위한 필수 패키지 다운로드 $ yum install -y createrepo yum-utils 디렉터리 설계 /app/repo_root/reop $ tree -L 5 . └── repo ├── centos │ ├── 7 -> 7.9.2009 │ ├── 7.9.2009 │ │ ├── extras │ │ │ └── x86_64 │ │ ├── isos │ │ │ └── x86_64 │ │ ├── os │ │ │ └── x86_64 │ │ └── updates │ │ └── x86_64 │ ├── 8 -> 8.3.2011 │ └── 8.3.2011 │ ├── isos │ │ └── x86_64 │ └── os │ └── x86_64 └..
* 리눅스
2020. 12. 10. 13:53