随笔分类 -  linux

摘要:服务器A(假设为10.64.104.11) 免密登录服务器B(10.64.104.22) 1、登录服务器A 2、生成公私钥 3、将生成的.pub文件发送到服务器B上 4、登录服务器B 阅读全文
posted @ 2019-10-17 11:31 月河 阅读(533) 评论(0) 推荐(0)
摘要:一、安装nginx服务 二、修改nginx配置文件 三、重启nginx服务 阅读全文
posted @ 2019-10-15 11:50 月河 阅读(299) 评论(0) 推荐(0)
摘要:一、查看服务器上是否开启了sshd服务 二、 ssh配置是否正确 三、服务器端生成 公私钥 id_rsa -私钥 id_rsa.pub -公钥 四、客户端 下载私钥 win: C:/user/username/.ssh 如下图: 将私钥保存在id_rsa_server 中 注意:config是配置多 阅读全文
posted @ 2019-06-03 15:00 月河 阅读(1539) 评论(0) 推荐(0)
摘要:远程登陆数据库的时候出现了下面出错信息 :ERROR 2003 ( HY000 ) : Can 't connect to MySQL server on ' xxx.xxx.xxx.xxx ',经过今天下午的反复纠结,关于MySql数据库无法远程连接的问题可以归结为以下几点:1). 没有授予相应的 阅读全文
posted @ 2019-01-04 11:34 月河 阅读(4837) 评论(0) 推荐(1)
摘要:查看一下user表,错误的起因就是在这里, root的plugin被修改成了auth_socket,用密码登陆的plugin应该是mysql_native_passwordmysql> select user, plugin from mysql.user; + + + | user | plugi 阅读全文
posted @ 2018-12-07 09:59 月河 阅读(1052) 评论(0) 推荐(0)
摘要:再 最后再apt-get install xxxx 成功! 阅读全文
posted @ 2018-11-30 15:37 月河 阅读(697) 评论(0) 推荐(0)