
개요chrony는 시간 동기화를 제공하는 프로그램으로 NTP의 대안 중 하나이다.chrony 서버 환경은 Rocky Linux 9.3, chrony 클라이언트 환경은 Rocky Linux 8.9으로 테스트를 진행했다.로컬 레포지토리 설정은 이미 포스팅을 했으니 생략하겠다.설치 및 설정Server1. chrony 설치yum install chrony[root@localhost ~]# yum install chrony마지막 메타자료 만료확인(0:06:22 이전): 2024년 07월 17일 (수) 오전 11시 02분 55초.종속성이 해결되었습니다.================================================================================ 꾸러미 ..

개요 삼바(Samba)는 SMB (Server Message Block) 프로토콜을 이용하여 윈도우와 리눅스 계열 간 프린터 및 공유폴더를 사용하여 자원을 공유할 수 있는 프로그램이다. 삼바를 설치하고 테스트하게 된 계기는 기존 윈도우서버의 이미지 백업을 리눅스 스토리지 서버로 원격지 백업을 할 일이 생겼기 때문이다. 설치 및 설정 1. samba 설치 yum install samba [root@localhost ~]# yum install samba ================================================================================ 꾸러미 구조 버전 저장소 크기 =============================================..

개요 vsftpd는 very secure FTP daemon의 약자로, 직역하면 매우 안전 파일 전송 프로토콜 데몬이다. sftp의 기본 포트 번호는 22번으로 ssh와 동일한 포트 번호를 사용한다. 해서 ssh 포트 번호를 변경하면 sftp도 동일한 포트 번호로 연결하면 된다. 따로 설정하는 방법도 있으나 해당 포스팅에서는 다루지 않는다. 설치 1. vsftpd 설치 yum install vsftpd [root@localhost ~]# yum install vsftpd ================================================================================ 꾸러미 구조 버전 저장소 크기 ==================================..

개요 Linux 원격 접근을 위한 기본 포트는 SSH, 22번 포트이다. 기본 포트는 보안에 취약하기 때문에 임의의 포트로 변경해서 사용하라고 취약점 조치 체크리스트에 나와있다. 해당 내용은 KISA 한국인터넷진흥원에서 확인 가능하다. 포트 변경 1. 먼저 Linux에서 root 계정으로 접근을 하여 sshd_config 파일을 수정한다. vi /etc/ssh/sshd_config 2. 해당 파일을 열어보면 내용이 ssh 관련 설정 내용들이 나와있는데 Port 부분을 찾는다. ... # If you want to change the port on a SELinux system, you have to tell # SELinux about this change. # semanage port -a -t ssh..

최초 대응 서버를 납품했던 업체에서 연락이 왔다. 'Package temperature above threshold, cpu clock throttled' 라는 오류와 'Core temperature above threshold, cpu clock throttled' 라는 오류가 계속적으로 발생한다는 것이다. [2276289.708207] CPU10: Package temperature above threshold, cpu clock throttled (total events = 5656) [2276289.708208] CPU7: Package temperature above threshold, cpu clock throttled (total events = 5656) [2276289.708209] CP..

Linux 패스워드 정책 기본 비밀번호 항목 지정 /etc/login.defs vi /etc/login.defs # # Please note that the parameters in this configuration file control the # behavior of the tools from the shadow-utils component. None of these # tools uses the PAM mechanism, and the utilities that use PAM (such as the # passwd command) should therefore be configured elsewhere. Refer to # /etc/pam.d/system-auth for more informatio..

세미 프로젝트 페이지 구상 Flow Chart index.php board_list.php board DB member_form.php member DB TIF 어디 내놓기 부끄러운 수준의 미완성의 웹페이지를 제출함으로 세미 프로젝트는 끝이 났다. 2주 동안 이것저것 많이 가르쳐주셨던 강사님께 감사드린다. 중간중간 DB와 연동이 안되거나 ', " 가 빠져서 뭐가 빠진 채로 출력이 되거나 이것저것 난관에 부딪혔지만 그래도 클릭해서 넘어갈 수 있는 각 화면들은 대충이라도 구성했다. 얻은 것들이 있다면 리눅스 기본 명령어와 vi 사용에 대해 감이 잘 안 왔는데 조금은 능숙해졌다는 것, 어디 내놓을 수는 없는 수준이지만 무언가를 만들어냈다는 것. 이번 프로젝트는 끝이 났지만 추후에 HTML, CSS, JS 등을..

리뷰 (Review) 세미 프로젝트 1. 웹 페이지 전체 화면 구상 메뉴 결정 위치 결정 2. 각 메뉴별 페이지 연결 3. 필요한 테이블 종류와 테이블 구조 설계 4. MariaDB에 데이터베이스 및 테이블 생성 5. php와 DB 연동 6. 테스트 지난주에 설정했던 apache 웹 서버와 이번 주에 배운 MariaDB, php 이용하여 웹 페이지 구성 1. 웹 페이지 전체 화면 구상 2. 각 메뉴별 페이지 연결 3. 필요한 테이블 종류와 테이블 구조 설계 4. MariaDB에 데이터베이스 및 테이블 생성 5. php와 DB 연동 6. 테스트 TIF 예전에는 게시판 하나 만드는데 목록 구현하고 글 쓰는 페이지, 수정, 삭제 등 할 일이 이리 많은지 몰랐다. 만들어봐야 싸이월드 미니홈피 만들고, 네이버 카..

리뷰 (Review) 더보기 DNS 서버 설정부터 호스팅 설정까지 1. DNS 설정 1. bind9 설치 song@song:~$ sudo apt install bind9 2. /etc/resolv.conf 설정 song@song:~$ sudo vi /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN # 127.0.0.53 is the systemd-resolved stub resolver. # run "systemd-resolve --status" to see det..

리뷰 (Review) MariaDB MariaDB 설치 및 사용 1. MariaDB 설치 및 상태 확인 song@song:~$ sudo apt install mariadb-server# MariaDB 설치 song@song:~$ systemctl status mariadb.service# MariaDB 상태 확인 ● mariadb.service - MariaDB 10.3.34 database server Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor prese> Active: active (running) since Fri 2022-08-26 09:57:44 KST; 4min 45s ago Docs: man:mysqld(8) h..