This article teaches you how to deploy Cloud Lock WAF, which is an open source firewall application that can protect our website from being attacked to a certain extent. It is deployed on the client and server. Let’s look at it separately.
Server
You need to ensure that you can connect to the Internet and ensure that the communication between the server and the 443 port of the Cloud Lock Cloud Center remains open. You can telnet apiv3.yunsuo.com.cn 443
check whether there is connectivity through commands.
[root@web01 ~]# telnet apiv3.yunsuo.com.cn 443
After downloading on Windows, import the web server
[root@web01 ~]# rz -E
[root@web01 ~]# tar zxvf yunsuo_agent_64bit.tar.gz
yunsuo_install/
yunsuo_install/src_lib.tar.gz
yunsuo_install/install
yunsuo_install/check_disk_space
[root@web01 ~]# chmod +x yunsuo_install/install
[root@web01 ~]# yunsuo_install/install
Welcome.
If you encounter any problems during installation, you can use 'ctrl-c' to cancel.
checking installation environment: [ OK ]
decompression package: [ OK ]
Install Selinux Policy Module: [ OK ]
Initialize Configuration Information: [ OK ]
Install Auto-start Script: [ OK ]
Install Protection Driver: [ OK ]
Starting SoftWare: [ OK ]
Install Complete.
[root@web01 ~]# /usr/local/yunsuo_agent/agent_smart_tool.sh -u username -p password
Bind Server Success. #添加账号密码到云中心
[root@web01 ~]# ps -ef | grep yunsuo_agent #查看是否运行
root 25369 1 0 00:00 ? 00:00:00 ./yunsuo_agent_service -c config.xml -l runlog/run_log.log -e ALL -t ALL -s safe -m daemon
root 25443 1 0 00:00 ? 00:00:00 ./yunsuo_agent_guard
root 25624 24791 0 00:02 pts/0 00:00:00 grep --color=auto yunsuo_agent
#开启,停止,重启,状态
service yunsuo start/stop/restart/status
/etc/init.d/yunsuo start/stop/restart/status
#卸载云锁
/usr/local/yunsuo_agent/uninstall
client
Windows can be downloaded
Double-click to enter server host operation protection
Deployment completed!
My name is Koten. I have 10 years of operation and maintenance experience. I continue to share operation and maintenance tips. Thank you for reading and paying attention!