环境需求:T-Pot 19.03 runs on Debian 9.7 (Stretch)
真实环境:Debian9.9
apt-get install screen
Media change: please insert the disc labeled 'Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21' in the drive '/media/cdrom/' and press [Enter] 当没有时就无法进行安装了, 这时可以打开文件/etc/apt/sources.list文件,注释掉cdrom那一行 然后再执行apt-get update更新下deb仓库, 这样以后再使用apt-get安装时就不会再搜寻cdrom了 apt-get upgrade
apt-get install git
apt-get install sudo
官方提供了三种安装方式
1.
git clone https://github.com/dtag-dev-sec/tpotce cd tpotce sudo ./makeiso.sh 之后按照提示操作在当前目录下你会得到一个tpot.iso文件 2.
Post-Install User
In some cases it is necessary to install Debian 9.7 (Stretch) on your own:
- Cloud provider does not offer mounting ISO images.
- Hardware setup needs special drivers and / or kernels.
- Within your company you have to setup special policies, software etc.
- You just like to stay on top of things.
The T-Pot Universal Installer will upgrade the system to Debian (Sid) and install all required T-Pot dependencies.
Just follow these steps:
git clone https://github.com/dtag-dev-sec/tpotce cd tpotce/iso/installer/ ./install.sh --type=user The installer will now start and guide you through the install process.
3.自动化安装:
Post-Install Auto
tpot.conftpotce/iso/installer/tpot.conf.distAnsible.
tpot.conf
git clone https://github.com/dtag-dev-sec/tpotce cd tpotce/iso/installer/ cp tpot.conf.dist tpot.conf ./install.sh --type=auto --conf=tpot.conf 出错: Aborting. Debian buster is not supported. 妈蛋,服务商没有debian9.7的系统,需要提供iso重装系统再试试
文章来源: https://blog.csdn.net/yyws2039725/article/details/90745548