`
annan211
  • 浏览: 446478 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
文章列表
1 下载安装 vmware  、 centos 7 2 xshell 无法通过ssh 工具连接 centos vm ,具体操作办法如下:   第一步 : 安装好 虚拟机后 会在本地网络 生成 vmNet1 和 vmNet8 ,   Control Panel\Network and Internet\Network and Sharing Center\change adapter settings               第二步:查看vmNet8的ipv4网络设置 ,如果没有相应IP 应填写。     第三步:在 vmware 工具上 Edit--> ...
docker run --name nginx83 -d -p 83:80 -v /code/nginx/nginx83/html:/etc/nginx/html -v /code/nginx/nginx83/html:/usr/share/nginx/html -v /code/nginx/nginx83/conf/nginx.conf:/etc/nginx/nginx.conf -v /code/nginx/nginx83/logs:/var/log/nginx -d nginx /code 目录是win7 本地 挂载到boot2docker的目录
#!/bin/bash :<<! @date 2018-03-15 @author Jeff.jing @desc 使用规则: 1 脚本需要有执行权限 chmod 755 2 需要将 standalone.tar.gz 压缩文件作为参数传入脚本 ! #接收部署文件名称 standalone_file=$1 if [ ! -f $standalone_file ]; then echo $standalone_file " source file is not found,please ...
废话不说,直接看代码 #!/bin/bash #file_name="curl_test.txt" #cur_dateTime="`date +%Y-%m-%d-%H-%m-%s`" :<<! @date 2018-03-12 @author Jeff.jing @desc 使用规则: 1 脚本需要有执行权限 chmod 755 2 同目录需要有测试单元脚本 curl-test.txt 脚本初始化规则 1 测试脚本中 通用型替换符应被命名为 key_ ...
在使用docker容器时,有时候里边没有安装vim,敲vim命令时提示说:vim: command not found,这个时候就需要安装vim,可是当你敲apt-get install vim命令时,提示:         Reading package lists... Done         Building dependency tree               Reading state information... Done         E: Unable to locate package vim         这时候需要敲:apt-get update,这个命 ...
拷贝文件到指定容器,直接执行即可 ,容器拷贝到宿主机是一样的操作,方向相反即可 docker cp /code/gg.txt containerID:/usr/local/tomcat/webapps/ROOT/ 文件路径拷贝,将会完整拷贝文件路径下的所有文件到指定容器路径 ,容器拷贝到宿主机是一样的操作,方向相反即可 docker cp    /code/profile-service/profile-service-dev/user-profile-war/target/user-profile-war-gp14_pc-SNAPSHOT/.     a1e3d9692269:/usr/ ...
IDEA 是 2017版本 因为太繁琐 所以不贴图了,请自行了解IDEA的使用。 第一部分  安装junit生成插件   1 File-->Settings-->Plugins  输入 junitGenerator V2.0 ,安装即可。要求重启,restart即可。 第二部分 生成Junit代码 1 设置模板   File--?Settings-->Other Settings --> junit Generator OutPut Path 设置为${SOURCEPATH}/../../test/java/${PACKAGE}/${FILENAM ...
IDEA 2017 免费注册激活。 1 安装IDEA 2017 2 在安装目录的Bin路径下找到  idea.exe.vmoptions 和 idea64.exe.vmoptions 3 下载破解激活jar库文件 JetbrainsCrack-2.7-release-str.jar,此包可以在 http://idea.lanyus.com/ 下载 4 在 idea.exe.vmoptions 和 idea64.exe.vmoptions 文件的末尾添加一行    -javaagent:C:\soft\install\IDEA\JetbrainsCrack-2.7-release-str. ...
jemeter 可以直接测试服务器性能状态以及各种指标 本次打包配置的是针对activemq 的测试,已经将所有涉及到的插件包和配置打包。 执行步骤 1 将 ServerAgent-2.2.1 在目标服务器上运行。 2 执行apache-jmeter-3.1/bin/jmeter.bat 或者 jmeter 3 新建执行计划 和线程组 4 给线程组添加Sampler-JMS Point-to-Point 5 在JMS Point-to-Point 添加ConnectionFactory 、发送队列testQueue666和接收队列(接收队列不添加则表示不接收消息)    在 ...
package com.robustel.rlink.device.service.impl; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import ja ...
package com.robustel.test.thread; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Random; import java.util.concurrent.CountDownLatch; public class Driver { static Integer betch = 5; static Integer threadNum = 5; public static Coun ...

nginx MQ 负载均衡

要求 : 1 nginx 1.9版本以上。 2 openssl 3 pcre 1 sudo apt-get install openssl libssl-dev 2 tar -zxvf pcre-8.36.tar.gz cd pcre-8.36 ./configure make && make install 以上准备工作已经完成。以下开始进入安装。 3 安装openssl 一、解压 tar -xzvf ./openssl-1.0.1t.tar.gz 二、配置 cd openssl-1.0.1t/ ./config --prefix=/ ...
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Versio ...
activeMQ是一款功能十分强大的消息中间件。 支持包括MQTT NIO 在内的多种协议,而且是jms的完美实现。当有数以百万计的终端设备需要连接到服务器时,适当处理和架构就可以对外提供功能强劲的服务能力。 首先需要解决activeMQ 单节点服务性能问题,切不可直接使用默认配置上生产。 可以自己百度 或者 参照 日志 http://m.blog.csdn.net/truong/article/details/73718621 http://blog.csdn.net/yinwenjie/article/details/50955502 http://blog.csdn.net/yinw ...
http://www.cnblogs.com/leihenqianshang/articles/5623858.html
Global site tag (gtag.js) - Google Analytics