Stella981 Stella981
3年前
Connection reset by [server_ip] port 22 (hexo d 部署博客出错)
问题在使用hexod部署博客和使用Git/Github进行gitpushuoriginmaster时遇到了以下问题:gitcdiff.mnemonicprefixfalseccore.quotepathfalsepushvtagsoriginmaster:master
Stella981 Stella981
3年前
Python操作MongoDB代码示例
1importpymongopipinstallpymongo安装python操作mongodb的模块2myclientpymongo.MongoClient(host'127.0.0.1',port27017)指定主机和端口号创建客户端34dblistmyclient
Stella981 Stella981
3年前
Interval 间隔问题
2018090709:03:14一、MergeIntervals问题描述:!(https://oscimg.oschina.net/oscnet/b5bc16e4e5d2e804d10a3807df996bab22b.png)问题求解:publicList<Intervalmerg
Stella981 Stella981
3年前
ITerm2下使用ssh访问Linux
通常情况下,iTerm2访问远程Linux使用ssh,与Termial基本一样,方法如下:ssh <用户名@<ip然后输入访问的密码即可。当然还有的时候需要指定访问端口。ssh p <端口号 <用户名@<ip地址如果在iTerm2下的操作与termial一样,我还用它干甚?当然iTerm2有它特有的功能,这里使
Stella981 Stella981
3年前
Istio修改IngressGateway网络类型
ingressgateway的默认网络类型是LoadBanlancer,在没有外部负载均衡的情况下可以修改为NodePort。1、修改kubectlpatchserviceistioingressgatewaynistiosystemp'{"spec":{"type":"NodePort"}}'2、查看ID与端口
Stella981 Stella981
3年前
Nginx 反向代理配置及403出现原因
//image.happy.com.confserver{  //监听80端口listen80;  //状态on,首页展现索引  //状态off,首页403,不影响下层资源访问  autoindexoff;  //image.happy.com    serve
Wesley13 Wesley13
3年前
Git之提交错误:RPC failed; result=22, HTTP code = 411
这个问题刚开始,我一直以为是服务器有问题,后来发现是Git的最大文件限制,git的配置中http.postBuffer默认上限为1M所致问题上传报错,导致这个问题的原因是上传的文件超过了默认的配置上传的文件大小。error:RPCfailed;HTTP411curl22TherequestedURLret
Stella981 Stella981
3年前
Docker搭建redis
环境准备系统:centos7.7192.168.33.14192.168.33.15192.168.33.16 端口号:63816382一.搭建redis集群(以下步骤在每台服务器上都要执行)1.安装dockeryumyinstalldockersystemctlstartdockersystemct
Wesley13 Wesley13
3年前
Linux系统Python开发环境搭建
环境:fedora22,openjdk8安装eclipseyuminstalleclipse安装egit插件(根据需要安装)http://download.eclipse.org/egit/updates(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2F
Wesley13 Wesley13
3年前
Java面试常问集合框架22道面试真题(详解)
简介集合框架:用于存储数据的容器。集合框架是为表示和操作集合而规定的一种统一的标准的体系结构。任何集合框架都包含三大块内容:对外的接口、接口的实现和对集合运算的算法。接口:表示集合的抽象数据类型。接口允许我们操作集合时不必关注具体实现,从而达到“多态”。在面向对象编程语言中,接口通常用来形成规范。