Linux/Ubuntu

    Ubuntu - Docker + nginx + spring boot 띄우기

    Docker 설치# 필수 패키지 설치sudo apt-get updatesudo apt-get install apt-transport-https ca-certificates curl software-properties-common# Docker GPG key 추가curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg# Docker 저장소 추가echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https..

    Ubuntu - Docker 설치

    시스템 패키지 업데이트sudo apt-get update패키지 설치sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-commonDocker 공식 GPG 키 추가curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -Docker 공식 apt 저장소 추가sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"시스템 패키지 업데이트sudo apt-get updateDocker ..

    Ubuntu - nginx 재설치

    명령어# 기존 nginx 삭제sudo apt-get purge nginx nginx-common nginx-full# nginx 설치sudo apt-get install nginx

    Ubuntu - java 21 설치

    명령어# apt 리스트 업데이트sudo apt update# java 21 버전 다운로드sudo apt install openjdk-21-jdk-headless# 설치 가능한 java 버전 확인# sudo apt list openjdk*

    Ubuntu - git 설치

    명령어# 패키지 리스트 업데이트sudo apt-get install git# git 설치sudo apt install git# git version 확인git --version