- 配置云服务器(server端)和虚拟机(sensor端)
- 更新和升级服务器
sudo apt update
- 安装schedtool
sudo apt-get install schedtool
- 安装git
sudo apt-get install git
- 安装python-pcapy
sudo apt-get install python3-pcapy
- 从Maltrail GitHub页面提取并安装
git clone https://github.com/stamparm/maltrail.git
若运行后报错:
Cloning into 'maltrail'...
fatal: unable to access 'https://github.com/stamparm/maltrail.git/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.可将代码更改为:
git clone git://github.com/stamparm/maltrail.git
- 在服务器端启动Server,运行Web服务器
cd maltrail sudo python3