这echo出来的啥子嘛?
意思是小姐姐有自虐倾向?
可若是moloch有汉化包或翻译文件,
小姐姐至于这么“享受”install的过程吗?

过程都走过了,那就记录一下吧:
1.找个Ubuntu镜像,阿里云镜像不一定合适,
可能需要换清华大学开源软件镜像站,
选择你的ubuntu版本,替换镜像(配置文件是 /etc/apt/sources.list),
同时关闭防火墙:sudo ufw disable;

2.网络有网自然好,
若是没网则需走代理:export http_proxy=http://127.0.0.1:8000;
sudo apt-get update(或修改/etc/apt/apt.conf);

3.装ssh、git、lrzsz、nodejs@10+ 、npm@5+等;
(如:sudo apt-get install openssh-server;)

4.从github上拉代码:git clone https://github.com/aol/moloch;

5.安装响应依赖编译:./easybutton-build.sh --install,
编译的过程较痛苦,部分依赖包比较大下载安装容易超时,
编不过去的语句可手动执行,
(如:cd public ; wget -N https://github.com/gchq/CyberChef/releases/download/v9.16.2/CyberChef_v9.16.2.zip);

6.由于moloch性能要求较高,
可另找一台电脑或服务器(简称服务器)下载及安装JDK:
wget http://iso.epoint.com.cn/JDK/jdk-8u65-linux-x64.rpm;rpm -ivh jdk-8u65-linux-x64.rpm;
此依赖根据linux的环境安装;

7.在服务器上下载及安装elasticsearch:
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.6.rpm;
rpm -ivh elasticsearch-5.6.6.rpm;
此依赖根据linux的环境安装;

8.修改配置文件/etc/elasticsearch/elasticsearch.yml 中的network.host:
服务器的IP(network.host:199.199.199.199);

9.启动elasticsearch 服务;
重载修改过的配置文件:systemctl daemon-reload
开机启动elasticsearch:systemctl enable elasticsearch.service
启动elasticsearch:systemctl start elasticsearch.service

10. 监听服务端口(9200)是否已经启动:
netstat -nlp |grep LISTEN

11.检查elasticsearch是否正常启动:
浏览器输入:http://199.199.199.199:9200/_cat;

12.连ES数据库配置初始化Moloch:
/data/moloch/bin/Configure;
配置监听端口(如:ens33),若是多个端口可用分号隔开;
连ES数据库,配置数据库的ip和port;

(或修改文件/data/moloch/etc/config.ini,elasticsearch=http://199.199.199.199:9200)

13.初始化、升级 Elasticsearch Moloch配置:
第一次安装初始化、或删所有数据:/data/moloch/db/db.pl http://localhost:9200 init;
升级moloch 数据包:/data/moloch/db/db.pl http://localhost:9200 upgrade;

14.进行配置 make config

15.添加账户(如:新增admin账户,密码是moloch):
/data/moloch/bin/moloch_add_user.sh admin "admin" moloch --admin ;

16.开启所有服务
开机启动Capture:systemctl enable molochcapture.service;
启动Capture:systemctl start molochcapture.service;
开机启动Viewer:systemctl enable molochviewer.service;
启动Viewer:systemctl start molochviewer.service;

17. 登陆Moloch:http://192.168.18.196:8005

18.Perfect!!!start working~ ^_^ ~

Enjoy the pain about Moloch的更多相关文章

  1. Nothing to say

    1. This moment will nap, you will have a dream; but this moment study, you will interpret a dream.此刻 ...

  2. Your pain

    Your pain is the breaking of the shell that encloses your understanding. 你的痛苦是你那包裹知识的皮壳的破裂.

  3. HDU 4630 No Pain No Game 线段树 和 hdu3333有共同点

    No Pain No Game Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)T ...

  4. Moloch

    http://www.oschina.net/p/moloch maltego http://www.oschina.net/p/maltego

  5. Pain for friend

    For a guy who has experienced his fair share of mysteries,on mystery,I still can't figure out is why ...

  6. etymon word write alb pain high alt increase large agency ag lose weight fat assist out~3

        1● alb   2● write =====>rait     1● alg 2● pain   痛,疼痛           1● alt 2● high   高         1 ...

  7. enjoy dollar vs cash dollar

    當 enJoy 卡 客 戶 憑 enJoy 卡 於 enJoy 卡 「 特 約 商 戶 」 簽 賬 消 費 , 累 積 之 enJoy Dollars 及 Cash Dollars 可 在 同 一 交 ...

  8. 41 Pain and Pain Management 疼痛与疼痛管理

    Pain and Pain Management 疼痛与疼痛管理 ①Years ago,doctors often said that pain was a normal part of life.I ...

  9. HDU 4630 No Pain No Game(2013多校3 1010题 离线处理+树状数组求最值)

    No Pain No Game Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)T ...

随机推荐

  1. PHP的yield是个什么玩意

    来源:https://segmentfault.com/a/1190000018457194 其实,我并不是因为迭代或者生成器或者研究PHP手册才认识的yield,要不是协程,我到现在也不知道PHP中 ...

  2. PHP入门-1

    基本数据类型: 1.整形 2.浮点型 3.字符串 4.布尔型 5.数组和对象 6.null 7.资源类型 8.伪类型 由于php是弱语言,所以他的数据类型不用自己来定义.定义一个数据类型,$name ...

  3. JQ获取select上的option的data-start和data-id

    来源:https://zhidao.baidu.com/question/692142321436883524.html 静态的写法: 用jq的attr()函数,如: HTML: <select ...

  4. redis5.0.3配置文件详解

    Redis最新版本5.0.3配置文件详解 单位 #当你需要为某个配置项指定内存大小的时候,必须要带上单位, #通常的格式就是 1k 5gb 4m 等: #1k => 1000 bytes #1k ...

  5. 在CentOS 7中安装配置JDK8

    为什么80%的码农都做不了架构师?>>>   ###说明 参考博客:http://blog.csdn.net/czmchen/article/details/41047187 系统环 ...

  6. 二.Spring boot食用指南:结合Jpa(Hibernate) 构建MVC架构

    1.POM依赖 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w ...

  7. TreeMap分析(中)

    通过上篇文章,大家已经能够理解红黑树的基础数据结构,那么这篇文章就来分析下,在红黑树中插入一个结点后,内部数据结构发生了哪些变化. TreeMap插入某个结点的源码分析 /** * 插入节点,并平衡红 ...

  8. 数学--数论--Miller_Rabin判断素数

    ACM常用模板合集 #include<iostream> #include<algorithm> #include<cstring> #include<cst ...

  9. Entity Framework使用EntityState和Attach来保存数据变化以及更新实体的个别字段

    在使用Entity Framework作为ORM来存取数据的过程中,最常规的操作就是对数据对象的更新.本文将会包含如何Attach Entity到一个数据Context中,以及如何使用EntitySt ...

  10. P5057 【[CQOI2006]简单题】

    洛谷P5057[CQOI2006]简单题 差分 树状数组基本操作不说了,主要想记录一下异或下的差分 a数组为每一位的真实值(假设\(a[0]=0\)),t为差分后的数组 则\(t[i]=a[i]\)^ ...