tencent cloud

Cloud Security Center

Manually Installing the Client

ダウンロード
フォーカスモード
フォントサイズ
最終更新日: 2026-11-12 14:43:41
AI翻訳
When one-click installation is unavailable for a host, or when protection needs to be enabled for non-Tencent Cloud, IDC, or hybrid cloud environments, you can generate an installation command in the console and manually install the client on the target host. This document describes the applicable scenarios for manual installation, how to choose an installation method, and the steps for public network direct connection, public network proxy, and Direct Connect access.

Prerequisites

Ensure that the target host runs a supported operating system. It is recommended to configure at least 2 CPU cores and 2 GB of memory. Insufficient configuration may cause installation failures or abnormal protection and detection.
You must have administrator permissions on the target host. For Linux, use root. For Windows, use an administrator account.
The target host must be able to access the CSC server using the selected installation method, which can be a direct public network connection, a proxy-based connection, or a Direct Connect connection.
For multi-cloud and multi-account unified management scenarios, complete the multi-cloud and multi-account (AK) access first before installation so that asset ownership can be automatically identified.

Supported Environments

Category
Description
Server type
Tencent Cloud
Non-Tencent Cloud environments (such as IDC, Alibaba Cloud, Huawei Cloud, AWS, Azure, Google GCP, Baidu Cloud, and Volcano Engine)
Linux (kernel version ≥ 2.6.32)
TencentOS
CentOS 6+
Ubuntu 9.10+
Debian 6+
RHEL 6+
OpenCloudOS
AlmaLinux
OpenSUSE
Rocky
Red Hat 8+
Aliyun Linux
Amazon Linux
Kylin V10
UOS 20
EulerOS
Windows
Windows Server 2008 R2 or later (64-bit)
Windows 7 or later (64-bit)
Architecture
x86 (Intel, AMD, and Hygon)
arm (Kylin and Kunpeng)
Note:
Tencent Cloud ECM differs from standard CVM instances in network deployment and configuration modes and does not currently support unified access. It is recommended to connect it as a Non-Tencent Cloud resource.
Virtual machines on Tencent Cloud hosts (such as VMware VMs) must also be manually installed as Non-Tencent Cloud resources.
The installation methods for Tencent Cloud and non-Tencent Cloud are not interchangeable. If the server type is selected incorrectly, uninstall the client first and then reinstall it with the correct type. Direct overwrite installation for switching is not supported.

Installation Notes

Installation time: Installing on a single host typically takes a few minutes, depending on network and host performance.
Business impact: The installation process generally does not require a host restart and does not actively interrupt business.
Resource usage: The client is a lightweight agent. CPU or memory usage may increase briefly when tasks such as scanning are performed.
Default installation path:
Linux: The default path is /usr/local/qcloud/YunJing/. On a few hosts, the path is /var/lib/qcloud/YunJing/.
Windows: The actual installation directory prevails. You can confirm it by checking the paths of the YDService and YDLive processes in Task Manager.

Installation Method Description

On the Install Client tab, select the server type, operating system, architecture, and recommended installation method first. The console then generates the corresponding installation command based on your selections.
Configuration Item
Supported Values
Description
Server type
Tencent Cloud, Non-Tencent Cloud
Determines the installation command type and subsequent network access options.
Server OS
Linux,Windows
Determines the command format and verification method.
Server Product
CVM, Lighthouse
Displayed only in Tencent Cloud scenarios. Select based on the actual product.
Server Architecture
x86,arm
Must be consistent with the target host architecture.
Recommended Installation Method
Varies with server type and operating system.
Associated account
Account dropdown list
Used to specify the asset ownership account in non-Tencent Cloud scenarios.
Asset tag
Optional
Asset tags can be bound in advance during installation.

Recommended installation method

