Install pyDash web interface-based Linux performance monitoring tool

888u

Last update at :2024-07-09,Edit by888u

pyDash is a lightweight Linux performance monitoring tool based on web visual interface, implemented through Python and Django. Although you can see from GITHUB that the current officially submitted version was updated three years ago, Snail testing found that this tool can still achieve monitoring functions. This is not based on the principle of increasing knowledge. Find a limited test Linux VPS installation to see if it can be achieved.

Generally, our ordinary users do not need to use such tools when building websites or for general purposes. For some operation and maintenance personnel, they will have their own favorite or convenient monitoring tools. Here pyDash is just for installation. Understand the monitoring function.

First, preparations

1. pyDash supports regular CentOS, Debian, Ubuntu and other systems. Here, Snail is installed in CentOS.

2. For the first time, it is recommended to implement it directly in the test machine. Do not test in the production environment of a project that already has a website or important data, in case there are adverse reactions.

3. This article comes from https://www.tecmint.com/pydash-a-web-based-linux-performance-monitoring-tool/, refer to this article.

Second, install git and Python pip

yum install epel-release -yyum install git python-pip -y

Third, install virtualenv

pip install virtualenv

Fourth, get the source code and enter the directory

git clone https://github.com/k3oni/pydash.git

cd pydash

Fifth, create a virtual environment

virtualenv pydashtest #give a name for your virtual environment like pydashtest

Then we can see the marked path, which we will need later.

Sixth, activate the virtual environment

source /root/pydash/pydashtest/bin/activate

This needs to be activated based on our actual address.

Seventh, install requirements

cat requirements.txtpip install -r requirements.txt

Eighth, modify encrypted files

vi pydash/settings.py

Here you need to change the characters after SECRET_KEY to whatever you want.

Ninth, create an administrator account

python manage.py syncdb

We need to create a username and password to log in to the WEB interface later.

Tenth, start operation

1. Run locally by default

python manage.py runserver

After running locally by default, if it is a Linux machine, log in through http://127.0.0.1:8000.

2. Linux remote connection

./manage.py runserver Server IP address: 1000

If we are a VPS and want to connect remotely, we need to load our own server IP address and set a port to run.

11. Log in to the WEB interface

According to the IP:port mode we set, log in to the WEB, and then enter the set administrator user and password.

In this way, the installation and access of this pyDash monitoring tool can be realized. Its functions will not be studied here. The basic hardware monitoring is relatively complete.

Recommended site searches: registration system, IP segment query, website IP address query, website space registration-free, expired domain name query, vps server rental, domain name purchase, registration-free space in mainland China, overseas host rental, registration website,

p>

Install pyDash web interface-based Linux performance monitoring tool

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码