Help Center/
ModelArts/
Resource Management/
Monitoring Resources/
Using Grafana to View AOM Monitoring Metrics/
Installing and Configuring Grafana/
Installing and Configuring Grafana on Linux
Updated on 2024-04-30 GMT+08:00
Installing and Configuring Grafana on Linux
Prerequisites
- An Ubuntu server that is accessible to the Internet is available. If no, the following conditions must be met:
- You have obtained an ECS. (You are advised to select 8 vCPUs or higher, Ubuntu image of 22.04 version, and 100 GB local storage.) For details, see Purchasing an ECS.
- You have purchased an EIP and bound it to the ECS. For details, see Assigning an EIP and Binding It to an ECS.
Procedure
- Log in to the ECS. Select a login method. For details, see .
- Run the following command to install libfontconfig1:
sudo apt-get install -y adduser libfontconfig1
The operation is successful if the following information is displayed:
- Run the following command to download the Grafana installation package:
wget https://dl.grafana.com/oss/release/grafana_9.3.6_amd64.deb --no-check-certificate
Download completed:
- Run the following command to install Grafana:
sudo dpkg -i grafana_9.3.6_amd64.deb
- Run the following command to start Grafana:
sudo /bin/systemctl start grafana-server
- Access Grafana configurations on your local PC.
Ensure that an EIP has been bound to the ECS and the security group configuration is correct (the inbound traffic from TCP port 3000 and all outbound traffic are allowed). Configuration process:
- Click the ECS name to go to the ECS details page. Then, click the Security Groups tab, and click Manage Rule.
- Click Inbound Rules and allow inbound traffic from TCP port 3000. By default, all outbound traffic is allowed.
- Click the ECS name to go to the ECS details page. Then, click the Security Groups tab, and click Manage Rule.
- Access http://{EIP}:3000 in a browser. The default username and password for the first login are admin. After the login is successful, change the password as prompted.
Parent topic: Installing and Configuring Grafana
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot