Atlantic.Net Blog

How to Install Relic Server Monitoring on CentOS 8

Hitesh Jethva
by Atlantic.Net (273 posts) under Tutorials, VPS Hosting
0 Comments

New Relic is one of the most popular web-based monitoring applications that monitors server performance in real-time. It is used by web hosting companies for resource and network monitoring including CPU, RAM, Disk Usage, and specific user-defined events.
You just need to create an account on New Relic, get the installation code, run the code inside your server, and New Relic will do the rest of things for you.

In this post, we will show you how to install New Relic on CentOS 8 and start monitoring your server.

Prerequisites

  • A fresh CentOS 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. Create a new server, choosing CentoS 8 as the operating system with at least 2GB RAM. 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 CentOS 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 the New Relic as shown below:

New Relic

After sign up, log in to the New Relic. You should see the following page:

select operating system

Select your operating system and click on the Continue button. You should get an installation code as shown below:

Installation

Copy the above code and proceed to the next step.

Step 3 – Install New Relic

Now, log in to your CentOS 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.19.0
Installing to /usr/local/bin
WARNING unknown region, using default: US            
INFO profile default added               
INFO setting default as default profile  

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

  Welcome to New Relic. Let's install some instrumentation.

  Questions? Read more about our installation process at
  https://docs.newrelic.com/

	
The guided installation will begin by installing the New Relic Infrastructure agent, which is required for additional instrumentation.

? Please choose from the additional recommended instrumentation to be installed: Logs integration

The following will be installed:
  Infrastructure Agent
  Logs integration

==> Installing infrastructure-agent-installer...
Importing GPG key 0x8ECCE87C:
 Userid     : "infrastructure-eng <[email protected]>"
 Fingerprint: A758 B3FB CD43 BE8D 123A 3476 BB29 EE03 8ECC E87C
 From       : https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg

==> Installing logs-integration...success.

  ---
  Instrumentation recommendations
  We discovered some additional instrumentation opportunities:
  - Node Agent Installer
  - Python Agent Installer
Please refer to the "Detected observability gaps" section in the link to your data.
  ---
  New Relic installation complete!
  Your data is available at https://one.newrelic.com/redirect/entity/MzA4NjY0OXxJTkZSQXxOQXw4ODA3MjE5MDg0OTUzODQ4NTMz

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://one.newrelic.com/redirect/entity/MzA4NjY0OXxJTkZSQXxOQXw4ODA3MjE5MDg0OTUzODQ4NTMz. You should see the New Relic dashboard on the following page:

Dashboard

Conclusion

Congratulations! You have successfully installed New Relic on CentOS 8. You can now monitor your virtual server from the central location.

Get A Free To Use Cloud VPS

Free Tier Includes:
G3.2GB Cloud VPS Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year


Looking for a Hosting Solution?

We Provide Cloud, Dedicated, & Colocation.

  • Seven Global Data Center Locations.
  • Flexible Private, Public, & Hybrid Hosting.
  • 24x7x365 Security, Support, & Monitoring.
Contact Us Now! Med Tech Award FTC
SOC Audit HIPAA Audit HITECH Audit

Recent Posts

Major SMS Company Hacked
How to Install WordPress with SlickStack on Ubuntu 20.04
Top 10 Linux Distributions
How To Create a New User and Grant Permissions in MySQL8 on CentOS8
Top 10 Remote Management Tools

Get started with 12 months of free cloud VPS hosting

Free Tier includes:
G3.2GB Cloud VPS Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year


New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2323 Bryan Street,

Dallas, Texas 75201

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4

Canada

London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom

Resources