New Relic is a web-based application monitoring solution that allows you to monitor server performance in real time. Using New Relic, you can monitor CPU, RAM, Disk Usage, and specific user-defined events. New Relic uses an application performance index score to set and rate application performance across the environment in a unified manner. It is used by developers and DevOps teams to monitor the performance of their applications and infrastructure.

This post will show you how to install New Relic on Oracle Linux 8 and monitor your server.

Step 1 – Create an Account on New Relic

First, you will need to create an account on New Relic as shown below:
Relic sign up page
After signing up, log in to New Relic. You should see the following page:
Relic operating selection page
Select your operating system and click on the Continue button. You should get an installation code as shown below:
Relic installation code
Copy the above code and proceed to the next step.

Step 2 – Install New Relic

Now, log in to your Oracle Linux 8 server and run the code as shown below:

curl -Ls https://raw.githubusercontent.com/newrelic/newrelic-cli/master/scripts/install.sh | bash && NEW_RELIC_API_KEY=NRAK-KKNV6Z6A8EJ7AW8U21AQG72OKWC NEW_RELIC_ACCOUNT_ID=3086649 /usr/local/bin/newrelic install

Once the installation has been completed, you should get the following output:

Starting installation.
Installing New Relic CLI v0.54.1
Installing to /usr/local/bin

 _   _                 ____      _ _
| \ | | _____      __ |  _ \ ___| (_) ___
|  \| |/ _ \ \ /\ / / | |_) / _ | | |/ __|
| |\  |  __/\ V  V /  |  _ |  __| | | (__
|_| \_|\___| \_/\_/   |_| \_\___|_|_|\___|

Welcome to New Relic. Let's set up full stack observability for your environment.
	
✔ Connecting to New Relic Platform
   Connected 


Installing New Relic


✔ Installing Infrastructure Agent
   Installed 

  New Relic installation complete 

  --------------------
  Installation Summary

  ✔  Infrastructure Agent  (installed)  

  View your data at the link below:
  ⮕  https://onenr.io/0ERzlKNe8Qr

  --------------------

Please remember the New Relic URL as shown in the above output. You will need it to access the New Relic web interface.

Step 3 – Access New Relic Web Interface

Now, open your web browser and access the New Relic web interface using the URL https://onenr.io/0ERzlKNe8Qr. You should see the New Relic dashboard on the following page:
Relic dashboard page

Conclusion

This post taught us how to install New Relic on Oracle Linux 8. You can now implement New Relic in your organization and start monitoring your infrastructure from the central location. Try New Relic on dedicated hosting from Atlantic.Net!