Server Type
Installation Method
Scenario
Tencent Cloud
VPC network, Basic network
Select based on the actual network type of the host.
Non-Tencent Cloud
Direct connection over public network
The target host can directly access the public network.
Public network proxy
The target host cannot directly connect to the public network and needs to forward traffic through a proxy server.
Direct Connect
Connected to Tencent Cloud VPC through a dedicated line.
Note:
Before installing the client on non-Tencent Cloud hosts to use CSC, you must first confirm compliance or cross-border data-related information. Read and confirm this information before proceeding with the installation.

Multi-Cloud Multi-Account Scenario Description

In multi-cloud multi-account management scenarios, follow these principles:

Scenario 1: Adding Hybrid Cloud Assets

1. First complete the multi-cloud and multi-account (AK) access so that the console can discover and manage the hosts under the corresponding accounts.
2. Then use the installation command generated by the console to complete the client installation. If the AK has the permission to issue commands, you can also try batch installation from the host list. For more information, see "One-click Client Installation" in Server Management.
3. After installation is complete, the system automatically identifies asset ownership based on the integration information.

Scenario 2: Migrating from CWPP to CSC

After AK access is complete, a dialog box for automatic asset ownership correction will appear. Enable the asset ownership auto-correction feature before installing the client to reduce ownership inconsistencies after migration.

Manually Installing the Client

1. Log in to the CSC console.
2. In the left sidebar, choose Asset Center > Servers.
3. On the Server tab, click Connection Management and select the Install CWPP Agent tab to view the installation guide.


Tencent Cloud CVM - Installing the Client

This applies to Tencent Cloud hosts where TAT is unavailable or where installation commands must be obtained manually based on the network type.
1. Select an appropriate installation method and complete the following configuration:
Server type: Select Tencent Cloud.
Server operating system: Select Linux or Windows based on your actual environment.
Server product: Select the corresponding product, such as CVM.
Server architecture: Select x86 or arm.
Recommended installation method: Select VPC or basic network based on the host network type.
Optional: Click Select Asset Tag to pre-bind tags to the hosts after installation.
2. Copy the installation command generated in the console, log in to the target host, and then paste and run the installation command.
Linux: Run the command in the terminal.
Windows: Open the cmd command line window, paste the command, and run it.
3. Complete the verification as described in Determining Whether the Installation Is Successful in this document.

Non-Tencent Cloud CVM - Public Network Direct Installation

Suitable for hosts that can directly access the public network, such as those in IDCs or on third-party cloud platforms.
Note:
Ensure that the target host can access the relevant CSC domains or addresses in the outbound direction. If a firewall or security group blocks download or registration traffic, the installation may fail or the host may remain offline for a long time after installation. For the specific objects to be allowed, refer to Firewall Troubleshooting Guide.
If the account has completed AK access, assets will be automatically identified for ownership based on the connected AK information after installation.
1. Select an appropriate installation method and complete the following configuration:
Server type: Select a non-Tencent Cloud option.
Server operating system: Select Linux or Windows based on your actual environment.
Server architecture: Select x86 or arm.
Recommended installation method: Select public network direct connection.
Associated account: Select the management account to which the asset belongs.
Optional: Click Select Asset Tag to pre-bind tags to the hosts after installation.
2. Copy the installation command generated in the console, log in to the target host, and then paste and run the installation command.
3. Complete the verification as described in Determining Whether the Installation Is Successful in this document.

Non-Tencent Cloud CVM - Public Network Proxy Integration (Linux)

If the target host cannot directly connect to the CSC server, deploy a proxy server that can access the public network first, and then generate an installation command for the target host that forwards traffic through the proxy.
Note:
The proxy server must be a 64-bit Linux system with an x86 architecture.

Integration Preparations

