윈도우즈에서 redis 실행 시 아래의 메시지 발생 시

redis-server --port 6380 --slaveof 127.0.0.1 6379

 

 

아래 명령어 실행

redis-cli shutdown

 

 

이후, serevices.msc 실행하여 redis 서비스 실행

우분투를 설치하면 sshd 서비스가 없어서, 설치 및 활성화를 해야 하네요.

 

 

설치

sudo apt install openssh-server

 

설정 변경

vi /etc/ssh/sshd_config

 

아래의 Port 및 ListenAddress 주석 해제

# This is the sshd server system-wide configuration file.  See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options override the
# default value.

Include /etc/ssh/sshd_config.d/*.conf

Port 22  #<- 해당 라인 주석 해제
#AddressFamily any
ListenAddress 0.0.0.0 #<- 해당 라인 주석 해제
#ListenAddress ::

 

서비스 재시작

sudo  systemctl restart sshd

 

'기술 노트 > ubuntu' 카테고리의 다른 글

logstash 설치하기  (0) 2023.12.01
elasticsearch 설치하기  (0) 2023.12.01
apt를 이용한 프로그램 삭제 시  (0) 2023.12.01
ifconfig 사용하기  (0) 2023.09.27
sshd 설치  (0) 2023.09.27

우분투에는 기본적으로 설치가 되어 있지 않아서 설치가 필요합니다.

 

apt install net-tools

 

'기술 노트 > ubuntu' 카테고리의 다른 글

logstash 설치하기  (0) 2023.12.01
elasticsearch 설치하기  (0) 2023.12.01
apt를 이용한 프로그램 삭제 시  (0) 2023.12.01
sshd 서비스 설치  (0) 2023.11.29
sshd 설치  (0) 2023.09.27

우분투 20.04 버전 설치를 하니 sshd 서비스가 설치되어 있지 않네요.

그래서 설치하고 설정 변경하는 법을 기록합니다.

 

1. SSH 서비스 설치

apt install openssh-server

 

2. 설정 파일 편집 모드

vi /etc/ssh/sshd_config

 

3. 설정 파일 내용 중 Port 앞 "#" 주석 제거 후 저장

#Port 22 의 주석 제거

 

4. 서비스 재시작

service ssh restart

 

'기술 노트 > ubuntu' 카테고리의 다른 글

logstash 설치하기  (0) 2023.12.01
elasticsearch 설치하기  (0) 2023.12.01
apt를 이용한 프로그램 삭제 시  (0) 2023.12.01
sshd 서비스 설치  (0) 2023.11.29
ifconfig 사용하기  (0) 2023.09.27

순서로 치면 2번을 먼저, 1번 이후 진행

 

1. virtualbox 다운로드

https://www.virtualbox.org/wiki/Downloads

 

Downloads – Oracle VM VirtualBox

Download VirtualBox Here you will find links to VirtualBox binaries and its source code. VirtualBox binaries By downloading, you agree to the terms and conditions of the respective license. If you're looking for the latest VirtualBox 6.1 packages, see Virt

www.virtualbox.org

 

2. Microsoft Visual C++ 다운로드

https://learn.microsoft.com/ko-kr/cpp/windows/latest-supported-vc-redist?view=msvc-170 

 

지원되는 최신 Visual C++ 재배포 가능 패키지 다운로드

이 문서에서는 최신 버전의 Visual C++ 재배포 가능 패키지 패키지에 대한 다운로드 링크를 나열합니다.

learn.microsoft.com

 

픽픽!

정말 좋아요.

집에서도 회사에서도 무료입니다.

 

https://picpick.net/download/

 

픽픽(PicPick) - 올인원 그래픽 디자인 도구 (화면 캡처 및 녹화, 이미지 편집, 색상 추출, 눈금자,

픽픽(PicPick) - 올인원 그래픽 디자인 도구 (화면 캡처 및 녹화, 이미지 편집, 색상 추출, 눈금자, 각도기, 십자선 등)

picpick.net

 

 

1. docker를 이용하여 nginx 컨테이너 설치하기

docker run -p 4567:80 -d nginx:lastest

 

2. docker 컨테이너 프로세스 확인하기

 

3. nginx 접속하기

 

4. docker 삭제하기

docker rm -f <CONTAINER ID>

'기술 노트 > Docker' 카테고리의 다른 글

윈도우즈에 docker 설치하기  (0) 2023.09.26
docker 파일 복사 방법  (0) 2023.04.13

1. 윈도우 PC의 "Hyper-V 활성화 하기

 

2. 아래 사이트에서 도커 파일 다운로드 하기

https://docs.docker.com/desktop/install/windows-install/

 

Install Docker Desktop on Windows

Get started with Docker for Windows. This guide covers system requirements, where to download, and instructions on how to install and update.

docs.docker.com

 

3. 다운로드 파일 실행 하기: "Docker Desktop Installer.exe"

 

 

4. PC 재시작

 

5. wsl version 2로 변경

 

6. PC 재시작 후 Docker Desktop 실행

  - 오류 발생 시

 

  - 조치 방법

 

  - 문제가 없을 경우 실행 완료

'기술 노트 > Docker' 카테고리의 다른 글

docker로 컨테이너 올리기  (0) 2023.09.26
docker 파일 복사 방법  (0) 2023.04.13

1. 아래 사이트에서 PC 환경에 맞는 Agent 다운로드

https://git-scm.com/

 

Git

 

git-scm.com

 

2. Agent 설치하기

Editor는 본인이 가지고 있는 툴을 선택하시면 됩니다.

 

3. Git Bash 실행 & 설정 하기

 

minikube는 로컬 컴퓨터에 kebernetes를 설치할 경우 로컬 쿠버네티스 클러스터를 쉽고 빠르게 세팅할 수 있는 도구 입니다.

 

1. 설치하기

curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-darwin-amd64
sudo install minikube-darwin-amd64 /usr/local/bin/minikube

 

2. docker 설치하기 (설치 대안: docker, virtualbox, hyperkit, parallels, qemu2, podman)

docker desktop 설치

https://docs.docker.com/desktop/install/mac-install/

 

3. docker desktop 실행

 

4. 시작하기

minikube start

 

아래 사이트 참고하시기 바랍니다.

https://minikube.sigs.k8s.io/docs/start/

 

minikube start

minikube is local Kubernetes

minikube.sigs.k8s.io

https://minikube.sigs.k8s.io/docs/tutorials/docker_desktop_replacement/

 

Using minikube as Docker Desktop Replacement

Overview This guide will show you how to use minikube as a Docker Desktop replacement. Before You Begin This only works with the docker container runtime, not with containerd or crio. You need to start minikube with a VM driver instead of docker, such as h

minikube.sigs.k8s.io

 

'기술 노트 > kubernetes' 카테고리의 다른 글

macOS에서 kubernetes 설치하기  (0) 2023.09.25

+ Recent posts