Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

.NetCore SkyWalking APM how to realize the installation and basic use of server monitoring environment

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail about .NetCore SkyWalking APM how to achieve server monitoring environment installation and basic use, the content of the article is of high quality, so the editor will share it for you as a reference. I hope you will have some understanding of the relevant knowledge after reading this article.

Download Java 8 SDK

Wget-no-cookies-no-check-certificate-header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-x64.rpm

Install Java 8

Rpm-ivh jdk-8u171-linux-x64.rpm

Check the Java version after the installation is complete

Java-version

Download ElasticSearch 5.X

Wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.9.rpm

Install ElasticSearch

Rpm-ivh elasticsearch-5.6.9.rpm

Modify the configuration file

Note that cluster.name needs to be consistent with the configured elasticsearch clustername in skywalking

Download Skywalking's latest 5.0.0beta package

Wget http://mirrors.hust.edu.cn/apache/incubator/skywalking/5.0.0-beta/apache-skywalking-apm-incubating-5.0.0-beta.tar.gz

Decompression

Tar-zxvf apache-skywalking-apm-incubating-5.0.0-beta.tar.gz

Enter config: cd config

Modify the configuration inside

Vim application.yml

Enter the bin directory

Modify webappService.sh

Open server-related ports

Access the address

Introduce the Skywalking.AspNetCore nuget package into the .NetCore project

Configure ConfigureServices

Services.AddSkyWalking (option = > {option.ApplicationCode = "Liyouming Project"; option.DirectServers = "ip:11800";}); this is how the .NetCore SkyWalking APM implements the installation and basic use of the server monitoring environment. I hope the above can be helpful and learn more. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report