728x90 반응형 전체 글320 todo 리스트 만들기 3 - model,repository model은 todo 리스트에 들어갈 뼈대를 생성해주는 것이다. 1. model package 생성 2.todoEntity package org.example.model; import lombok.AllArgsConstructor; import lombok.Data; import lombok.Generated; import lombok.NoArgsConstructor; import javax.persistence.*; @Data @Entity @NoArgsConstructor @AllArgsConstructor public class TodoEntity { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @Column(nu.. 2023. 1. 27. todo 리스트 만들기 2 intellij - gradle 로 기본틀 만들기 의존성은 아래의 링크를 들어가서 필요한 depedency를 찾아서 가져옵니다. https://mvnrepository.com/ plugins { id 'org.springframework.boot' version '2.4.2' id 'io.spring.dependency-management' version '1.0.11.RELEASE' id 'java' } dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-rest' -> rest api 를 구현하기 위한 라이브러리 implementation 'org.springframework.boot:spring-boot-s.. 2023. 1. 27. To-Do list 만들기 1 1. 필요한 내용 구상하기 필요 기능 1 todo 리스트 목록에 아이템을 추가 2 todo 리스트 목록 중 특정 아이템을 조회 3 todo 리스트 전체 목록을 조회 4 todo 리스트 목록 중 특정 아이템을 수정 5 todo 리스트 목록 중 특정 아이템을 삭제 6 todo 리스트 전체 목록을 삭제 2. API 스펙 구상하기 method endpoint 기능 request response POST / TODO 아이템 추가 { "title" : " 자료구조 공부하기 " } { " id " : 17, "title" : "자료구조 공부하기", "order" : 0, "completed":false, "url":"http://localhoost:8080/17" } GET / 전체 todo 리스트 조회 [ { "i.. 2023. 1. 26. 34.Filtering 더보기 router ospf 1 distribute-list [aceesslist-number] in [interface serial] distribute-list prefix [prefix- name] in [interface serial] access-list [number] [deny/permit 조건] ip prefix-list [prefix- name] [deny/permit 조건] Prefix-list 명령어 ip prefix-list [name] (seq [number] ) [permit/deny 조건] prefix-list 는 대소문자 구분한다.(★) ge 나 le 옵션이 없으면, 여기서 명시하는 서브넷 마스크를 가진 네트워크만 지정된다. - ge(greater or equal) : ge .. 2023. 1. 11. 33.frame-relay 종합 R1 interface Serial1/0 encapsulation frame-relay no sh interface Serial1/0.123 point-to-point ip address 1.1.123.1 255.255.255.0 ip ospf network point-to-multipoint frame-relay interface-dlci 102 router ospf 1 network 1.1.123.0 0.0.0.255 area 0 network 211.175.185.0 0.0.0.255 area 0 R2 interface Serial1/0 encapsulation frame-relay no sh interface Serial1/0.123 multipoint ip address 1.1.123.2 255.. 2023. 1. 11. 32.Frame-Relay [ multipoint] Subinterface를 Multi Access Network의 Interface 처럼 작동 시킨다. 하나의 subnet을 필요로 한다 .⇒ 동적라우팅할때 주의가 필요하다. interface s1/0.123 multipoint no frame-relay inverse-arp ⇒ 미리 자동으로 주소를 받아오는 arp mapping을 막아준다. ip add 1.1.12.1 255.255.255.0 no ip split-horizon frame-relay map ip 1.1.12.2 102 broadcast frame-relay map ip 1.1.12.3 103 broadcast Router(config)# interface Serial1/0.123 multipoint Router(config-subif)#.. 2023. 1. 11. 단답형 예제 2020 1계층 장비 A hub- 더미 허브 - 인터넷선 하나로 여러대의 피시와 서버들이 인터넷을 사용하게끔 한다. 각각 똑같은 양의 데이터를 정보제공 동시에 신호를 보낼경우 충돌이 발생하여 다시 재전송하게 된다. 2계층 장비 B hub - 스위치 허브 mac주소를 저장 충돌영역을 나눚ㄹ 수 있다. 2023. 1. 10. 31.Frame-relay [point-to-point] - frame-relay는 2 계층 언어(L2)이다. - Frame-Relay는 PPP,HDLC와 같이 WAN 구간에서 사용하는 encapsulation 방식이지만 동시에 여러 라우터가 접속하여 링크를 공유할 수 있다는 점에서 차이가 있다. 또한 broadcast 를 통해 통신을 하는 일반 이더넷 방식과는 달리 정해진 길(Virtual Circuit) 을 통해 서만 통신이 가능하다는 점에서도 차이가 있다. 이러한 두가지 특징 때문에 frame-relay 의 통신 방식을 NBMA(Non Broadcast &Multi access) 라고 부른다. 일반적으로 ISP에서는 DCE로 연결되고 커스터머쪽은 DTE로 연결을 시킨다. 앞서 말했듯이 F/R에서는 통신을 위해 VC(virtual circuit)가 필요하다.. 2023. 1. 9. 30.ospf virtual-link ospf virtual -link 근접한 링크만 연결시켜놓으면 area 0 으로 연결하지 않아도 연결되어진다. 하지만 중간에 연결이 끝어지면 연결이 되지 않는다. 연쇄적인 연결인것 같다. 2023. 1. 9. 네트워크관리사2급 실기 - 윈도우서버 네트워크 속성 네트워크 환경에 와 같이 ip주소와 서브넷마스크를 추가하시오 - ip address 10101100.00010000.10010110.01110011 -subnet = 22bit - Default Gateway : 192.168.100.254 - DNS server : 200.100.100.200 - add gateway : 192.168.100.253 -보조 DNS servers : 201.100.100.201 DNS 관리도구 ㅡ제시문제- 와 같이 DNS 서버를 설정하시오 @ IN SOA ns.icqa.or.kr admin.icqa.or.kr(10 ; Serial 15분 ; Refresh 10분 ; Retry 1일 ; Expire 1시간 );Minimum1 www IN A 192.168.1.. 2023. 1. 3. 이전 1 ··· 24 25 26 27 28 29 30 ··· 32 다음 728x90 반응형