Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

已安装成功~~~ #18

Open
kN6jq opened this issue Feb 25, 2024 · 4 comments
Open

已安装成功~~~ #18

kN6jq opened this issue Feb 25, 2024 · 4 comments

Comments

@kN6jq
Copy link

kN6jq commented Feb 25, 2024

image

安装步骤如下:

git项目后
创建.env文件并配置

KAFKAHOST=192.168.11.4
KAFKAADV=PLAINTEXT://192.168.11.4:9092
BROKER=192.168.11.4:9092

MONGOUSER=admin
MONGOPWD=admin123

DCNAME="goad.local"
DCSERVER=192.168.11.10
DCUSER="CN=iatptest, CN=Users, DC=goad, DC=local"
DCPWD="Test123@"

WEBUSER="iatptest"

配置文件中的iatptest用户参考创建 #16 (comment)
dcuser配置信息查询
image

然后执行

docker-compose build
docker-compose up -d

完成后如果还是不行进入到watchad20_iatp_1容器执行entrypoint.sh,但是是手动执行,自己修改相关配置信息

./iatp init --mongourl mongodb://admin:[email protected]:27017
./iatp init --mongourl mongodb://admin:[email protected]:27017 --domainname goad.local --domainserver 192.168.11.10 --username iatptest --password Test123@
./iatp init --mongourl mongodb://admin:[email protected]:27017 --index
./iatp  web --init --authdomain goad.local --user iatptest
./iatp  source --sourcename ITEvent --sourceengine event_log --brokers 192.168.11.4:9092 --topic winlogbeat --group iatp --oldest false --kafka true
nohup ./iatp run --engine_start > engine.log 2>&1 &
nohup ./iatp run --web_start > web.log 2>&1 &
# 使用tail命令持续输出日志
tail -f engine.log web.log

image

接下来就是配置域控策略 下载winlogbeat并接入平台即可

@u-raison
Copy link

第一个错的原因是什么?

@notalkingya
Copy link

师傅 iatp 你这个是怎么go编译成功的
image

@notalkingya
Copy link

师傅在吗,可以请问一个问题吗

@chenzhelong
Copy link

感谢!@kN6jq
我也是醉了,越是按照说明来搞,就越解决不了,还是看了你的配置,才发现DCUSER这个环境变量不能写成[CN=...]这样,直接写用户名就完事了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants