전체 글
-
timezone 변경하기Linux/Ubuntu 2024. 8. 9. 18:22
# timedatectl 명령어를 통해 변경하기 1. 현재 설정된 timezone 알기timedatectl - 실행결과 Local time: Fri 2024-08-09 18:20:28 KST Universal time: Fri 2024-08-09 09:20:28 UTC RTC time: Fri 2024-08-09 09:20:27 Time zone: Asia/Seoul (KST, +0900)System clock synchronized: yes NTP service: active RTC in local TZ: no 2. 변경하고자 하는 timezone 이름 알기timed..
-
[Docker] Docker 삭제 후 재 설치하기Linux/Tools 2024. 8. 9. 18:15
1. 컨테이너 삭제docker rm -f $(docker ps -qa) 2. 도커 삭제sudo apt-get purge docker-ce docker-ce-cli containerd.iosudo apt-get purge -y docker-engine docker docker.io docker-ce docker-ce-clisudo apt-get autoremove -y --purge docker-engine docker docker.io docker-ce 3. 폴더 삭제sudo rm -rf /var/lib/dockersudo rm -rf /var/run/docker.socksudo rm -rf ~/.dockersudo rm -rf /etc/dockersudo rm -rf /usr/local/bin/dock..
-
[nginx][Docker] nginx 웹서버 설치하기Linux/Tools 2024. 8. 8. 15:50
https://hub.docker.com/_/nginx/ nginx - Official Image | Docker HubQuick reference Supported tags and respective Dockerfile links 1.27.0, mainline, 1, 1.27, latest, 1.27.0-bookworm, mainline-bookworm, 1-bookworm, 1.27-bookworm, bookworm1.27.0-perl, mainline-perl, 1-perl, 1.27-perl, perl, 1.27.0-bookworm-perl, mainline-hub.docker.com 1. 이미지 가져오기docker pull nginx 2. 컨테이너 실행하기$ docker run --name ..
-
[PostgresSQL][Docker] 도커에 PostgresSQL DB 설치하기Linux/Tools 2024. 8. 8. 07:31
도커 허브 : posgresSQL postgres - Official Image | Docker HubNote: the description for this image is longer than the Hub length limit of 25000, so has been trimmed. The full description can be found at https://github.com/docker-library/docs/tree/master/postgres/README.md. See also docker/hub-feedback#238 and dhub.docker.com 1. PostgresSQL 이미지 가져오기docker pull postgres 2. 실행하기docker run --name post..
-
Ubuntu(우분투)에서 Docker(도커) 설치하기Linux/Tools 2019. 9. 24. 23:17
repository을 사용하여 설치 SET UP THE REPOSITORY 1. Update the apt package index: # Update the apt package index: $ sudo apt-get update sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" https://docs.docker.com/install/linux/docker-ce/ubuntu/