Before deploying the proxy, confirm the following:
A public network-accessible Linux host that can serve as a proxy is prepared, with an x86 64-bit architecture.
Single nginx proxy: at least 1 instance.
VIP high availability cluster: at least 2 instances.
The proxy server can access the domain names, public IP addresses, and ports listed in the "Pre-access Preparation" section of the console.
The network between the target host and the corresponding port on the proxy server is reachable.
If you choose Keepalived, ensure that your network supports the VRRP protocol because Keepalived depends on it. For VPCs of third-party public clouds, the VRRP protocol is generally disabled by default. In this case, check whether a solution similar to Tencent Cloud High Availability Virtual IP (HAVIP) is available, which means the VIP must be applied for through HAVIP.

Selecting a Proxy Method

1. Go to the Install Client tab.
2. Server type: Select a non-Tencent Cloud option.
3. Server operating system: Select Linux and choose the correct architecture.
4. Recommended installation method: Select public network proxy.
5. Select the associated account and set asset tags as needed.
6. In the proxy access method, select:
Single nginx proxy: suitable for scenarios with small-scale access where a single-point proxy is acceptable.
VIP high availability cluster: suitable for scenarios that require high availability. You can further choose VIP+Keepalived or load balancing.
Single nginx Proxy
1. Proxy access method: Select single nginx proxy.
2. Copy the proxy installation command provided on the page, log in to the proxy server, and run the command to complete the nginx proxy deployment.
3. Enter proxy_ip (the private ip address of the nginx1 server) on the page, and click Generate Install Command.
4. Copy the client installation command generated in the console, log in to the target host to be protected, and run the client installation command.
Linux target host: Directly run the installation command generated on the page.
Windows target host: Do not run the Linux command generated on the page. Instead, use the method described in Non-Tencent Cloud Host - Public Network Proxy Access (Windows).
5. Complete the verification as described in Determining Whether the Installation Is Successful in this document.
VIP High Availability Cluster (VIP + Keepalived)
1. Proxy access method: Select VIP high availability cluster.
2. Build a high availability cluster: Select VIP+Keepalived.
3. Prepare at least two x86 64-bit Linux servers with public network access as proxy nodes, and allow the required domain names, IPs, and ports through the firewall.
4. Install the nginx proxy: Run the proxy installation command provided on the page on each proxy node.
5. Apply for a VIP: Prepare and confirm the VIP address as instructed on the page, and ensure that both the proxy nodes and target hosts can access the VIP.
6. Generate and deploy the Keepalived configuration: Enter the VIP and the private IP addresses of each proxy node on the page, separated by commas. Click Generate Install Command, copy the command, and run it on the proxy nodes to complete the Keepalived deployment and bind the VIP to the proxy nodes.
7. Generate the client installation command: Enter proxy_ip (VIP) on the page, click Generate Install Command, and run the generated client installation command on the target host.
Linux target host: Directly run the installation command generated on the page.
Windows target host: Do not run the Linux command generated on the page. Instead, use the method described in Non-Tencent Cloud Host - Public Network Proxy Access (Windows).
8. Complete the verification as described in Determining Whether the Installation Is Successful in this document.
VIP High Availability Cluster (Load Balancing)
1. Proxy access method: Select VIP high availability cluster.
2. Build a high availability cluster: Select a load balancer.
3. Prepare at least two x86 64-bit Linux servers with public network access as proxy nodes, and allow the required domain names, IPs, and ports through the firewall.
4. Install the nginx proxy: Run the proxy installation command provided on the page on each proxy node.
5. Create a load balancer instance yourself to obtain a system-assigned VIP. Configure a listener for the load balancer instance to listen on ports 8080, 80, 9080, 443, and 5574, and attach the proxy nodes to the backend.
6. Generate the client installation command: Enter proxy_ip (VIP) on the page, click Generate Install Command, and run the generated client installation command on the target host.
Linux target host: Directly run the installation command generated on the page.
Windows target host: Do not run the Linux command generated on the page. Instead, use the method described in Non-Tencent Cloud Host - Public Network Proxy Access (Windows).
7. Complete the verification as described in Determining Whether the Installation Is Successful in this document.

