记录一下不想每次都百度了。
就按照安装系统的顺序开始吧:
1. Ubuntu系统循环登录问题
一般是显卡驱动问题,重装就好了。
在循环登录界面进入tty命令行模式,然后:
sudo apt install nvidia-driver-440/或者其他版本
然后重启:
reboot
如果没有网络连接,可以使用USB链接手机,在手机端打开USB网络共享即可。
如果不管用的话,参考链接:https://www.cnblogs.com/booturbo/archive/2020/11/12/13967033.html
2. 系统软件安装顺序:
-
进入Software&update 换国内源;
-
进入software center 下载软件:
1. Pycharm
2. Clion
3. wps -
打开火狐下载chrome;
-
登录学校云盘下载qv2ray2.7, v2ray core 4.4, anaconda , cuda
-
touch qv2ray.desktop ubuntu app.desktop
-
安装python3
sudo apt install python3 sudo ln -s /usr/bin/python3 /usr/bin/python
-
同步chrome书签
-
配置开机挂载硬盘: 点击这里
-
常用工具安装:
sudo apt install axel htop tilda sudo snap install mathpix-snipping-tool
-
安装xelatex + texstudio编辑环境:
https://blog.csdn.net/qq_41814939/article/details/82288145可能需要安装系统字体:
- Download the font file:
https://github.com/dolbydu/font - 安装字体管理软件:
sudo apt install font-manager
- open the font manager and install the downloaded fonts.
- Download the font file:
-
Pip 全局配置源
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
可选源:
(1)阿里云 https://mirrors.aliyun.com/pypi/simple/ (2)豆瓣 https://pypi.douban.com/simple/ (3)清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/ (4)中国科学技术大学 https://pypi.mirrors.ustc.edu.cn/simple/ (5)华中科技大学https://pypi.hustunique.com/
Pip 临时指定源
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pandas
-
conda全局配置源
中科大源conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/ conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/ conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/msys2/ conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/ conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/menpo/ conda config --set show_channel_urls yes
清华源
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/ conda config --set show_channel_urls yes
上海交通大学源
conda config --add channels https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/main/ conda config --add channels https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.sjtug.sjtu.edu.cn/anaconda/cloud/conda-forge/ conda config --set show_channel_urls yes
恢复默认源
conda config --remove-key channels
pytorch各个版本镜像下载地址:
torch-cuda9.2 镜像地址
torch-cuda10.0镜像地址
同理修改网址到对应的cuda版本可以链接到对应镜像地址.
下载好之后,使用pip进行安装:
pip install XXXX.whl