sudo apt-get remove docker docker-engine docker.io containerd runc
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
분류 전체보기
- WSL2에 도커 설치 2022.10.26
- 도커 모든 이미지 삭제 2022.10.26
- postgresql wsl2에 설치 2022.10.26
- vscode perfoce 플러그인 연동 2022.10.21
- Set the P4CLIENT environment variable to desired workspace name. 2022.10.21
- 알리 리포백 2022.10.21
- Can I get files from "Depot" without a "Stream" in Perforce P4? 2022.10.21
- Linux용 Windows 하위 시스템 Visual Studio Code 사용 시작 2022.10.20
- Ubuntu Install the .NET SDK 2022.10.20
- ubuntu perfoce 설정 2022.10.20
WSL2에 도커 설치
도커 모든 이미지 삭제
docker system prune -a
postgresql wsl2에 설치
version: '3.3'
services:
redis:
image: 'redis:6.0.5'
environment:
ALLOW_EMPTY_PASSWORD: "yes"
ports:
- 6379:6379
volumes:
- /mnt/d/docker/Redis/Log:/data
- /mnt/d/docker/Redis/redis.conf:/usr/local/etc/redis/redis.conf
mysql5.7:
image: mysql:5.7.28
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: coral
ports:
- 3306:3306
volumes:
- /home/mysql5.7/Data:/var/lib/mysql
- /home/mysql5.7/:/etc/mysql/
postgreSQL:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: "test"
ports:
- 5432:5432
volumes:
- /home/postgreSQL:/var/lib/postgresql/data
docker ps 로 이미명 찾자
# docker exec -it 4f85072fd34a bash
디비에 들어가자
psql -U postgres
계정 생성
postgres=# CREATE USER test PASSWORD 'test' SUPERUSER;
사용하자
'프로그래밍' 카테고리의 다른 글
golang 간단한 pg 라이브러리 (0) | 2022.11.02 |
---|---|
golnag으로 pg에 간단히 insert 하는 법 (0) | 2022.11.02 |
vscode perfoce 플러그인 연동 (0) | 2022.10.21 |
Set the P4CLIENT environment variable to desired workspace name. (0) | 2022.10.21 |
Can I get files from "Depot" without a "Stream" in Perforce P4? (0) | 2022.10.21 |
vscode perfoce 플러그인 연동
git을 쓰다가 퍼포스 넘어오면
파일 추가를 체크 안해주서 좀 귀찮다
이걸 vscode 플러그인이 해줘서 좀 적어둔다.
- "p4 client -S 스트림"으로 워크 스페이스 생성
- "p4 sync {//위치}"로 파일 받기
- p4v에서 해도 상관 없음
- 확장에서 설정한 클라이언트 명 설정
- 출력에서 잘 되는지 확인
요래 하면
이렇게 잘 표시된다.
'프로그래밍' 카테고리의 다른 글
golnag으로 pg에 간단히 insert 하는 법 (0) | 2022.11.02 |
---|---|
postgresql wsl2에 설치 (0) | 2022.10.26 |
Set the P4CLIENT environment variable to desired workspace name. (0) | 2022.10.21 |
Can I get files from "Depot" without a "Stream" in Perforce P4? (0) | 2022.10.21 |
Linux용 Windows 하위 시스템 Visual Studio Code 사용 시작 (0) | 2022.10.20 |
Set the P4CLIENT environment variable to desired workspace name.
On UNIX and OS X
$ export P4CLIENT=bruno_ws
On Windows
$ set P4CLIENT=bruno_ws
'프로그래밍' 카테고리의 다른 글
postgresql wsl2에 설치 (0) | 2022.10.26 |
---|---|
vscode perfoce 플러그인 연동 (0) | 2022.10.21 |
Can I get files from "Depot" without a "Stream" in Perforce P4? (0) | 2022.10.21 |
Linux용 Windows 하위 시스템 Visual Studio Code 사용 시작 (0) | 2022.10.20 |
Ubuntu Install the .NET SDK (0) | 2022.10.20 |
알리 리포백
6.71US $ 46% OFF|Lipo Bag Guard Safety Bag Fireproof Explosion Proof Portable Bag for RC Toys FPV Racing Drone Car Lipo Battery
Smarter Shopping, Better Living! Aliexpress.com
www.aliexpress.com
여기 리포백 사이즈가 좋은 거 같다
난 5번이 맘에 들어서 추천
'인터넷 상품' 카테고리의 다른 글
집 키보드 설정 (0) | 2022.12.14 |
---|---|
르노 키 케이스 (0) | 2022.11.22 |
리포백 (0) | 2022.10.12 |
Baseus-160w 자동차 중전기 (0) | 2022.10.11 |
AOHI 100W 보조배터리 30000mAh (0) | 2022.10.11 |
Can I get files from "Depot" without a "Stream" in Perforce P4?
'프로그래밍' 카테고리의 다른 글
vscode perfoce 플러그인 연동 (0) | 2022.10.21 |
---|---|
Set the P4CLIENT environment variable to desired workspace name. (0) | 2022.10.21 |
Linux용 Windows 하위 시스템 Visual Studio Code 사용 시작 (0) | 2022.10.20 |
Ubuntu Install the .NET SDK (0) | 2022.10.20 |
ubuntu perfoce 설정 (0) | 2022.10.20 |
Linux용 Windows 하위 시스템 Visual Studio Code 사용 시작
https://learn.microsoft.com/ko-kr/windows/wsl/tutorials/wsl-vscode
WSL에서 VS Code 사용 시작
Linux용 Windows 하위 시스템 사용하여 코드를 작성하고 디버그하도록 VS Code를 설정하는 방법을 알아봅니다.
learn.microsoft.com
https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack
Remote Development - Visual Studio Marketplace
Extension for Visual Studio Code - An extension pack that lets you open any folder in a container, on a remote machine, or in WSL and take advantage of VS Code's full feature set.
marketplace.visualstudio.com
sudo apt-get update
sudo apt-get install wget ca-certificates
code .
'프로그래밍' 카테고리의 다른 글
Set the P4CLIENT environment variable to desired workspace name. (0) | 2022.10.21 |
---|---|
Can I get files from "Depot" without a "Stream" in Perforce P4? (0) | 2022.10.21 |
Ubuntu Install the .NET SDK (0) | 2022.10.20 |
ubuntu perfoce 설정 (0) | 2022.10.20 |
WSL 브릿지 모드 (0) | 2022.10.20 |
Ubuntu Install the .NET SDK
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
sudo apt-get update && \
sudo apt-get install -y dotnet-sdk-6.0
sudo apt-get update && \
sudo apt-get install -y aspnetcore-runtime-6.0
'프로그래밍' 카테고리의 다른 글
Can I get files from "Depot" without a "Stream" in Perforce P4? (0) | 2022.10.21 |
---|---|
Linux용 Windows 하위 시스템 Visual Studio Code 사용 시작 (0) | 2022.10.20 |
ubuntu perfoce 설정 (0) | 2022.10.20 |
WSL 브릿지 모드 (0) | 2022.10.20 |
Perforce Install in Ubuntu (0) | 2022.10.20 |
ubuntu perfoce 설정
vi /etc/profile
# Perforce Settings
export P4JOURNAL=/var/log/perforce/journal
export P4LOG=/var/log/perforce/p4err
export P4PORT=newp4:1666
export P4ROOT=/srv/repository/perforce
export P4USER=aaa
#############################################
추가 후
WSL 재 시작
'프로그래밍' 카테고리의 다른 글
Linux용 Windows 하위 시스템 Visual Studio Code 사용 시작 (0) | 2022.10.20 |
---|---|
Ubuntu Install the .NET SDK (0) | 2022.10.20 |
WSL 브릿지 모드 (0) | 2022.10.20 |
Perforce Install in Ubuntu (0) | 2022.10.20 |
트랜잭션 문제 (0) | 2022.10.18 |