当前位置: 首页 > article >正文

人工智能 阿里云算力服务器的使用

获取免费的阿里云服务器

阿里云免费使用地址:
https://free.aliyun.com/
在这里插入图片描述
选择 人工智能平台 PAI

在这里插入图片描述
在这里插入图片描述
选择交互式建模 再选建立实例。
在这里插入图片描述选择对应的GPU 和镜像,点击确认。

注意:250个小时,用的时候开启,不用的时候关闭,否则,很快就用完了
在这里插入图片描述
点击打开,进入控制界面:
在这里插入图片描述

创建conda 环境

在这里插入图片描述
下载anaconda3 :

wget https://repo.anaconda.com/archive/Anaconda3-2024.02-1-Linux-x86_64.sh

下载完成后:输入

bash Anaconda3-2024.02-1-Linux-x86_64.sh

开始安装:
中途会看协议,比较长,–更多–,你就一直按回车。直达让你输入yes或者no

Anaconda3 will now be installed into this location:
/root/anaconda3

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below
————————————————

看到这里,直接敲回车。 确认安装到 本地。

installation finished.
Do you wish to update your shell profile to automatically initialize conda?
This will activate conda on startup and change the command prompt when activated.
If you'd prefer that conda's base environment not be activated on startup,
   run the following command when conda is activated:

conda config --set auto_activate_base false

You can undo this by running `conda init --reverse $SHELL`? [yes|no]

输入 yes

[no] >>> yes
no change     /root/anaconda3/condabin/conda
no change     /root/anaconda3/bin/conda
no change     /root/anaconda3/bin/conda-env
no change     /root/anaconda3/bin/activate
no change     /root/anaconda3/bin/deactivate
no change     /root/anaconda3/etc/profile.d/conda.sh
no change     /root/anaconda3/etc/fish/conf.d/conda.fish
no change     /root/anaconda3/shell/condabin/Conda.psm1
no change     /root/anaconda3/shell/condabin/conda-hook.ps1
no change     /root/anaconda3/lib/python3.11/site-packages/xontrib/conda.xsh
no change     /root/anaconda3/etc/profile.d/conda.csh
modified      /root/.bashrc

到这里基本就安装完成,部分的可能需要添加环境变量:

我们先进入 bash 环境;

>> bash  
>> conda list

如果ok,就像,否则需要再配置环境变量:

>> source /root/.bashrc

开始配置 conda 环境…
https://blog.csdn.net/zhanglinlang/article/details/145339899


http://www.kler.cn/a/561279.html

相关文章:

  • Java中的@JSONField注解详解:用法、场景与实践
  • 51单片机编程学习笔记——点亮LED
  • 蓝桥杯笔记——递归递推
  • 单片机 Bootloade与二进制文件的生成
  • 深入解析:使用Python爬虫获取京东商品详情原数据API接口
  • 【java基础】Java 中的继承
  • API返回的数据结构包含哪些字段?
  • MyBatis-Plus(MP)2025/2/15
  • Python代码片段-断点任务
  • 侯捷 C++ 课程学习笔记:内存管理的每一层面
  • 【Godot4.3】自定义圆角容器
  • 登录-05.JWT令牌-介绍
  • Trae AI驱动开发实战:30分钟从0到1实现Django REST天气服务
  • 爬虫解析库:parsel的详细使用
  • 【MySQL】第八弹---全面解析数据库表的增删改查操作:从创建到检索、排序与分页
  • 算法很美笔记(Java)——动态规划
  • R语言Stan贝叶斯空间条件自回归CAR模型分析死亡率多维度数据可视化
  • 使用Socket编写超牛的http服务器和客户端(一)
  • Python学习总结
  • AI驱动的前端自动化测试:提升效率,保障质量