使用ubuntu16.04中的注意点
2016-09-01 00:00
183 查看
本来使用ubuntu14.04,换了ubuntu16.04后发现许多不同,都是比较琐碎的点
1. 安装了git ,也初始化,ssh 的publickey也配好了,此时从公司服务器上拉代码按照14.04上没问题,
但是在16.04报了个错
Unable to negotiate with 10.120.10.20 port 29418: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
fatal: Could not read from remote repository.
#解决方法 :修改~/.ssh/config 加入
Host *
KexAlgorithms +diffie-hellman-group1-sha1
2.因为要编译android源码
1. 安装了git ,也初始化,ssh 的publickey也配好了,此时从公司服务器上拉代码按照14.04上没问题,
但是在16.04报了个错
Unable to negotiate with 10.120.10.20 port 29418: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
fatal: Could not read from remote repository.
#解决方法 :修改~/.ssh/config 加入
Host *
KexAlgorithms +diffie-hellman-group1-sha1
2.因为要编译android源码
#Ubuntu16.04的安装源已经默认没有openjdk7了,所以要自己手动添加仓库,如下:
sudo
add-apt-repository ppa:openjdk-r
/ppa
#详细用法见:http://baike.baidu.com/item/add-apt-repository
sudo
apt-getupdate
sudo
apt-get
install
openjdk-7-jdk
相关文章推荐
- git ubuntu 16.04 服务器搭建及 git(windows使用)注意
- Ubuntu 16.04使用sudo apt-get -f install解决依赖时的注意事项(重点)
- ubuntu10.10使用crosstool0.43构建arm9交叉编译器注意事项
- Ubuntu使用软RAID时需要注意的问题
- Ubuntu问题记录-解决Ubuntu16.04上WPS,intellij idea系列包括Android Studio无法使用fcitx的搜狗拼音的问题
- Docker学习系列(三):Ubuntu下使用Docker的基本指令记录及一些注意事项
- 锐捷Linux客户端使用方法(基于ubuntu16.04)
- ubuntu 中使用opencv的注意事项
- 使用新的 apt 命令在 Ubuntu 16.04 LTS 下管理软件包
- Ubuntu 16.04 下使用FileZilla工具无法显示中文目录及文件名的解决方法
- ubuntu16.04 wps不能使用搜狗输入法
- Linux国内常用源的介绍和使用(Ubuntu16.04为例)
- ubuntu 下git 使用注意
- armadillo ubuntu 使用注意
- 在远程ubuntu 16.04中使用docker api
- Ubuntu16.04 wine的使用
- ubuntu下alias使用详解(有许多需要注意的细节)
- ubuntu 下面libxml2的安装与使用--注意 -lxml2 不放置在最后编译会报错!
- ubuntu15.10 或者 16.04 或者 ElementryOS 下使用 Dotnet Core
- VMware + Ubuntu16.04 网络无法使用问题