当前位置: 首页 > news >正文

昌宁县住房和城乡建设网站excel表格做网站

昌宁县住房和城乡建设网站,excel表格做网站,企业公司简介,免费的舆情网站入口在哪手动安装部署Elasticsearch 开篇 开篇闲话#xff0c;如果是新人在接触ELKstack什么都不懂的情况下#xff0c;可以先看看各位前人写的关于ELKstack的博客#xff0c;如何对ELKstack部署安装及使用#xff0c;但是别人的东西只能作为借鉴#xff0c;在自己搭建使用一定要以… 手动安装部署Elasticsearch 开篇 开篇闲话如果是新人在接触ELKstack什么都不懂的情况下可以先看看各位前人写的关于ELKstack的博客如何对ELKstack部署安装及使用但是别人的东西只能作为借鉴在自己搭建使用一定要以官方文档为准。 一定要注意软件版本这里系统集合类软件如果各软件版本不一致会造成不可预估的后果 资源列表 官方文档 https://www.elastic.co/products/elasticsearch elasticsearsh权威指南 http://es.xiaoleilu.com/ kibana中文指南: http://kibana.logstash.es/content/ 部署 打开官网--访问docs 我们以最新版本2.3来进行引导 下载方式安装 Installation 设置java环境 java -version echo $JAVA_HOME 下载elasticsearch压缩包 curl -L -O https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.3.3/elasticsearch-2.3.3.tar.gz 解压压缩包解压后可以直接使用 tar -xvf elasticsearch-2.3.3.tar.gz cd elasticsearch-2.3.3/bin 启动elasticsearch ./elasticsearch 启动信息: ./elasticsearch [2014-03-13 13:42:17,218][INFO ][node ] [New Goblin] version[2.3.3], pid[2085], build[5c03844/2014-02-25T15:52:53Z] [2014-03-13 13:42:17,219][INFO ][node ] [New Goblin] initializing ... [2014-03-13 13:42:17,223][INFO ][plugins ] [New Goblin] loaded [], sites [] [2014-03-13 13:42:19,831][INFO ][node ] [New Goblin] initialized [2014-03-13 13:42:19,832][INFO ][node ] [New Goblin] starting ... [2014-03-13 13:42:19,958][INFO ][transport ] [New Goblin] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/192.168.8.112:9300]} [2014-03-13 13:42:23,030][INFO ][cluster.service] [New Goblin] new_master [New Goblin][rWMtGj3dQouz2r6ZFL9v4g][mwubuntu1][inet[/192.168.8.112:9300]], reason: zen-disco-join (elected_as_master) [2014-03-13 13:42:23,100][INFO ][discovery ] [New Goblin] elasticsearch/rWMtGj3dQouz2r6ZFL9v4g [2014-03-13 13:42:23,125][INFO ][http ] [New Goblin] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/192.168.8.112:9200]} [2014-03-13 13:42:23,629][INFO ][gateway ] [New Goblin] recovered [1] indices into cluster_state [2014-03-13 13:42:23,630][INFO ][node ] [New Goblin] started 设置集群名和节点名 ./elasticsearch --cluster.name my_cluster_name --node.name my_node_name yum方式安装 安装GPG验证KEY rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch 把下面的源配置加入到 /etc/yum.repos.d/目录中的 a.repo文件里, 可以起名为elasticsearch.repo 怎么配elasticsearch的repo源我想中级以上的小伙伴都会 [elasticsearch-2.x] nameElasticsearch repository for 2.x packages baseurlhttps://packages.elastic.co/elasticsearch/2.x/centos gpgcheck1 gpgkeyhttps://packages.elastic.co/GPG-KEY-elasticsearch enabled1 yum安装即可 yum install elasticsearch 基于salt自动化安装elasticsearch 此处只是分享下salt安装elasticsearch的模板写的比较粗糙也是刚开始写很多自定义配置未加入到模板中后面会逐步改进内容里不会涉及新手的入门知识此类入门知识会逐步在salt模块进行分享。 配置state目录 file_roots: base_init: - /etc/salt/states 配置top.sls [rootsz-a-saltstack-xen states]# cat /etc/salt/states/top.sls *: - init.yum_config - init.selinux_shutdown - init.limit - init.sshd_config - init.clock_config - init.ntp_config - init.user_config - init.salt_minion_config - init.tty_init - init.zabbix_agent sz-a-qhfaxes0[1,3]-es-hw: - jdk - elkstack.es 配置elkstack 目录es.sls elasticsearch-2: pkgrepo.managed: - humanname: Elasticsearch repository for 2.x packages - baseurl: https://packages.elastic.co/elasticsearch/2.x/centos - gpgcheck: 1 - gpgkey: https://packages.elastic.co/GPG-KEY-elasticsearch elasticsearch-server: pkg.installed: - pkgs: - elasticsearch - git - openssl.x86_64 - openssl-devel.x86_64 /etc/elasticsearch/elasticsearch.yml: file.managed: - source: salt://elkstack/files/elasticsearch.yml - template: jinja - user: elasticsearch - group: elasticsearch - require: - pkg: elasticsearch-server /data/qhfax_elckstack: file.directory: - user: elasticsearch - group: elasticsearch - makedirs: True elasticsearch_log_path: file.directory: - name: /var/log/elasticsearch - user: elasticsearch - group: elasticsearch - makedirs: True elasticsearch: service.running: - enable: True - watch: - pkg: elasticsearch-server - file: /etc/elasticsearch/elasticsearch.yml service_plugins_install: file.directory: - name: /root/soft - makedirs: True cmd.run: - cwd: /root/soft - name: git clone https://github.com/elasticsearch/elasticsearch-servicewrapper.git ls - unless: test -d /root/soft/elasticsearch-servicewrapper mv_service_es: cmd.run: - cwd: /root/soft - name: cp -a elasticsearch-servicewrapper/service/ /usr/share/elasticsearch/bin - unless: - test -d /usr/share/elasticsearch/bin/service - test -d elasticsearch-servicewrapper/service || echo False head_plugins_install: cmd.run: - cwd: /usr/share/elasticsearch/bin - name: /usr/share/elasticsearch/bin/plugin install mobz/elasticsearch-head - unless: test -d /usr/share/elasticsearch/plugins/head license_plugins_install: cmd.run: - cwd: /usr/share/elasticsearch/bin - name: /usr/share/elasticsearch/bin/plugin install license - unless: - test -d /usr/share/elasticsearch/plugins/license marvel_plugins_install: cmd.run: - cwd: /usr/share/elasticsearch/bin - name: /usr/share/elasticsearch/bin/plugin install marvel-agent - unless: - test -d /usr/share/elasticsearch/plugins/marvel-agent 上文sls模板存在问题 1. 没有很好的使用到各类自定义和动态参数 2. 没有进行分层 我考虑应该使用一个应用的生命周期来进行分层服务器始终保持无状态 安装前预环境 -- 安装 -- 升级 转载于:https://blog.51cto.com/vekergu/1784370
http://wiki.neutronadmin.com/news/428324/

