spark


spark下载安装1.下载进入spark官方页面http://spark.apache.org/downloads.html选择Spark版本为1.6.1 打包类型为Pre-built for hadoop 2.6版本 然后选择下载2.安装下载完成后直接解压,进入目录,并执行命令即可:./bin/spark-shell sc.versionres3: String = 1.6.1 scala> sc.textFile("README.md")res4: org.apache.spark.rdd.RDD[String] = README.md MapPar...

阅读全文 »


rabbitmq环境搭建安装及官方例子学习使用


rabbitmq软件安装与启动1.rabbitmq安装这里使用docker的方式,方便docker pull rabbitmqUsing default tag: latestlatest: Pulling from library/rabbitmqDigest: sha256:53c67c41323977870ad077c8a0e5ef52b2cc460206e6a965ced96ea130de1e12Status: Image is up to date for rabbitmq:latest也可以参考官方文档来下载安装,地址2.rabbitmq启动docker run -d --n...

阅读全文 »


webdriveragent调试及usb测试


操作步骤1.首先启动手机上的facebook的webdriveragent,这里直接使用macaca改造后的webdriveragent测试npm install app-inspector -gWEBDRIVERAGENT_PORT=8900 xcodebuild test -project /usr/local/lib/node_modules/app-inspector/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destinati...

阅读全文 »


docker快速发布nodejs应用


安装redis1.docker安装redisdocker pull redisUsing default tag: latestlatest: Pulling from library/redis75a822cd7888: Pull completee40c2fafe648: Pull completece384d4aea4f: Pull complete5e29dd684b84: Pull complete29a3c975c335: Pull completea405554540f9: Pull complete4b2454731fda: Pull completeDigest: sh...

阅读全文 »


docker搭建jenkins


1.安装jenkinsdocker pull jenkinsUsing default tag: latestlatest: Pulling from library/jenkins75a822cd7888: Already exists57de64c72267: Already exists4306be1e8943: Already exists1e6944bfb718: Pull complete3521f2f45ed2: Pull complete9c2f0d9b5f90: Pull complete8cedcf6d2527: Pull complete31f99da7583d: ...

阅读全文 »


ubuntu安装docker私有服务器


安装registry1.安装之前请先安装dockerubuntu下安装docker2.安装并启动registrydocker run -d -p 5000:5000 --restart=always --name registry registry:23.下载自己的镜像并进行相关修改sudo docker pull nodeUsing default tag: latestlatest: Pulling from library/node75a822cd7888: Pull complete 57de64c72267: Pull complete 4306be1e8943: Pull c...

阅读全文 »


ubuntu安装docker


ubuntu安装docker1.更新系统源sudo apt-get updatesudo apt-get install apt-transport-https ca-certificates2.添加GPG keysudo apt-key adv \ --keyserver hkp://ha.pool.sks-keyservers.net:80 \ --recv-keys 58118E89F3A912897C070ADBF76221572C52609D执行结果为Executing: /tmp/tmp.Jek7P0R86h/gpg.1...

阅读全文 »


cdh环境搭建(四)安装cdh的相关服务


cdh环境搭建(四)安装cdh的相关服务1.添加zookeeper服务这里选择三台主机作为zookeeper的集群启动命令测试 cd /opt/cloudera/parcels/CDH/bin/[cdh@centos3 bin]$ ./zookeeper-client Connecting to localhost:21812016-12-18 23:24:13,680 [myid:] - INFO [main:Environment@100] - Client environment:zookeeper.version=3.4.5-cdh5.3.6--1, built on 07/2...

阅读全文 »