Enjoy the pain about Moloch
这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的更多相关文章
- Nothing to say
1. This moment will nap, you will have a dream; but this moment study, you will interpret a dream.此刻 ...
- Your pain
Your pain is the breaking of the shell that encloses your understanding. 你的痛苦是你那包裹知识的皮壳的破裂.
- 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 ...
- Moloch
http://www.oschina.net/p/moloch maltego http://www.oschina.net/p/maltego
- Pain for friend
For a guy who has experienced his fair share of mysteries,on mystery,I still can't figure out is why ...
- 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 ...
- enjoy dollar vs cash dollar
當 enJoy 卡 客 戶 憑 enJoy 卡 於 enJoy 卡 「 特 約 商 戶 」 簽 賬 消 費 , 累 積 之 enJoy Dollars 及 Cash Dollars 可 在 同 一 交 ...
- 41 Pain and Pain Management 疼痛与疼痛管理
Pain and Pain Management 疼痛与疼痛管理 ①Years ago,doctors often said that pain was a normal part of life.I ...
- 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 ...
随机推荐
- Java ASM3学习(3)
MethodVisitor ClassVisitor的visitMethod能够访问到类中某个方法的一些入口信息,那么针对具体方法中字节码的访问是由MethodVisitor来进行的 访问顺序如下,其 ...
- var、let、const
var.let.const之间的区别和使用 1.var声明变量可以重复声明,而let不可以重复声明 let a = 1; let a = 2; var b = 3; var b = 4; a // I ...
- 【JAVA基础】02 Java基础语法
一.内容 注释 关键字 标识符 常量.进制和进制转换 变量 数据类型和类型转换 运算符 语句 二.注释 注释概述 用于解释说明程序的文字 Java中注释分类格式 单行注释 格式://注释文字 多行注释 ...
- 【Linux网络基础】上网原理流程
1. 局域网用户上网原理 上网过程说明: 确保物理设备和线路架构准备完毕,并且线路通讯状态良好 终端设备需要获取或配置上局域网(私有地址)地址,作为局域网网络标识 当终端设备想上网时,首先确认访问的地 ...
- 14.在Python中lambda函数是什么
在Python中lambda函数是什么? It is a single expression anoymous function often used as inline function. lamb ...
- Vue学习—— Vuex学习笔记
组件是Vue最强大的功能之一,而组件实例的作用域是相互独立的,意味着不同组件之间的数据是无法相互使用.组件间如何传递数据就显得至关重要,这篇文章主要是介绍Vuex.尽量以通俗易懂的实例讲述这其中的差别 ...
- 浅谈 Objective-C Associated Objects
简介 Associated Objects 是 Objective-C 2.0 中 Runtime 的特性之一. 在 <objc/runtime.h> 中定义的三个方法, void obj ...
- Netty(四):AbstractChannel源码解析
首先我们通过一张继承关系的图来认识下AbstractChannel在Netty中的位置. 除了Comaprable接口来自java自带的包,其他都是Netty包中提供的. Comparable接口定义 ...
- 基于ONOS的T-SDN Super控制器,突破多域网络运营的难关
在法国尼斯举办的IIR WDM波分论坛(Next Generation Optical Networking)上,华为展示了T-SDN(Transport SDN,传送SDN)领域的众多新技术,其中T ...
- HDU 1159.Common Subsequence【动态规划DP】
Problem Description A subsequence of a given sequence is the given sequence with some elements (poss ...