生产环境:
操作系统:CentOS release 6.9 (Final)
任务:网防G01管理监测系统
官网提供Linux安装步骤:http://help.gov110.cn/part2/chaper3/linux.html
操作步骤:
网防监测系统网址:http://www.gov110.cn/
1.在网防监测系统注册账号
2.登录系统下载Linux服务版和客户PC端版
3.Linux服务器安装步骤:即服务端
[root@sky9890 tools]#
wget http://update.gov110.cn/v3/gov_defence_agent_64bit.tar.gz
检查并关闭selinux,否则无法安装网防G01:
[root@sky9890 tools]# getenforce
Disabled
将下载的网防G01 Linux安装包,进行解压:
[root@sky9890 tools]# tar zxvf gov_defence_agent_64bit.tar.gz
gov_install/
gov_install/src_lib.tar.gz
gov_install/install
赋予网防G01安装文件可执行权限:
[root@sky9890 tools]# chmod +x gov_install/install
执行安装,直到提示“Install G01 Success.”安装完成。安装过程中需要输入注册网防G01云中心的账户名和密码进行验证,否则无法安装。
[root@sky9890 tools]# gov_install/install
Welcome to install G01.
If you encounter any problems during installation,you can use 'ctrl-c' to cancel.
checking installation environment:
Unable to connect to the download server,driver or a Failed download,may affect the part function
[ OK ]
decompression package: [ OK ]
Welcome to the general protection system of government website
Cloud Center Username: sky9890
Cloud Center Password:
Initialize Configuration Information: [ OK ]
Install Auto-start Script: [ OK ]
Configure Firewall Rules: [ OK ]
Install Protection Driver: [ OK ]
Check And Install WebServer Plugin:
[1]: Apache 9090 [ Found ]
[2]: Tomcat 8005 [ Found ]
[3]: PHP-fpm 9000 [ Found ]
[4]: Tomcat 8009 [ Found ]
[5]: Nginx 80 [ Found ]
[6]: Tomcat 8080 [ Found ]
Starting SoftWare: [ OK ]
Install G01 Success.
安装完成后检查网防G01是否正常运行,显示下图内容则表示运行正常。
[root@sky9890 tools]# ps -ef|grep gov_defence_service
root 8373 1 0 16:01 ? 00:00:00 ./gov_defence_service -c config.xml -l runlog/run_log.log -e ALL -t ALL -s safe -m daemon
root 8666 7675 0 16:03 pts/0 00:00:00 grep gov_defence_service
安装完成后通过PC端进行管理。
网防G01启动/停止/重启/状态
[root@sky9890 tools]# service gdagent status
gov_defence_service (pid 8373) 正在运行...
[root@sky9890 tools]# service gdagent restart
Stopping gdagent: [确定]
Starting gdagent: [确定]
网防G01 PC控制端:
下载地址:http://update.gov110.cn/v3/govdefence_gui_setup.exe
官网提供PC端安装步骤:http://help.gov110.cn/part2/chaper3/pc.html