![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ubuntu系统问题
wisgon
技术心笔记已转移到https://gitee.com/wisgon/my_programer_career
展开
-
ssh报错:ssh_exchange_identification: Connection closed by remote host
我用ssh登陆服务器,出现这个报错的很蠢的原因是,服务器居然没有装openssh-server。。。233333sudo apt-get install openssh-server搞定原创 2020-09-23 16:48:37 · 496 阅读 · 0 评论 -
ubuntu下两个gcc版本切换
Ubuntu系统使用的gcc版本随着发布版本的不同而不同,在编译Android系统时不同的版本推荐用不同的gcc去编译,那么可不可以改变系统的gcc来适应android编译环境的需求呢?答案是可以的。先看看我们系统用的gcc和g++是什么版本gcc -v可以获得的信息如下gcc version 4.4.6 (Ubuntu/Linaro 4.4.6-11ubuntu2)如果我们想...转载 2017-11-14 10:11:27 · 1104 阅读 · 0 评论 -
ubuntu安装gcc-6
原文:https://blog.csdn.net/sinat_23246437/article/details/543426331.安装gcc-6:sudo apt-get update && \sudo apt-get install build-essential software-properties-common -y && \sudo add...转载 2018-07-24 11:43:55 · 11102 阅读 · 1 评论 -
解决git命令行每次pull,push都要输入密码的问题
有时候git明明已经配置了用户名和密码,但在项目中,有时候pull和push的时候却每次都要提示输入用户名和密码,很浪费时间。可以这样解决:1、在git bash命令行中输入 echo $HOME 查看git home路径。2、进入home对应的路径中。touch .git-credentials 创建.git-credentialsvim .git-cred...转载 2019-07-11 14:34:08 · 1364 阅读 · 0 评论