今天开始用的git,记下获取ssh keys 的代码 ? 1 2 3 ssh-keygen -t rsa -C "your_email@example.com" # Enter file in which to save the key (/home/you/.ssh/id_rsa): ssh-add id_rsa http://my.oschina.net/silentboy/blog/195741?p=1 这里建议直接回车,就在当前目录下创建id_rsa.pub,不然会像我一样,路
安装时ubuntu提示: DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429). 所以我们要升级一下版本: wget https://www.python.org/ftp/py
升级Ubuntu系统时遇到的这个问题, 原因是默认的源不是国内的,而且还可能导致下载慢等问题. 1.备份源 cd /etc/apt/ sudo cp sources.list sources.list.bat 2.更换源 sudo vim sources.list 清除sources.list内的所有内容.更换为 #阿里云 Ubuntu 18.04 deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe mult
起因: 在现有的 Apache + PHP 环境下,增加一个 PHP Extension 扩展时,遇到错误: Unable to initialize moduleModule compiled with module API=20090626PHP compiled with module API=20100525These options need to match 这是因为 PHP 运行库的编译环境与扩展包的编译环境不一致. 解决的思路很简单,让两者一致.这里就有两种处理方式:1,改