본문 바로가기

개발일기68

학원 수업 69일차 221128 9-10 ACM(aws certificate manager)? 11-12 쉘 스크립트? 12-1 aws 배포 하려고 여러가지 설정중.. 역할 재설정하여 성공..! EC2 > 인스턴스 > i-0525d9453eefbb10e > 작업 >보안 > IAM역할 수정 역할 잘 들어가있는지 확인 없으면 새로 생성 (AWS 서비스: ec2, 권한: AmazonS3FullAccess, AWSCodeDeployFullAccess) https://docs.aws.amazon.com/ko_kr/codedeploy/latest/userguide/welcome.html 2-3 다 지우고 다시 해볼게요 인스턴스 보안그룹 키페어 사용자 버킷 애플리케이션 싹 다 지워! komoran https://www.shineware.co.kr/.. 2023. 4. 28.
학원 수업 68일차 221125 9-10 jms kafka Gradle Tasks 탭에서 springWebSecurity05OAuth2 더블클릭 > build 진행 > E:\kdt\spring\springWebSecurity05OAuth2\build\libs 에 두개의 war파일 생성됨 build.gradle 파일에서 bootWar { enabled = false } 를 넣어주면 파일이 plain 버전으로 하나만 생성됩니다 10-11 aws ec2 인스턴스 연결 리눅스 서버 접속 rm -r * (폴더 모두 지우기) rm *.* (파일 모두 지우기) 다시 src/app/폴더에 springWebSecurity05OAuth2-0.0.1-SNAPSHOT-plain.war넣어주고 jar -xf springWebSecurity05OAuth2-0... 2023. 4. 28.
학원 수업 67일차 221124 9-10 Using username "ec2-user". Server refused our key 어제 파일 망가트렸더니 이런 오류가!! 파일 막 수정되지 않게 주의하자.. 새로 인스턴스, 키 만들어서 진행할게요.. 10-11 파일질라 https://filezilla-project.org/ https://filezilla-project.org/download.php?type=client war 압축 풀기 리눅스 jar -xf war파일이름.war 입력 인스턴스 삭제할게요 > 우선 탄력적IP주소 연결해제, 릴리스 > 인스턴스 종료(완전히 사라지는데 몇시간 걸릴 수 있어요) 버추얼박스 https://www.virtualbox.org/wiki/Downloads centOS https://www.centos.o.. 2023. 4. 28.
학원 수업 66일차 221123 9-10 프로젝트명 : springWebSecurity06OAuth2 Developer Tools Spring Boot DevTools, Lombok, Spring Configuration Processor Messaging WebSocket SQL Template Engines Web rabbitMQ Kafka 차이? 메세지 큐? https://escapefromcoding.tistory.com/705 red hat? 우분투(비추천 서버 부하) 10-11 CLI 리눅스 명령어 리눅스 마스터 2급 자격증 내년 1월중 접수 ㆍ필기 : 커널 3.x 이상 ※ 레드햇 계열: CentOS 7, 데비안 계열: ubuntu 15.04 이상 ㆍ실기 : CentOS 7 이상 (VirtualBox를 활용하여 리눅스 구동).. 2023. 4. 28.
학원 수업 65일차 221122 9-10 네이버 오픈 API 신청 Documents > 네이버 로그인 > 개발 가이드 https://developers.naver.com/docs/login/devguide/devguide.md#%EB%84%A4%EC%9D%B4%EB%B2%84%20%EB%A1%9C%EA%B7%B8%EC%9D%B8-%EA%B0%9C%EB%B0%9C%EA%B0%80%EC%9D%B4%EB%93%9C https://developers.naver.com/docs/login/api/api.md#3-2--%EC%A0%91%EA%B7%BC-%ED%86%A0%ED%81%B0-%EB%B0%9C%EA%B8%89%EA%B0%B1%EC%8B%A0%EC%82%AD%EC%A0%9C-%EC%9A%94%EC%B2%AD https://developer.. 2023. 4. 28.
학원 수업 64일차 221121 9-10 프로젝트명 : springWebSecurity04 https://www.thymeleaf.org/ecosystem.html#thymeleaf-spring-security https://github.com/thymeleaf/thymeleaf-extras-springsecurity#namespace Thymeleaf-based equivalent to the Spring Security JSP tag library. Adds new expression utility objects like #authentication and #authorization for integrating Spring Security capabilities into Thymeleaf expressions. Adds new at.. 2023. 4. 27.
학원 수업 63일차 221118 9-10 OAuth2 Client : 소설로그인을 위한 security 설정 authentication 인증 10-11 csrf https://docs.spring.io/spring-security/reference/5.7.3/servlet/exploits/csrf.html#servlet-csrf-include-form-attr Example 6. CSRF Token in Form with Request Attribute 11-12 (/springWebSecurity04/src/main/java/com/green/nowon/security/CustomUserDetailsService.java) In-Memory Authentication https://docs.spring.io/spring-securit.. 2023. 4. 27.
학원 수업 62일차 221117 9-10 OneToMany? (안쓸수있으면 최대한 안쓰는걸로) ManyToOne? (추천) 물리 DB는 many 테이블에 생김 10-11 (/springWebSecurity03OneToMany/src/test/java/com/green/nowon/SpringWebSecurity03ApplicationTests.java) 댓글작성 void 댓글저장() {} void board를이용한댓글저장() {} 11-12 @Transactional ? 세션유지? OneToMany Board -> Reply 단방향 reply에 접근하는 controller도 BoardController에 만들어야 함 (ReplyController : X) 12-1 orElseThrow() : get과 같은 용도지만 'null이면 말고 n.. 2023. 4. 27.
학원 수업 61일차 221116 9-10 Expression-Based Access Control https://docs.spring.io/spring-security/reference/servlet/authorization/expression-based.html 10-11 수정기능구현 jQuery CDN https://www.w3schools.com/jquery/jquery_get_started.asp Downloading jQuery https://jquery.com/download/ Download the compressed, production jQuery 3.6.1 클릭! 우클릭 후 다른이름으로저장 > tools에 저장 아래 Download the uncompressed, development jQuery 3.6.1 이걸로 다.. 2023. 4. 27.