Installing .NET agent in Linux
The following are the steps to install the .NET agent in the Linux operating system.
Installation steps
- Log in to your Site24x7 web client.
- Navigate to APM > APM Insight.
- Click on the .NET tab.
- Switch to the Linux option and follow the instructions to download the agent.

- Execute the installation scripts below for S247DataExporter in your terminal. Ensure that you replace YOUR_LICENSE_KEY in the command with your valid Site24x7 license key before executing the script.
wget -O InstallDataExporter.sh
https://staticdownloads.site24x7.in/apminsight/S247DataExporter/linux/InstallDataExporter.sh
sudo -E sh InstallDataExporter.sh -license.key YOUR_LICENSE_KEY
S247DataExporter acts as a data receiver and exporter, relaying performance metrics collected by the agent to Site24x7.
Advanced configurations
The following advanced configuration options apply only to S247DataExporter. This configuration is optional. You can modify these settings during installation if you need to change the port or proxy settings.

| Field number (as marked in the image) | Field name | Default value | Description |
|---|---|---|---|
| 1 | IPC Status Port | 20021 | This port is used to expose the exporter’s status information. |
| 2 | IPC Data Port | 20022 | This port is used for transmitting monitoring data. |
| 3 | Enable Proxy | No | Enables proxy support for outbound communication. |
| 4 | Install as | non-root | Specifies the user account under which S247DataExporter runs. By default, it is installed as a non-root user for improved security and least-privilege access. |
| 5 | Service Registration | Yes | Registers S247DataExporter as a system service, allowing it to start automatically on system boot and be managed using standard service management commands. |
- Run the following commands in your terminal to install the .NET agent. Make sure to replace YOUR_LICENSE_KEY with your actual Site24x7 license key before executing the script.
wget -O InstallNetCoreAgent.sh https://staticdownloads.site24x7.com/apminsight/agents/dotnet/apminsight-dotnetcoreagent-linux.sh sudo -E bash InstallNetCoreAgent.sh -Destination /opt/site24x7 -LicenseKey "YOUR_LICENSE_KEY"
Instead of copying and pasting the code (Steps 5 and 6), you can click Download as Shell Script to download the script and install directly.

- Once the installation is complete, restart your application processes.
- Perform some transactions in your application.The metrics will then be reflected in the Site24x7 console.
Related articles
-
On this page
- Installation steps
