key 등록
$ sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
repository 등록
$ sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
repository 업데이트
$ yum check-update -y
install VScode
$ sudo yum install -y code
'Infrastructure' 카테고리의 다른 글
CentOS (0) | 2020.07.11 |
---|---|
CentOS7 Chrome Install (0) | 2020.07.11 |
CentOS7 일반 유저 권한설정 (0) | 2020.07.11 |
CentOS7 golang Install (0) | 2020.07.11 |
CentOS7 Kubernetes Install (0) | 2020.07.11 |