mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-03-06 01:20:12 +08:00
commit
90c6fe96b8
@ -1,7 +1,7 @@
|
||||
ucasFL is Translating
|
||||
pyDash – A Web Based Linux Performance Monitoring Tool
|
||||
============================================================
|
||||
|
||||
|
||||
pydash is a lightweight [web-based monitoring tool for Linux][1] written in Python and [Django][2] plus Chart.js. It has been tested and can run on the following mainstream Linux distributions: CentOS, Fedora, Ubuntu, Debian, Arch Linux, Raspbian as well as Pidora.
|
||||
|
||||
You can use it to keep an eye on your Linux PC/server resources such as CPUs, RAM, network stats, processes including online users and more. The dashboard is developed entirely using Python libraries provided in the main Python distribution, therefore it has a few dependencies; you don’t need to install many packages or libraries to run it.
|
||||
@ -13,9 +13,9 @@ In this article, we will show you how to install pydash to monitor Linux server
|
||||
1. First install required packages: git and Python pip as follows:
|
||||
|
||||
```
|
||||
-------------- On Debian/Ubuntu --------------
|
||||
-------------- On Debian/Ubuntu --------------
|
||||
$ sudo apt-get install git python-pip
|
||||
-------------- On CentOS/RHEL --------------
|
||||
-------------- On CentOS/RHEL --------------
|
||||
# yum install epel-release
|
||||
# yum install git python-pip
|
||||
-------------- On Fedora 22+ --------------
|
||||
@ -43,7 +43,7 @@ $ sudo pip install virtualenv
|
||||
$ virtualenv pydashtest #give a name for your virtual environment like pydashtest
|
||||
```
|
||||
[
|
||||

|
||||

|
||||
][3]
|
||||
|
||||
Create Virtual Environment
|
||||
@ -56,7 +56,7 @@ Important: Take note the virtual environment’s bin directory path highlighted
|
||||
$ source /home/aaronkilik/pydash/pydashtest/bin/activate
|
||||
```
|
||||
[
|
||||

|
||||

|
||||
][4]
|
||||
|
||||
Active Virtual Environment
|
||||
@ -76,7 +76,7 @@ $ pip install -r requirements.txt
|
||||
$ vi pydash/settings.py
|
||||
```
|
||||
[
|
||||

|
||||

|
||||
][6]
|
||||
|
||||
Set Secret Key
|
||||
@ -99,7 +99,7 @@ Password: ###########
|
||||
Password (again): ############
|
||||
```
|
||||
[
|
||||

|
||||

|
||||
][7]
|
||||
|
||||
Create Project Database
|
||||
@ -113,7 +113,7 @@ $ python manage.py runserver
|
||||
10. Next, open your web browser and type the URL: http://127.0.0.1:8000/ to get the web dashboard login interface. Enter the super user name and password you created while creating the database and installing Django’s auth system in step 8 and click Sign In.
|
||||
|
||||
[
|
||||

|
||||

|
||||
][8]
|
||||
|
||||
pyDash Login Interface
|
||||
@ -123,7 +123,7 @@ pyDash Login Interface
|
||||
Simply scroll down to view more sections.
|
||||
|
||||
[
|
||||

|
||||

|
||||
][9]
|
||||
|
||||
pyDash Server Performance Overview
|
||||
@ -131,7 +131,7 @@ pyDash Server Performance Overview
|
||||
12. Next, screenshot of the pydash showing a section for keeping track of interfaces, IP addresses, Internet traffic, disk read/writes, online users and netstats.
|
||||
|
||||
[
|
||||

|
||||

|
||||
][10]
|
||||
|
||||
pyDash Network Overview
|
||||
@ -139,7 +139,7 @@ pyDash Network Overview
|
||||
13. Next is a screenshot of the pydash main interface showing a section to keep an eye on active processes on the system.
|
||||
|
||||
[
|
||||

|
||||

|
||||
][11]
|
||||
|
||||
pyDash Active Linux Processes
|
||||
|
@ -1,3 +1,4 @@
|
||||
ucasFL is Translating
|
||||
How To Enable Desktop Sharing In Ubuntu and Linux Mint
|
||||
============================================================
|
||||
|
||||
@ -11,7 +12,7 @@ In this article, we will show you how to enable desktop sharing in Ubuntu and Li
|
||||
1. In the Ubuntu Dash or Linux Mint Menu, search for “desktop sharing” as shown in the following screenshot, once you get it, launch it.
|
||||
|
||||
[
|
||||

|
||||

|
||||
][1]
|
||||
|
||||
Search for Desktop Sharing in Ubuntu
|
||||
@ -21,7 +22,7 @@ Search for Desktop Sharing in Ubuntu
|
||||
Under sharing, check the option “Allow others users to view your desktop” to enable desktop sharing. Optionally, you can also permit other users to remotely control your desktops by checking the option “Allow others users to control your desktop”.
|
||||
|
||||
[
|
||||

|
||||

|
||||
][2]
|
||||
|
||||
Desktop Sharing Preferences
|
||||
@ -33,7 +34,7 @@ Again, another useful security feature is creating a certain shared password usi
|
||||
4. Concerning notifications, you can keep an eye on remote connections by choosing to show the notification area icon each time there is a remote connection to your desktops by selecting “Only when someone is connected”.
|
||||
|
||||
[
|
||||

|
||||

|
||||
][3]
|
||||
|
||||
Configure Desktop Sharing Set
|
||||
@ -47,7 +48,7 @@ You can test to ensure that it’s working using a remote connection application
|
||||
5. I will connect to my Ubuntu PC using VNC (Virtual Network Computing) protocol via [remmina remote connection application][4].
|
||||
|
||||
[
|
||||

|
||||

|
||||
][5]
|
||||
|
||||
Remmina Desktop Sharing Tool
|
||||
@ -55,7 +56,7 @@ Remmina Desktop Sharing Tool
|
||||
6. After clicking on Ubuntu PC item, I get the interface below to configure my connection settings.
|
||||
|
||||
[
|
||||

|
||||

|
||||
][6]
|
||||
|
||||
Remmina Desktop Sharing Preferences
|
||||
@ -63,7 +64,7 @@ Remmina Desktop Sharing Preferences
|
||||
7. After performing all the settings, I will click Connect. Then provide the SSH password for the username and click OK.
|
||||
|
||||
[
|
||||

|
||||

|
||||
][7]
|
||||
|
||||
Enter SSH User Password
|
||||
@ -71,7 +72,7 @@ Enter SSH User Password
|
||||
I have got this black screen after clicking OK because, on the remote machine, the connection has not been confirmed yet.
|
||||
|
||||
[
|
||||

|
||||

|
||||
][8]
|
||||
|
||||
Black Screen Before Confirmation
|
||||
@ -79,7 +80,7 @@ Black Screen Before Confirmation
|
||||
8. Now on the remote machine, I have to accept the remote access request by clicking on “Allow” as shown in the next screenshot.
|
||||
|
||||
[
|
||||

|
||||

|
||||
][9]
|
||||
|
||||
Allow Remote Desktop Sharing
|
||||
@ -87,7 +88,7 @@ Allow Remote Desktop Sharing
|
||||
9. After accepting the request, I have successfully connected, remotely to my Ubuntu desktop machine.
|
||||
|
||||
[
|
||||

|
||||

|
||||
][10]
|
||||
|
||||
Remote Ubuntu Desktop
|
||||
|
Loading…
Reference in New Issue
Block a user