Non-Tencent Cloud CVM - Public Network Proxy Integration (Windows)

This section describes how to install the client on a Windows target host so that it can connect through a deployed public network proxy. The proxy server must be an x86 64-bit Linux server, and deploying the nginx proxy on Windows is not supported. The console does not currently provide a public network proxy option for Windows, so you can install the client as follows.
Prerequisites
You have completed the public network proxy deployment as described above (single nginx or VIP high availability cluster).
The target protected Windows host can access the proxy address. For a single proxy, enter the proxy's private IP address. For a high availability scenario, enter the VIP.
You have obtained the token required for installation from the console, which is the value after -k= in the installation command.
Note:
Because no public network proxy option is available for Windows, you can temporarily select Linux as the server system and public network proxy as the recommended installation method, and then check the value after -k= in the generated Linux installation command.
You can also obtain it from other generated commands under the same account. This operation is only for retrieving the token. Do not run the Linux installation command on Windows.
empty
1. Open the cmd command line window on the Windows host. Administrator privileges are recommended.
2. Copy the following command, replace the parameters with actual values, and then run it:
powershell -executionpolicy bypass -c "(New-Object Net.WebClient).DownloadFile('http://1.1.1.1/ydeyes_win32.exe', '.\\ydeyes_win32.exe')";"Start-Process ./ydeyes_win32.exe -ArgumentList '/S -k=xxx -ip=1.1.1.1 -mix=default' -Wait -RedirectStandardOutput stdout.txt -RedirectStandardError stderr.txt; cat stdout.txt; cat stderr.txt"
Note:
Replace 1.1.1.1 in the preceding command with the proxy address. For a single proxy, enter the proxy's private IP address. For a high availability scenario, enter the VIP.
Replace xxx in -k=xxx with the token generated in the console.
3. Complete the verification as described in Determining Whether the Installation Is Successful in this document.

Non-Tencent Cloud CVM - Direct Connect Integration

This applies to scenarios where a Direct Connect connection to a Tencent Cloud VPC is already established and clients need to be connected through the Direct Connect path.
Note:
Both Linux and Windows support selecting Direct Connect in the console. Ensure that the target host can reach the access path corresponding to the selected VPC through Direct Connect.
1. Go to the Install Client tab.
2. Server type: Select a non-Tencent Cloud option, and select the operating system and architecture.
3. Recommended installation method: Select Direct Connect.
4. Select the associated account and set asset tags as needed.
5. In the VPC that is already connected to Direct Connect, select the region where Direct Connect resides and the corresponding VPC.
6. Copy the installation command generated on the page and run it on the target host.
7. Complete the verification as described in Determining Whether the Installation Is Successful in this document.

Verifying Installation Success

After the client is installed, the system downloads the client components and starts the related processes. We recommend that you perform local verification first, and then check the online status in the console.

Local Server Verification

Linux

1. Run the following command on the target host:
ps -ef | grep YD
2. If you can see that the YDService and YDLive processes are running, the installation is successful.

3. If the process is not started, you can manually run the command with root privileges to start the program:
/usr/local/qcloud/YunJing/startYD.sh

Windows

1. Open Task Manager.
2. Check whether YDService and YDLive are running in the process or service list. If both are running, the installation is successful.


Console Verification

1. Log in to the CSC console.
2. In the left sidebar, choose Asset Center > Servers.
3. On the Server tab, view the Client Status of the target host.
4. If the assets are not displayed immediately after installation or the status is not updated, click Update assets and check again.
Note:
If the local process is running but the console still shows that the client is not installed or is offline, this is usually caused by synchronization delay or network connectivity issues. Wait a few minutes, and then manually synchronize and check the connectivity of the firewall, security group, or proxy.

Firewall Interception Troubleshooting Guide

