Commit 4ac20c
2024-04-28 17:09:43 Qwas: VScode远程开发环境配置/dev/null .. "b/VScode\350\277\234\347\250\213\345\274\200\345\217\221\347\216\257\345\242\203\351\205\215\347\275\256.md" | |
@@ 0,0 1,38 @@ | |
+ | # VScode 远程开发环境配置 |
+ | |
+ | ::: info |
+ | 为了利用阿里内网加速,下面用到了内网域名,公网无法使用 |
+ | 如在公网使用,请将 http://mirrors.cloud.aliyuncs.com 替换成 https://mirrors.aliyun.com |
+ | ::: |
+ | |
+ | ## 安装 git unzip |
+ | |
+ | ```sh |
+ | apt update |
+ | apt install git unzip |
+ | ``` |
+ | |
+ | ## nodejs 安装 |
+ | |
+ | ```sh |
+ | curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash |
+ | ``` |
+ | |
+ | ### node 代理 |
+ | |
+ | ```sh |
+ | export NVM_NODEJS_ORG_MIRROR=http://mirrors.cloud.aliyuncs.com/nodejs-release |
+ | ``` |
+ | |
+ | ### npm 代理 |
+ | |
+ | ```sh |
+ | npm config set registry https://registry.npmmirror.com |
+ | ``` |
+ | |
+ | ## docker 安装 |
+ | |
+ | ```sh |
+ | export DOWNLOAD_URL="http://mirrors.cloud.aliyuncs.com/docker-ce/" |
+ | curl -fsSL https://get.docker.com/ | sudo -E sh |
+ | ``` |