
linux
文章平均质量分 59
poplar50
这个作者很懒,什么都没留下…
展开
-
Arch Linux安装过程整理
整理了一下Arch Linux的安装过程,便于下次重装使用。原创 2017-12-29 15:48:39 · 2508 阅读 · 0 评论 -
Ubuntu以及Arch Linux切换清华源
UbuntuUbuntu清华源更换网址这个地址里同样有其他Linux发行版的源使用帮助信息。更换步骤1.在上述网址选择ubuntu版本,生成对应的源地址;2.备份原始文件sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup3.编辑源文件sudo vim /etc/apt/sources.list将sources.list中内容注释或者删原创 2017-12-29 15:51:23 · 7488 阅读 · 0 评论 -
使用ubuntu的几点小技巧
1. 更换pip源为阿里云的镜像源官方帮助教程编辑pip配置文件:vim ~/.pip/pip.conf然后写入如下内容:[global]index-url = http://mirrors.aliyun.com/pypi/simple/[install]trusted-host = mirrors.aliyun.com如果发现没有对应文件夹以及配置文件,请直接自行创建。2. Ubuntu将默认原创 2017-12-29 15:56:54 · 531 阅读 · 0 评论 -
Git push免密码设置
git push 免密码通用情况1.使用文件创建用户名和密码文件创建在用户主目录下:touch .git-credentialsvim .git-credentialshttps://{username}:{password}@github.com记得在真正输入的时候是没有大括号的。2.添加git config内容git config --global credential.helper sto原创 2017-12-29 15:58:27 · 7401 阅读 · 0 评论