We recommend that you configure the firewall policy to allow access to the CWPP backend server address:
Domain/IP/Port
Recommended to Allow
VPC network domain name
s.yd.tencentyun.com,l.yd.tencentyun.com,u.yd.tencentyun.com
VPC network IP
169.254.0.55
Basic network domain name
s.yd.qcloud.com,u.yd.qcloud.com,l.yd.qcloud.com
Basic network IP address
9.139.184.44,30.172.92.196,9.139.182.130,30.172.93.22
Non-Tencent Cloud public domain name
sp.yd.qcloud.com,up.yd.qcloud.com,lp.yd.qcloud.com
Non-Tencent Cloud public IP address
183.60.117.161,183.232.224.158,58.254.165.87,106.55.89.60,101.91.43.206,183.194.238.153,220.196.153.118
Port
5574, 8080, 80, 9080 (port 443 also needs to be allowed for public network)

Subsequent Operation Steps

After the client is installed successfully, we recommend that you proceed with the following:
1. On the Host Assets page, confirm that the client status is online.
2. Bind protection licenses such as Professional Edition or Ultimate Edition as needed. For detailed operations, see Server Management.
3. To adjust policies such as client resource settings and self-protection, see Client Management.

FAQs

Why Do Tencent Cloud CVMs Sometimes Need to Be Selected as Non-Tencent Cloud?

For ECM instances, virtual machines on Tencent Cloud, and hosts that cannot be connected through the Tencent Cloud one-click installation path, obtain the installation command as non-Tencent Cloud resources.

What Should I Do If I Select the Wrong Server Type?

The installation methods for Tencent Cloud and non-Tencent Cloud are not interchangeable, and overwrite installation for switching is not supported. Uninstall the client first, and then reinstall it with the correct server type.

How to Choose Between Public Network Proxy and Direct Public Network Connection?

If the target host can directly access the public network, select public network direct connection.
If the target host cannot directly connect to the CSC server but a machine in the environment can access the public network, select public network proxy.
If a Tencent Cloud VPC is already connected through Direct Connect, select Direct Connect.
When a Windows business server uses a public network proxy, the proxy is still deployed on Linux. If the console does not provide a Windows public network proxy option, see Non-Tencent Cloud - Public Network Proxy Access (Windows).

Why Choose Linux When Windows Uses a Public Network Proxy?

The proxy server can only be deployed on Linux, and the console provides proxy deployment and the token only in the Linux wizard. Select Linux and go to the public network proxy to deploy the proxy and obtain the -k= value. For Windows business servers, run the corresponding commands as described in Non-Tencent Cloud - Public Network Proxy Access (Windows). Do not run Linux installation commands on Windows, and do not attempt to use a Windows host as a proxy server.

What Should I Do If the Installation Command Fails to Execute?

Check the following items in order:
1. Whether to run the command with administrator privileges.
2. Whether the host architecture and operating system match the selections on the page.
3. In the public network direct connection scenario, check whether the host can access the download and registration addresses.
4. In the proxy scenario, check whether the proxy is deployed successfully and whether the target host can reach proxy_ip.
5. Check whether any old client processes remain on the host. If so, uninstall and clean them up before reinstalling.

Proxy Deployed Successfully but Client Still Offline?

Confirm the following in order:
1. Check whether the proxy server can access the CSC domain/IP address/port.
2. Check whether the target host can reach the proxy proxy_ip and the corresponding port.
3. Check whether the proxy_ip entered when generating the install command is correct. For a standalone proxy, enter the private IP address of the proxy server. For a high-availability cluster, enter the VIP.
4. Check whether the YDService and YDLive processes have started on the target host.

Local Process Online but Host Asset Not Visible or Showing Offline?

1. On the Host Assets page, click Sync Assets.
2. Confirm that the associated account selected during installation is correct.
3. For third-party cloud hosts, confirm that AK access for the corresponding account has been completed.
4. Troubleshoot the network connectivity from the host to the server or proxy.


ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック