Merge pull request #5446 from ucasFL/master

translating two articles
This commit is contained in:
Flynn 2017-04-13 00:12:07 +08:00 committed by GitHub
commit 90c6fe96b8
2 changed files with 21 additions and 20 deletions

View File

@ -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 dont 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
```
[
![Create Virtual Environment](http://www.tecmint.com/wp-content/uploads/2017/03/create-virtual-environment.png)
![Create Virtual Environment](http://www.tecmint.com/wp-content/uploads/2017/03/create-virtual-environment.png)
][3]
Create Virtual Environment
@ -56,7 +56,7 @@ Important: Take note the virtual environments bin directory path highlighted
$ source /home/aaronkilik/pydash/pydashtest/bin/activate
```
[
![Active Virtual Environment](http://www.tecmint.com/wp-content/uploads/2017/03/after-activating-virtualenv.png)
![Active Virtual Environment](http://www.tecmint.com/wp-content/uploads/2017/03/after-activating-virtualenv.png)
][4]
Active Virtual Environment
@ -76,7 +76,7 @@ $ pip install -r requirements.txt
$ vi pydash/settings.py
```
[
![Set Secret Key](http://www.tecmint.com/wp-content/uploads/2017/03/change-secret-key.png)
![Set Secret Key](http://www.tecmint.com/wp-content/uploads/2017/03/change-secret-key.png)
][6]
Set Secret Key
@ -99,7 +99,7 @@ Password: ###########
Password (again): ############
```
[
![Create Project Database](http://www.tecmint.com/wp-content/uploads/2017/03/python-manage.py-syncdb.png)
![Create Project Database](http://www.tecmint.com/wp-content/uploads/2017/03/python-manage.py-syncdb.png)
][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 Djangos auth system in step 8 and click Sign In.
[
![pyDash Login Interface](http://www.tecmint.com/wp-content/uploads/2017/03/pyDash-web-login-interface.png)
![pyDash Login Interface](http://www.tecmint.com/wp-content/uploads/2017/03/pyDash-web-login-interface.png)
][8]
pyDash Login Interface
@ -123,7 +123,7 @@ pyDash Login Interface
Simply scroll down to view more sections.
[
![pyDash Server Performance Overview](http://www.tecmint.com/wp-content/uploads/2017/03/pyDash-Server-Performance-Overview.png)
![pyDash Server Performance Overview](http://www.tecmint.com/wp-content/uploads/2017/03/pyDash-Server-Performance-Overview.png)
][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.
[
![pyDash Network Overview](http://www.tecmint.com/wp-content/uploads/2017/03/pyDash-Network-Overview.png)
![pyDash Network Overview](http://www.tecmint.com/wp-content/uploads/2017/03/pyDash-Network-Overview.png)
][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.
[
![pyDash Active Linux Processes](http://www.tecmint.com/wp-content/uploads/2017/03/pyDash-Active-Linux-Processes.png)
![pyDash Active Linux Processes](http://www.tecmint.com/wp-content/uploads/2017/03/pyDash-Active-Linux-Processes.png)
][11]
pyDash Active Linux Processes

View File

@ -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.
[
![Search for Desktop Sharing in Ubuntu](http://www.tecmint.com/wp-content/uploads/2017/03/search-for-desktop-sharing.png)
![Search for Desktop Sharing in Ubuntu](http://www.tecmint.com/wp-content/uploads/2017/03/search-for-desktop-sharing.png)
][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”.
[
![Desktop Sharing Preferences](http://www.tecmint.com/wp-content/uploads/2017/03/desktop-sharing-settings-inte.png)
![Desktop Sharing Preferences](http://www.tecmint.com/wp-content/uploads/2017/03/desktop-sharing-settings-inte.png)
][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”.
[
![Configure Desktop Sharing Set](http://www.tecmint.com/wp-content/uploads/2017/03/Configure-Desktop-Sharing-Set.png)
![Configure Desktop Sharing Set](http://www.tecmint.com/wp-content/uploads/2017/03/Configure-Desktop-Sharing-Set.png)
][3]
Configure Desktop Sharing Set
@ -47,7 +48,7 @@ You can test to ensure that its 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].
[
![Remmina Desktop Sharing Tool](http://www.tecmint.com/wp-content/uploads/2017/03/Remmina-Desktop-Sharing-Tool.png)
![Remmina Desktop Sharing Tool](http://www.tecmint.com/wp-content/uploads/2017/03/Remmina-Desktop-Sharing-Tool.png)
][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.
[
![Remmina Desktop Sharing Preferences](http://www.tecmint.com/wp-content/uploads/2017/03/Remmina-Configure-Remote-Desk.png)
![Remmina Desktop Sharing Preferences](http://www.tecmint.com/wp-content/uploads/2017/03/Remmina-Configure-Remote-Desk.png)
][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.
[
![Enter SSH User Password](http://www.tecmint.com/wp-content/uploads/2017/03/shared-pass.png)
![Enter SSH User Password](http://www.tecmint.com/wp-content/uploads/2017/03/shared-pass.png)
][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.
[
![Black Screen Before Confirmation](http://www.tecmint.com/wp-content/uploads/2017/03/black-screen-before-confirmat.png)
![Black Screen Before Confirmation](http://www.tecmint.com/wp-content/uploads/2017/03/black-screen-before-confirmat.png)
][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.
[
![Allow Remote Desktop Sharing](http://www.tecmint.com/wp-content/uploads/2017/03/accept-remote-access-request.png)
![Allow Remote Desktop Sharing](http://www.tecmint.com/wp-content/uploads/2017/03/accept-remote-access-request.png)
][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.
[
![Remote Ubuntu Desktop](http://www.tecmint.com/wp-content/uploads/2017/03/successfully-connected-to-rem.png)
![Remote Ubuntu Desktop](http://www.tecmint.com/wp-content/uploads/2017/03/successfully-connected-to-rem.png)
][10]
Remote Ubuntu Desktop