How to Install New Relic?
1. Create a New Relic Account:
- Go to the official New Relic website.
- Create an account and log in.
2. Obtain a License Key:
- Create an application from your New Relic account.
- Obtain a specific "License Key" for your application.
3. Download the New Relic Agent:
- Download the appropriate agent from your New Relic account. For example, download the Java agent for Java applications, the PHP agent for PHP applications, and so on.
4. Install the Agent on the Server:
- Connect to your server via SSH.
- Install the downloaded agent on your server.
Example (for PHP):
tar -zxvf newrelic-php-<version>-linux.tar.gz
cd newrelic-php-<version>-linux
sudo ./newrelic-install install
5. Configure New Relic:
- After installing the agent, you typically need to edit a configuration file to specify the License Key and other settings.
Example (for PHP):
sudo nano /etc/php/7.4/cli/conf.d/newrelic.ini
Add the following lines to the file:
extension=newrelic.so
newrelic.license = "YOUR_LICENSE_KEY"
6. Restart the Web Server:
- If you are using a web server (Apache, Nginx, etc.), restart the server to apply the changes.
Example (for Apache):
sudo service apache2 restart
Example (for Nginx):
sudo service nginx restart
7. Check in the New Relic Dashboard:
- Log in to your New Relic account and check the application data in the dashboard.
Please note that these steps are a general guide and may vary based on the Linux distribution and the type of application being used. Reviewing the official documentation from New Relic will guide you through the correct steps for your specific use case.
Can't find the information you're looking for?
You have examined the knowledge base in detail, but if you cannot find the information you need,
Create a Support Ticket-
How to Open Ports in Windows?
297 2
-
How to Grant Windows Administrator Privileges?
222 0
-
How to install Webmin on Ubuntu?
874 2
-
Linux SSH Terminal Commands and Explanations
784 3
-
CentOS Stream 10 Update Commands
843 1
-
CentOS Stream 9 Update Commands
1230 2
-
CentOS Stream 8 Update Commands
666 0
-
What is FreeBSD?
847 2
-
Out: 452 4.3.1 Insufficient system storage
760 2
-
Turning Off Automatic Updates in Windows Operating Systems
875 0