군머에서 라파클러스터 접속하기
KumKeeHyun opened this issue · comments
다음 휴가엔 라파 세팅하고 오기
개발환경
- vscode를 쓰고 싶음
- remote-ssh 쓰면 싸작센으로 끌려감
- code-server를 라파에 올려서 웹으로 접속하는게 베스트
- arm64로 올려야 함
vscode-server arm64 도커 이미지 주소 -> 잘 돌아가는지는 모르겠음
공유기 ddns 설정
로컬 서버를 외부에서 접속할 수 있게 해주는 무료 서비스가 있다고 한다.
argo tunnel
웹 기반 terminal 사용하기
ssh를 사용 못한다? 오히려 좋아
http 감사하다
cd; mkdir gotty; cd gotty
wget https://github.com/yudai/gotty/releases/download/v1.0.1/gotty_linux_arm.tar.gz
tar -zxvf gotty_linux_arm.tar.gz
rm gotty_linux_arm.tar.gz
/etc/systemd/system/
위치에 .service 파일 작성
[Unit]
Description=Start Gotty Service - bash
[Service]
Type=simple
User=<username>
WorkingDirectory=<some/dir>
ExecStart=<some/exec/file>
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target
- systemd 등록 및 실행
systemctl enable .service // 등록
systemctl start .service // 실행
systemctl status .service // 상태보기