소통하는 개발자 Sean
article thumbnail

- SpringBoot+MariaDB+EC2 Ubuntu AWS 배포하기 3편 입니다!

- 1편 부터 순차적으로 진행되니, 처음 이신 분들은 1편을 진행해주세요!

 

2022.08.22 - [프로젝트 일지] - SpringBoot+MariaDB+EC2 Ubuntu AWS 배포하기! - (2)

 

SpringBoot+MariaDB+EC2 Ubuntu AWS 배포하기! - (2)

- SpringBoot+MariaDB+EC2 Ubuntu AWS 배포하기 2편 입니다! - 1편 부터 순차적으로 진행되니, 처음 이신 분들은 1편을 진행해주세요! https://sean-lets-go.tistory.com/23 SpringBoot+MariaDB+EC2 Ubuntu AWS 배포하기! - (1) 배

sean-lets-go.tistory.com

 

 

3편 내용은 이렇습니다.

- MariaDB설치 -> HeidiSQL로 원격 접속 

* 사용하지 않는 EC2 (temp)를 만들었고, 글을 작성한 후에 지웠습니다.

 

 

* MariaDB 설치

$ sudo apt install mariadb-server	//중간에 y 입력

- tab 누르고 -> Enter

$ sudo mysql -u root -p  //password는 엔터 
$ grant all privileges on *.* to 'root'@'localhost' identified by '설정할 비밀번호' with grant option;
//sudo없이 mysql 로그인 가능

//MariaDB 밖으로 나와서 실행
$ sudo timedatectl set-timezone 'Asia/Seoul';
$ sudo systemctl restart mysqld;	//mariadb 재실행

 

 

 

 

* HeidiSQL로 EC2의 데이터베이스 원격 접속

- 테스트를 위해서 데이터베이스 하나 추가

 

 

* plink는 putty 사이트에서 다운 

https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

* ppk는 pem변환했던 파일 넣기

 

2022.08.23 - [프로젝트 일지] - SpringBoot+MariaDB+EC2 Ubuntu AWS 배포하기! - (4)

 

SpringBoot+MariaDB+EC2 Ubuntu AWS 배포하기! - (4)

- SpringBoot+MariaDB+EC2 Ubuntu AWS 배포하기 4편 입니다! - 1편 부터 순차적으로 진행되니, 처음 이신 분들은 1편을 진행해주세요! https://sean-lets-go.tistory.com/23 SpringBoot+MariaDB+EC2 Ubuntu AWS 배포하기! - (1) 배

sean-lets-go.tistory.com

 

profile

소통하는 개발자 Sean

@Sean-creative

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!