Obsidian/Recognition/Programing/Linux/Ubuntu/vscode-server 설치.md

652 B


# vscode 설치
sudo curl -gsSL https://code-sever.dev/install.sh | sh

# vscode 시작
# @USER : @odroid
sudo systemctl start code-server@USER

# vscode 부팅시 자동 실행
sudo systemctl --user enable --now code-server

# config 수정
cd ~/.config/code-server
nano config.yaml
	bind-addr: 192.168.231.169:9174
	# or       : 0.0.0.0:9174
	auth: password
	password: [비번설정]
	cert: false


# vscode 재시작
sudo systemctl restart code-server@USER

  • code-server is being accesed over an insecure domain 해결 편법

접속 : chrome://flags/#unsafely-treat-insecure-origin-as-secure 추가 : http://xx.xx.xx.xx:34321