일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- Windows
- AI
- judge
- evaluation
- DB
- list
- KAKAO
- Database
- Mac
- Package
- Container
- Paper
- TORCH
- pytorch
- CUDA
- file
- enV
- Converting
- git
- pandas
- Laravel
- Python
- numpy
- format
- docker
- GitLab
- PostgreSQL
- LLM
- Flask
- Linux
- Today
- Total
목록Linux (8)
Daily Develope
UFW (Uncomplicated FireWall)란?ㅇ 역할 : 방화벽 설정ㅇ 장점 : 다른 도구들에 비해 설정이 쉽다 (firewalld, iptables, nftables 등)ㅇ 단점 : 유연성이 떨어진다 (복잡한 정책 구현에 제한)ㅇ Default RuleInbound : Deny AllOutbound : Allow All기본 설정기본 정책 활성화 및 SSH 통신 유지ufw default deny incoming # inbound 패킷 전체 차단ufw default allow outgoing # outbound 패킷 전체 허용ufw allow ssh # ssh 접속 허용 (ssh 서비스 사용중이라면 서버와의 연결해제 방지 목적)ufw allow 22/tcp ..
의의가까운 지역의 repository 저장소 사용 (속도)local/폐쇄망의 repository 저장소 사용 (보안)절차repo. 저장소 주소 확인 (아래 예시에서는 카카오 repo. 저장소 활용)repo. 설정파일 수정 (vi /etc/yum.repo.d/CentOS-Base.repo)[base]name=CentOS-$releasever - Basebaseurl=http://mirror.kakao.com/centos/$releasever/os/$basearch/gpgcheck=0gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7#released updates[updates]name=CentOS-$releasever - Updatesbaseurl=http://mi..
임시적용특징 : 임시적용이기 때문에 재부팅이나 resolvconf 서비스를 재시작 하는 경우 해당 파일에 설정된 정보가 초기화적용방법 : /etc/resolv.conf 파일 수정nameserver 8.8.8.8 # Google Nameservernameserver 8.8.4.4 # Google Nameserver영구적용특징 : 시스템 재부팅 이후에도 지속 유지적용절차/etc/resolvconf/resolv.conf.d/head 파일 수정nameserver 8.8.8.8 # Google Nameservernameserver 8.8.4.4 # Google Nameserver서비스 재시작systemctl restart resolvconf.service서비스 재시작 후, /etc/resolv.conf 파일을 확..
의의최신 openssl 또는 구버전의 OS인 경우 수동 업데이트 필요수동 설치방법openssl 접속 대상 버전 다운로드 및 압축해제wget https://www.openssl.org/source/openssl-3.3.0.tar.gztar -xvf {다운로드파일}압축해제된 폴더 내에서 설치 환경파일 생성 및 실행./configmakemake install버전 확인 (버전이 바뀌지 않은 경우 아래 내용 참고)openssl versionError - 버전이 제대로 인식되지 않는 경우원인 : 기본 설정된 실행 lib 경로가 달라 발생하는 문제 (cf. unix 계열은 /lib, /usr/lib, /usr/local/lib 경로 등을 주로 사용)해결방법 1) 실행경로의 파일을 신규버전 파일로 대체openssl 경..