首页 文章 精选 留言 我的

精选列表

搜索[插件安装],共10000篇文章
优秀的个人博客,低调大师

jenkins安装

一、下载docker镜像 To use the latest LTS: docker pull jenkins/jenkins:lts To use the latest weekly: docker pull jenkins/jenkins 二、运行docker镜像 docker run -d -u 0 -p 8080:8080 -p 50000:50000 -v /data/jenkins_home:/var/jenkins_home jenkins/jenkins:lts 三、系统初始化密码文件 /data/jenkins_home/secrets/initialAdminPassword 四、python jenkins pip install python-jenkins 使用文档:http://python-jenkins.readthedocs.io/en/latest/examples.html#example-1-get-version-of-jenkins 创建任务 import jenkins server = jenkins.Jenkins('http://localhost:8080', username='admin', password='passwd') job_xml = """<?xml version='1.0' encoding='UTF-8'?> <flow-definition plugin='workflow-job@2.17'> <actions/> <description>pipeline测试</description> <keepDependencies>false</keepDependencies> <properties/> <definition class='org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition' plugin='workflow-cps@2.45'> <script>node { stage('get clone'){ echo 'git clone ......' } stage('mvn test'){ echo 'mvn test ......' } stage('mvn build'){ echo 'mvn clean install ......' } stage('deploy'){ echo 'deploy ......' } }</script> <sandbox>true</sandbox> </definition> <triggers/> <disabled>false</disabled> </flow-definition>""" server.create_job('pipeline测试', job_xml) 五、xml转yaml pip install jenkins-job-wreckerhttps://github.com/ktdreyer/jenkins-job-wreckerjjwrecker -f path/to/my-job/config.xml -n 'my-job' 文件会生成到当前路径的:"output"文件夹中 本文转自 aaron428 51CTO博客,原文链接:http://blog.51cto.com/aaronsa/2082869

优秀的个人博客,低调大师

ELK安装

wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.4.0/elasticsearch-2.4.0.tar.gz wget https://download.elastic.co/logstash/logstash/logstash-2.4.0.tar.gz wget https://download.elastic.co/kibana/kibana/kibana-4.6.0-linux-x86_64.tar.gz tar zxvf elasticsearch-2.4.0.tar.gz tar zxvf kibana-4.6.0-linux-x86_64.tar.gz tar zxvf logstash-2.4.0.tar.gz mv elasticsearch-2.4.0 elasticsearch mv kibana-4.6.0-linux-x86_64 kibana mv logstash-2.4.0 logstash groupadd elasticsearch useradd -g elasticsearch -d /usr/local/elasticsearch elasticsearch mv elasticsearch/* /usr/local/elasticsearch chown -R elasticsearch.elasticsearch /usr/local/elasticsearch chown -R elasticsearch.elasticsearch /data/elasticsearch ./bin/plugin install mobz/elasticsearch-head vi config/elasticsearch.yml cluster.name: niudingfeng node.name: node-1 path.data: /data/elasticsearch/data path.logs: /data/elasticsearch/logs network.host: 10.10.16.193 http.port: 9200 启动:./bin/elasticsearch & 查看地址:http://10.10.16.194:9200/_plugin/head/ http://10.10.16.194:9200/ vim config/kibana.yml server.port: 5601 server.host: "10.10.16.194" elasticsearch.url: "http://10.10.16.194:9200" kibana.index: ".kibana" 启动:./bin/kibana & 查看: http://10.10.16.194:5601/ nohup /root/logstash/bin/logstash agent -f /root/logstash_agent.conf & input { file { type => "logtest" path => ["/root/access_log"] } } output { elasticsearch { action => "index" hosts => "10.10.16.194:9200" index => "applog" } } 本文转自aaron428 51CTO博客,原文链接:http://blog.51cto.com/aaronsa/1846947,如需转载请自行联系原作者

优秀的个人博客,低调大师

安装Kylin

Environment Kylin requires a properly setup Hadoop environment to run. Following are the minimal request to run Kylin, for more detial, please check Hadoop Environment. It is most common to install Kylin on a Hadoop client machine, from which Kylin can talk with the Hadoop cluster via command lines including hive, hbase, hadoop, etc. The scenario is depicted as: For normal use cases, the application in the above picture means Kylin Web, which contains a web interface for cube building, querying and all sorts of management. Kylin Web launches a query engine for querying and a cube build engine for building cubes. These two engines interact with the Hadoop components, like hive and hbase. Except for some prerequisite software installations, the core of Kylin installation is accomplished by running a single script. After running the script, you will be able to build sample cube and query the tables behind the cubes via a unified web interface. Install Kylin Download latest Kylin binaries at http://kylin.apache.org/download Export KYLIN_HOME pointing to the extracted Kylin folder Make sure the user has the privilege to run hadoop, hive and hbase cmd in shell. If you are not so sure, you can run bin/check-env.sh, it will print out the detail information if you have some environment issues. To start Kylin, run bin/kylin.sh start, after the server starts, you can watch logs/kylin.log for runtime logs; To stop Kylin, run bin/kylin.sh stop

资源下载

更多资源
Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

WebStorm

WebStorm

WebStorm 是jetbrains公司旗下一款JavaScript 开发工具。目前已经被广大中国JS开发者誉为“Web前端开发神器”、“最强大的HTML5编辑器”、“最智能的JavaScript IDE”等。与IntelliJ IDEA同源,继承了IntelliJ IDEA强大的JS部分的功能。

用户登录
用户注册