Follow me on GitHub

随笔分类 -  Linux 学习笔记

摘要:1. 免密登陆 假设电脑A需要免密登陆电脑B 1. 首先A机,本地需要生成 ~/.ssh 路径, ssh-keygen 2. 创建私钥,公钥 cd ~/.ssh id_rsa (私钥) id_rsa.pub (公钥) 3. A机上传公钥到B机 ssh-copy-id -i ~/.ssh/id_rsa 阅读全文
posted @ 2021-02-01 23:14 SiyuanChen 阅读(347) 评论(0) 推荐(0) 编辑
摘要:1. 文件复制命令 cp 将源文件名移动至目标文件夹 cp [options] source_file destination_folder 2. 移动文件命令 mv 将源文件名改为目标文件名 mv [options] source_file new_file 将文件移动到目标目录 mv [opti 阅读全文
posted @ 2020-07-26 17:51 SiyuanChen 阅读(248) 评论(0) 推荐(0) 编辑
摘要:1. 安装git 安装连接:http://git-scm.com/download/linux (LINUX) https://git-scm.com/downloads (Windows) 2. 安装后配置环境变量 我的电脑右键 -> 属性 -> 左边栏高级系统设置 -> 环境变量 -> 系统变量 阅读全文
posted @ 2019-07-26 05:12 SiyuanChen 阅读(7996) 评论(0) 推荐(0) 编辑
摘要:1.本地生成密钥 生成完以后 获得一串密钥 然后拿着这一串密钥到GitHub主页 SSH and GPG keys 添加New Key Title 随便填 ,key的话就把AAAA开始到邮箱结尾全部复制 2.登陆并git init 初始化 如果之前的密钥没有问题的话,使用命令登陆: 初始化一个git 阅读全文
posted @ 2019-04-16 22:11 SiyuanChen 阅读(4308) 评论(0) 推荐(0) 编辑
摘要:1.1 安装 Debian/Ubuntu系统执行:apt-get install screen 2.1 创建作业 在服务器终端输入命令,以创建作业 例如: 创建作业后,你可以在Screen上开始训练你的神经网络,跑你的代码等等……通常来说训练网络或者跑一个时常很长的代码,我们会选择离开电脑。 因此为 阅读全文
posted @ 2019-04-14 20:39 SiyuanChen 阅读(3743) 评论(0) 推荐(0) 编辑
摘要:1. 安装 2. 创建SSHFS 挂载目录 3.使用SSHFS 挂载远程的文件系统 sudo sshfs -o allow_other,IdentityFile=~/.ssh/id_rsa #username@site:/share1/home/siyuan /mnt/siyuan 例: sshfs 阅读全文
posted @ 2019-04-11 08:39 SiyuanChen 阅读(3460) 评论(0) 推荐(0) 编辑
摘要:1. 安装 输入命令: sudo apt-get install sshfs 2. 服务器端开启Jupyter Notebook Ubuntu服务器端安装过程参考:www.cnblogs.com/laresh/p/8193939.html 安装完成后自定义服务器port:9999(端口一般自己定义, 阅读全文
posted @ 2019-04-09 15:36 SiyuanChen 阅读(2097) 评论(0) 推荐(0) 编辑