干活笔记
生产实习
Mark Down相关
常用指令
https://www.runoob.com/markdown/md-link.html
安装Typora
https://www.typora.io/#linux
root用户下无法运行
https://blog.csdn.net/weixin_45338404/article/details/102873132
typora --no-sandbox
Linux相关
常用指令
https://www.runoob.com/linux/linux-tutorial.html
配置WSL环境(垃圾):
https://docs.microsoft.com/zh-cn/windows/wsl/install-win10
安装Ubuntu双系统
引导盘
TUNA源镜像
https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/
Rufus引导工具
http://rufus.ie/zh/
安装
安装花屏
https://blog.csdn.net/cheneykl/article/details/79111618
其他设置
https://zhuanlan.zhihu.com/p/101307629
配置CUDA
安装驱动
https://zhuanlan.zhihu.com/p/72300035
ubuntu-drivers devices
sudo ubuntu-drivers autoinstall
sudo reboot
cuda10.0
https://developer.nvidia.com/cuda-10.0-download-archive
CUDA10.2
https://developer.nvidia.com/cuda-10.2-download-archive
CUDA 9
https://developer.nvidia.com/cuda-90-download-archive
安装教程
https://blog.csdn.net/Day1more/article/details/101914031
vi /etc/profile #编辑脚本
####加在脚本文件末尾
export CUDA_DIR=/usr/local/cuda-10.2
export PATH=$PATH:$CUDA_DIR/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CUDA_DIR/lib64
####
source /etc/profile #运行脚本
nvcc -V #查看设置
切换用户:
https://blog.csdn.net/xnlay/article/details/79048508
sudo passwd root #修改root用户密码
su - #默认切换到root用户
Ubuntu登陆root用户
https://blog.csdn.net/a838860376/article/details/106735865/
终端光标
echo -e "\033[?25l" #隐藏光标
echo -e "\033[?25h" #显示光标
查看进程
https://www.linuxprobe.com/linux-look-process.html
ps -A #查看系统中每个进程
top #动态实时视图
中止进程
https://www.linuxprobe.com/linux-kill-manager.html
kill -9 PID
快速访问工作目录
echo $PWD #在工作目录下输入
vi /etc/profile #编辑脚本文件
export WORK_DIR=路径 #路径为上上步复制内容
source /etc/profile #执行脚本
cd $WORK_DIR #快速访问目录
配置gcc
更换apt源(TUNA)
https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
常用apt指令
https://blog.csdn.net/fuyongchang/article/details/86777000
apt update #更新源
apt install gcc #安装gcc
配置g++
apt install g++ #安装g++
配置conda:
安装:
https://blog.csdn.net/xiaerwoailuo/article/details/70054429
启动顺序:
https://blog.csdn.net/xyqzki/article/details/41832875
环境变量:
https://blog.csdn.net/mayue_web/article/details/97023615
vi操作:
http://c.biancheng.net/view/615.html
vi /ect/profile #修改脚本文件
####
export PATH=$PATH:~/anaconda3/bin #在文件末尾添加该脚本命令
####
source /etc/profile #执行脚本
更换conda源(TUNA):
https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/
conda config --show-sources #检查设置
conda update conda #获取更新
复制conda环境
https://blog.csdn.net/songyuc/article/details/102862629
conda create -n conda-env2 --clone conda-env1
更换pip源
https://mirrors.tuna.tsinghua.edu.cn/help/pypi/
pip install pip -U
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
安装Pyharm
https://www.jetbrains.com/pycharm/download/#section=linux
sudo snap install [pycharm-professional|pycharm-community] --classic
安装git
https://blog.csdn.net/qq_27006271/article/details/108140048
apt update #更新软件列表
apt install git 下载安装git
安装maskrcnn
maskrcnn 源码
https://github.com/facebookresearch/maskrcnn-benchmark