09 2017 档案

gitlab 密钥登录问题
摘要:问题描述: 输入 git push u origin master后提示: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the corre 阅读全文

posted @ 2017-09-15 13:27 suosui 阅读(580) 评论(0) 推荐(0)

Apache和Tomcat 动静分离(整合)
摘要:前提:(1)系统是ubuntu (2)安装了apache2和tomcat,jdk 步骤:(1)a. 非集群 cp /etc/apache2/mods avaible/ mod_proxy、mod_proxy_http、mod_proxy_ajp /etc/apache2/mods enabled b 阅读全文

posted @ 2017-09-15 13:07 suosui 阅读(481) 评论(0) 推荐(0)

scp permition deny问题
摘要:问题描述:由于阿里云服务器设置了密钥登录,scp 登录时遇到了permistion deny(publickey) 的问题。决绝办法是,把密码登录的权限打开就好了,设置如下: (1)编辑服务器 vi /etc/ssh/sshd_config 修改 PasswordAuthentication no 阅读全文

posted @ 2017-09-14 14:38 suosui 阅读(412) 评论(0) 推荐(0)

阿里云ssh密钥登录
摘要:本地:windows+gitbash 远程服务器:阿里云的ubuntu(前提是安装系统盘时选择的时密钥登录) 密钥文件:xxx.pem (1)本地获取xxx.pem文件方法: 阿里云的控制台生新的密钥(生成后会自动下载到浏览器) (2)本地连接远程服务器方法: 先清空known_hosts文件。(进 阅读全文

posted @ 2017-09-14 14:34 suosui 阅读(1958) 评论(0) 推荐(0)

导航