Skip to content

Commit

Permalink
Merge pull request #73 from honlu/main
Browse files Browse the repository at this point in the history
fix: C1中添加阿里云首次登录失败解决方案,完善环境配置shell指令展示问题
  • Loading branch information
0-yy-0 authored Apr 14, 2024
2 parents f0dbcae + 47a6de3 commit 75d0a90
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 27 deletions.
7 changes: 6 additions & 1 deletion docs/C1/5.阿里云服务器的基本使用.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,15 @@ https://developer.aliyun.com/plan/student
![控制台](../figures/C1-5-Aliyun_home.png)
点击远程连接,点击立即登录。
![远程连接](../figures/C1-5-Aliyun_login.png)
默认密码是 root;如果不允许登录请按照[链接](https://help.aliyun.com/zh/ecs/user-guide/use-the-password-can-t-login-the-linux-cloud-server-ecs-what-should-i-do)修改服务器配置。
默认密码是 root;

![登录](../figures/C1-5-Aliyun_login1.png)

如果不允许登录请按照[链接](https://help.aliyun.com/zh/ecs/user-guide/use-the-password-can-t-login-the-linux-cloud-server-ecs-what-should-i-do)修改服务器配置。
【简单处理方式:在云服务器管理控制台页面,点击‘远程连接’附近三点,选择重置实例密码。再次登录就可以啦。】
![重置实例密码](../figures/C1-5-Aliyun_rest_pass.jpg)


之后就可以进入环境进行学习啦!!!

## 五、VSCode 连接远程服务器
Expand Down
35 changes: 23 additions & 12 deletions docs/C1/6.环境配置.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,33 @@
![添加 ssh key 到 github](../figures/C1-1-github_ssh.png)
1. 安装 conda 环境
1. linux 环境(通常采用 linux 环境)
1. 安装:`mkdir -p ~/miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh`
1. 安装:
```shell
mkdir -p ~/miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh
```
1. 初始化:
`~/miniconda3/bin/conda init bash
~/miniconda3/bin/conda init zsh`
```shell
~/miniconda3/bin/conda init bash
~/miniconda3/bin/conda init zsh
```
1. 新建终端,检查 conda 是否安装成功
`conda --version`
1. macOS 环境
1. 安装:`mkdir -p ~/miniconda3
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh -o ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh`
1. 初始化:`~/miniconda3/bin/conda init bash
~/miniconda3/bin/conda init zsh`
1. 安装:
```shell
mkdir -p ~/miniconda3
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh -o ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh
```
1. 初始化:
```shell
~/miniconda3/bin/conda init bash
~/miniconda3/bin/conda init zsh
```
1. 新建终端,检查 conda 是否安装成功
`conda --version`
1. windows 环境
Expand Down
Binary file added docs/figures/C1-5-Aliyun_rest_pass.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figures/C1-5-Aliyun_rest_pass.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ https://developer.aliyun.com/plan/student
![控制台](../../figures/C1-5-Aliyun_home.png)
点击远程连接,点击立即登录。
![远程连接](../../figures/C1-5-Aliyun_login.png)
默认密码是 root;如果不允许登录请按照[链接](https://help.aliyun.com/zh/ecs/user-guide/use-the-password-can-t-login-the-linux-cloud-server-ecs-what-should-i-do)修改服务器配置。

默认密码是 root;
![登录](../../figures/C1-5-Aliyun_login1.png)
如果不允许登录请按照[链接](https://help.aliyun.com/zh/ecs/user-guide/use-the-password-can-t-login-the-linux-cloud-server-ecs-what-should-i-do)修改服务器配置。
【简单处理方式:在云服务器管理控制台页面,点击‘远程连接’附近三点,选择重置实例密码。再次登录就可以啦。】
![重置实例密码](../../figures/C1-5-Aliyun_rest_pass.jpg)

之后就可以进入环境进行学习啦!!!

Expand Down
35 changes: 23 additions & 12 deletions notebook/C1 大型语言模型 LLM 介绍/6.环境配置.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,33 @@
![添加 ssh key 到 github](../../figures/C1-1-github_ssh.png)
1. 安装 conda 环境
1. linux 环境(通常采用 linux 环境)
1. 安装:`mkdir -p ~/miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh`
1. 安装:
```shell
mkdir -p ~/miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh
```
1. 初始化:
`~/miniconda3/bin/conda init bash
~/miniconda3/bin/conda init zsh`
```shell
~/miniconda3/bin/conda init bash
~/miniconda3/bin/conda init zsh
```
1. 新建终端,检查 conda 是否安装成功
`conda --version`
1. macOS 环境
1. 安装:`mkdir -p ~/miniconda3
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh -o ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh`
1. 初始化:`~/miniconda3/bin/conda init bash
~/miniconda3/bin/conda init zsh`
1. 安装
```shell
mkdir -p ~/miniconda3
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh -o ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh
```
1. 初始化:
```shell
~/miniconda3/bin/conda init bash
~/miniconda3/bin/conda init zsh
```
1. 新建终端,检查 conda 是否安装成功
`conda --version`
1. windows 环境
Expand Down

0 comments on commit 75d0a90

Please sign in to comment.