QualysCloudAgent is part of the suite of cybersecurity solutions offered by Qualys, a leading provider of cloud-based security and compliance solutions.
 
To install the Qualys Cloud Agent on various systems, you typically need to follow these steps:

1. For Linux:

Download the Qualys Cloud Agent Package:

  • Log in to the Qualys Cloud Platform.
  • Navigate to the "Assets" tab and select "Agents."
  • Click on the "Download" button next to the Linux package.
  •  
Transfer Package to Your Linux System:
Use SCP, SFTP, or any preferred method to transfer the downloaded package to your Linux system.

Install the Agent:
Use the terminal to navigate to the directory where you saved the package.
Run the installer with root privileges:
sudo rpm -Uvh qualys-cloud-agent.x86_64.rpm

Replace qualys-cloud-agent.x86_64.rpm with the actual filename.

Activate the Agent:
Run the following command to activate the agent:
sudo /usr/local/qualys/cloud-agent/bin/qualys-cloud-agent.sh ActivationId=YOUR_ACTIVATION_ID CustomerId=YOUR_CUSTOMER_ID

Replace YOUR_ACTIVATION_ID and YOUR_CUSTOMER_ID with your specific Qualys activation and customer IDs.

Update Qualys Proxy setting and restart the service:
After installing the Qualys Cloud Agent, you'll find a configuration file where you can specify proxy settings.
echo "qualys_https_proxy=\"http://<proxy-url>:1080"" > /etc/sysconfig/qualys-cloud-agent

Restart the Qualys Cloud Agent service to apply the new configuration.
systemctl restart qualys-cloud-agent


2. For Ubuntu:

Download the Qualys Cloud Agent Package:
  • Log in to the Qualys Cloud Platform.
  • Navigate to the "Assets" tab and select "Agents."
  • Click on the "Download" button next to the Linux package.
  •  
Transfer Package to Your Linux System:
If you downloaded the package on a different machine, transfer it to your Ubuntu server using SCP, FTP, or any other method you prefer.

Install the Qualys Cloud Agent package:
  • Open a terminal window on your Ubuntu server.
  • Navigate to the directory where you downloaded the Qualys Cloud Agent package.
  • Run the following command to install the package:
sudo dpkg -i qualys-cloud-agent.deb

Replace qualys-cloud-agent.deb with the actual filename of the package you downloaded.

Configure the Qualys Cloud Agent:
 After installation, you'll need to configure the agent to connect it to your Qualys account. Run the following command:
sudo /usr/local/qualys/cloud-agent/bin/qualys-cloud-agent.sh ActivationId=<activation_id> CustomerId=<customer_id> [options]

Replace <activation_id> and <customer_id> with your activation ID and customer ID respectively. You can find these details on the Qualys Cloud Platform.

Update Qualys Proxy setting and restart the service:
After installing the Qualys Cloud Agent, you'll find a configuration file where you can specify proxy settings.
echo "qualys_https_proxy=\"http://<proxy-url>:1080"" > /etc/sysconfig/qualys-cloud-agent

Restart the Qualys Cloud Agent service to apply the new configuration.
systemctl restart qualys-cloud-agent


Verify the agent status:
You can verify that the agent is running correctly by checking its status:
sudo /usr/local/qualys/cloud-agent/bin/qualys-cloud-agent.sh status

It should display the status of the Qualys Cloud Agent, indicating whether it's running or not.

3. For Windows:

Download the Qualys Cloud Agent Package:
  • Log in to the Qualys Cloud Platform.
  • Navigate to the "Assets" tab and select "Agents."
  • Click on the "Download" button next to the Windows package.

Install the Agent:
  • Double-click the installer to start the installation process.
  • Follow the on-screen instructions to complete the installation.

Activate the Agent:
  • Open Command Prompt as an administrator.
  • Navigate to the directory where the agent is installed. (Typically C:\Program Files\Qualys\CloudAgent)
  • Run the following command to activate the agent:
QualysCloudAgent.exe ActivationId=YOUR_ACTIVATION_ID CustomerId=YOUR_CUSTOMER_ID

Replace YOUR_ACTIVATION_ID and YOUR_CUSTOMER_ID with your specific Qualys activation and customer IDs.

Execute the command below to update Qualys proxy setting:
cd C:\Program Files\Qualys\QualysAgent\
QualysProxy /u <proxy-url>:1080


Verify Installation:
Once activated, the agent should start communicating with the Qualys Cloud Platform. You can verify its status by logging into your Qualys account and checking the Agents tab.