Easter79 Easter79
4年前
Swift搭建本地http服务器,实现外部视频即时播放
最近项目有个小需求,需要ios实现手机作为服务端,将内部视频文件,在外面能够直接访问结合网上的例子,实现如下:1、基于CocoaHTTPServer(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fgithub.com%2Frobbiehanson%2FCocoaHTTPServ
Wesley13 Wesley13
4年前
ActiveMQ服务器数据迁移的一点心得
   ActiveMQ实现MasterSlave的方式有几种,一种是使用JdbcPeristent的方式,未被Consumer读取的消息和死消息写在数据库的ActiveMQ\_MSGS表中,还有一种是使用LevelDB文件,这些消息将被存储在LevelDB的.log文件中。  现在我们项目有一个需求是将原先使用JdbcPersistent
Stella981 Stella981
4年前
Python实现分发数据块到多台服务器上
代码如下:coding:utf8importparamikoimportreimportosfromtimeimportsleep定义一个类,表示一台远端linux主机参考https://www.cnblogs.com/haigege/
Stella981 Stella981
4年前
Git提交本地库代码到远程服务器的操作
在本地磁盘创建目录mkdirpath进入所创建的目录cdpathgitinit添加远程仓库的代码gitremoteaddorigingit@xbc.me:wordpress.git设置Gitgitconfigglobaluser.name"your_name"
Stella981 Stella981
4年前
SpringBoot中使用rabbitmq,activemq消息队列和rest服务的调用
1\.activemq  首先引入依赖  pom.xml文件<dependency<groupIdorg.springframework.boot</groupId<artifactIdspringbootstarteractivemq</artifactId</depe
Stella981 Stella981
4年前
Nginx之使用nginx搭建简单的文件服务器
  使用nginx可以搭建简单文件服务器  安装nginx(不详述)    修改配置文件/usr/local/nginx/conf/nginx.confuserroot;worker_processes1;error_loglogs/error.log;pidlog
Stella981 Stella981
4年前
Spring Cloud构建微服务架构:Hystrix监控数据聚合【Dalston版】
!(https://oscimg.oschina.net/oscnet/2ae714c54c9d4378a842a9c3ba9da0b2.png)前言上一篇我们介绍了使用HystrixDashboard来展示Hystrix用于熔断的各项度量指标。通过HystrixDashboard,我们可以方便的查看服务实例的综合情况,比如:服务调用
Easter79 Easter79
4年前
SpringBoot中使用rabbitmq,activemq消息队列和rest服务的调用
1\.activemq  首先引入依赖  pom.xml文件<dependency<groupIdorg.springframework.boot</groupId<artifactIdspringbootstarteractivemq</artifactId</depe
Easter79 Easter79
4年前
SpringCloud(9)使用Spring Cloud OAuth2保护微服务系统
一、简介OAth2是一个标准的授权协议。在认证与授权的过程中,主要包含以下3种角色。服务提供方AuthorizationServer。资源持有者ResourceServer。客户端Client。OAuth2的认证流程如图所示,具体如下。!(https://o
Stella981 Stella981
4年前
Maven 私服 Nexus 总是弹出错误框?禁用 Outreach 服务吧
使用neuxs作为maven私服其版本是2.9.004在打开首页的时候时常会弹出如下错误框,不堪其扰!(https://oscimg.oschina.net/oscnet/up6b0a91d2eead61308f1c54ecb45862c313e.png)打开chrome检查,分析网络请求,发现路径中包含 outreac