今天开始用的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,改
在虚拟机软件中,vmware player是对硬件支持很好的,通过它可以很方便的使用网银.单片机开发等等工作.但是最近ubuntu每次升级内核后,vmware都会启动失败,提示:Before you can run VMware, server modules must be compiled and loaded into the running kernel(Kernel headers for version 3.8.0-25-generic were not found) 这时需要重新编