相关文章:

  • 普通网站能不能用vue做几个小功能服装网络营销策划书
  • 怎样做好网站建设设计app开发和网站开发价格
  • 做分类网站用什么cms国家备案网查询系统
  • php手机网站模板网站空间怎么选择
  • 建设一个网站需要多久昆明seo博客
  • 怎样做一个单页面网站软环境建设办公室网站
  • 建网站找哪里中国设计网作品欣赏
  • wordpress 用户插件吉林seo策略
  • asp.net 微网站开发教程公司注册网站模板
  • wordpress 整站企业文化墙创意设计图
  • 个人网站尺寸黄岩区信誉好高端网站设计
  • 网站增加关键字做企业网站收费多少
  • 网站改域名如何做百度优化襄樊建设网站
  • 万网如何建设购物网站什么是网页和网站
  • 品牌建设 网站网站建设技能
  • 渭南seo公司为什么要做seo
  • 网站建设全视频教程下载wordpress 4.7 漏洞
  • 网站收录了怎么做排名直播源码
  • 黄岩做网站的公司WORDPRESS菜单位置添加搜索框
  • 网站权重分为几个等级宝洁网站建设评价
  • 郑州手机网站设计保洁公司开发app
  • 快速做网站团队广州有什么好玩的山
  • 泰安做网站的做网站大概一个月多少工资
  • 吉木萨尔县建设局网站app系统开发公司
  • 服装网站建设基本流程wordpress本地环境转移
  • 成都彩票网站建设自适应wordpress博客
  • 婚庆行业网站建设个人怎么做微信公众号和微网站
  • 装修企业网站建设重庆农产品价格信息网
  • 深圳网站设计公司排名前十强国内机械加工企业排名
  • 网站工信部超链接怎么做云南网站建设首选公司