전체 글 78

(Spring Boot) 선택한 스프링 버전과 호환되는 디펜던시 버전 고르는 법

https://spring.io/projects/spring-boot#learn Spring Boot Commercial support Business support from Spring experts during the OSS timeline, plus extended support after OSS End-Of-Life. Publicly available releases for critical bugfixes and security issues when requested by customers. spring.io 1. Spring Boot -> Projects -> Learn 페이지 접속 2. 현재까지 릴리즈된 스프링 버전 중 선택하고자하는 버전 클릭 3. Reference Docs. 클릭 시, 해당..

Java & Spring Boot 2023.01.08

(Linux) MySQL 설치

* AWS RDS 등을 사용하지 않고, EC2에 직접 설치해야할 경우 사용 MySQL 레퍼지토리 설치 - sudo yum install -y https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm GPG-KEY 임포트(KEY가 없다고 할 경우) - sudo rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022 MySQL 서버 설치 - yum install -y mysql-server 임시 비밀번호 확인 - grep "temporary password" /var/log/mysqld.log root 계정 접속(로컬만 접속 가능) 비밀번호 변경 - ALTER USER 'root'@'local..

Linux 2023.01.07

(Linux) tar, gz, zip 압축하기/압축해제

* 압축하기 - c : compress, tar 아카이브 생성 (기존 아카이브 덮어쓰기) - v : 처리되는 과정을 나열 - f : 대상 tar 아카이브 지정 (기본 옵션) $ tar -cvf file.tar /path $ tar -zcvf file.tar.gz /path $ zip file.zip /path * 압축해제 - x : extract, tar 아카이브에서 파일 추출 - v : 처리 되는 과정을 나열 - f : 대상 tar 아카이브 지정 (기본 옵션) $ tar -xvf file.tar $ tar -zxvf file.tar.gz $ unzip file.zip $ unzip file.zip /path - 특정 경로에 압축해제

Linux 2023.01.07