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.
- A fresh Oracle Linux 8 server on the Atlantic.Net Cloud Platform
- A root password configured on your server
Step 1 – Create Atlantic.Net Cloud Server
First, log in to your Atlantic.Net Cloud Server. Next, create a new server, choosing Oracle Linux 8 as the operating system with at least 2GB RAM. Finally, connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page.
Once you are logged in to your Oracle Linux 8 server, run the following command to update your base system with the latest available packages.
dnf update -y
Step 2 – Create an Account on New Relic
First, you will need to create an account on New Relic as shown below:
After signing up, log in to New Relic. You should see the following page:
Select your operating system and click on the Continue button. You should get an installation code as shown below:
Copy the above code and proceed to the next step.
Step 3 – 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 4 – 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:
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!