本文导读
展开导读
链接复制成功!
AI防护者安装
- 登录华为云管理控制台
- 创建弹性云服务器(ECS),选择镜像版本为centos7,数量为3
图1 AI防护者安装1
- 登录ECS,上传AI防护者安装包
[root@ecs-336a ~]# ls zyWAF-develop-9.0.3-942.centos7.x86_64.rpm zyWAF-GM-stable-develop-9.1.0-9.1.0-810.centos7.x86_64.rpm
- 安装AI防护者计算节点
进入安装包所在目录rpm -ivh / “安装包名称”
[root@ecs-336a ~]# rpm -ivh ./zyWAF-develop-9.0.3-942.centos7.x86_64.rpm Preparing... ################################# [100%] Updating / installing... 1:zyWAF-9.0.3-942.centos7 ################################# [100%] ---------- Creating the MariaDB system databases and tables ---------- Starting the server..Done ---------- Creating/updating users ---------- Stopping the server.Done ---------- Starting the server..Done ---------- Creating zyWAF databases ---------- Stopping the server.Done ***** Starting upgrade at Fri Jul 28 10:31:31 2023 ----- Info: Skipping bin/cvt-settings -f "/usr/local/waf/etc/my.cnf" ----- Info: Skipping conversion of logs/alerts.db ----- Info: Skipping conversion of logs/audit.db ***** Finishing upgrade at Fri Jul 28 10:31:31 2023
- 安装AI防护者管理节点
进入安装包所在目录rpm -ivh / “安装包名称”
[root@ecs-336a ~]# rpm -ivh zyWAF-GM-stable-develop-9.1.0-9.1.0-810.centos7.x86_64.rpm Preparing... ################################# [100%] Updating / installing... 1:zyWAF-GM-9.1.0-810.centos7 ################################# [100%] ---------- Creating the MariaDB system databases and tables ---------- Starting the server..Done ---------- Creating/updating users ---------- Stopping the server.Done ---------- Starting the server..Done ---------- Stopping the server.Done
- 启动管理节点、计算节点
[root@ecs-336a ~]# systemctl start zywaf [root@ecs-336a ~]# systemctl start zygm [root@ecs-336a ~]# systemctl status zygm ● zygm.service - zyProtect Web Application Firewall Global Manager Loaded: loaded (/usr/lib/systemd/system/zygm.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2023-07-28 10:36:20 CST; 1min 49s ago Docs: https://www.zyprotect.com/zywaf-en/ Process: 29465 ExecStartPost=/usr/bin/sleep 0.2 (code=exited, status=0/SUCCESS) Process: 29463 ExecStart=/usr/local/waf-gm/bin/zygm $OPTIONS (code=exited, status=0/SUCCESS) Main PID: 29464 (zygm) Tasks: 1 Memory: 74.1M CGroup: /system.slice/zygm.service └─29464 /usr/local/waf-gm/bin/zygm Jul 28 10:36:19 ecs-336a systemd[1]: Starting zyProtect Web Application Firewall Global Manager... Jul 28 10:36:20 ecs-336a systemd[1]: Started zyProtect Web Application Firewall Global Manager. [root@ecs-336a ~]# systemctl status zywaf ● zywaf.service - zyProtect Web Application Firewall Loaded: loaded (/usr/lib/systemd/system/zywaf.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2023-07-28 10:31:31 CST; 6min ago Docs: https://www.zyprotect.com/zywaf-en/ Main PID: 28101 (wafmanager) Tasks: 16 Memory: 94.5M CGroup: /system.slice/zywaf.service ├─28101 /usr/local/waf/bin/wafmanager └─28118 /usr/local/waf/bin/waf --no-daemon --no-rastate --no-crawl -path /usr/local/waf Jul 28 10:31:31 ecs-336a systemd[1]: Starting zyProtect Web Application Firewall... Jul 28 10:31:31 ecs-336a systemd[1]: Started zyProtect Web Application Firewall.
父主题: 部署AI防护者