<h1 align="center">
<a href="https://afaqurk.github.io/linux-dash">
<img src="https://raw.githubusercontent.com/afaqurk/screenshots/master/linux-dash/v2.0-logo.png"/>
</a>
</h1>
<p align="center">
<sub>v2.0</sub><br/>
<small>A simple & low-overhead web dashboard for linux systems</small>
</p>
<p align="center">
<small>
<a href="https://afaqurk.github.io/linux-dash">Demo</a> |
<a href="https://github.com/afaqurk/linux-dash/wiki">
Docs
</a>
</small>
</p>
<p align="center">
<a href="https://gitter.im/afaqurk/linux-dash">
<img
src="https://badges.gitter.im/gitterHQ/gitter.png"
alt="linux-dash Gitter chat">
</a>
</p>
<br/>
## Features
* **Small** ----- Under 400KB on disk _(with .git removed)!_
* **Simple** ---- A minimalist, beautiful dashboard
* **Easy** ------ Drop-in installation
* **Versatile** -- Choose your stack from Node.js, Go, Python, PHP
## Installation
### Step 1
```sh
## 1. clone the repo
git clone --depth 1 https://github.com/afaqurk/linux-dash.git
## 2. go to the cloned directory
cd linux-dash/app/server
```
OR, if you prefer to download manually:
```sh
## 1. Download the .zip
curl -LOk https://github.com/afaqurk/linux-dash/archive/master.zip && unzip master.zip
## 2. navigate to downloaded & unzipped dir
cd linux-dash-master/app/server
```
### Step 2
See instructions for preferred server linux-dash server _(all included)_:
* [Node.js](#if-using-nodejs) _(recommended)_
* [Go](#if-using-go)
* [Python](#if-using-python)
* [PHP](#if-using-php)
#### If Using Node.js
```sh
## install dependencies
npm install --production
## start linux-dash (on port 80 by default; may require sudo)
## You may change this with the `LINUX_DASH_SERVER_PORT` environment variable (eg. `LINUX_DASH_SERVER_PORT=8080 node server`)
## or provide a --port flag to the command below
## Additionally, the server will listen on every network interface (`0.0.0.0`).
## You may change this with the `LINUX_DASH_SERVER_HOST` environment variable (eg. `LINUX_DASH_SERVER_HOST=127.0.0.1 node server`)
## or provide a --host flag to the command below
node index.js
```
#### If Using Go
```sh
## start the server (on port 80 by default; may require sudo)
go run index.go
```
To build a binary, run `go build && ./server -h`. See [@tehbilly](https://github.com/sergeifilippov)'s notes [here](https://github.com/afaqurk/linux-dash/pull/281) for binary usage options
#### If Using Python
```sh
# Start the server (on port 80 by default; may require sudo).
python index.py
```
#### If Using PHP
1. Make sure you have the `exec`, `shell_exec`, and `escapeshellarg` functions enabled
2. Point your web server to `app/` directory under `linux-dash`
2. Restart your web server (Apache, nginx, etc.)
- For PHP + Apache setup follow the [Digital Ocean tutorial](https://www.digitalocean.com/community/tutorials/how-to-install-linux-dash-on-ubuntu-14-04).
- For help with nginx setup, see [this gist](https://gist.github.com/sergeifilippov/8909839) by [@sergeifilippov](https://github.com/sergeifilippov).
## Support
For general help, please use the [Gitter chat room](https://gitter.im/afaqurk/linux-dash).
## Security
**It is strongly recommended** that all linux-dash installations be protected via a security measure of your choice.
Linux Dash does not provide any security or authentication features.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
linux-dash-master (1).zip (59个子文件)
linux-dash-master
gulpfile.js 1KB
ecosystem.config.js 174B
LICENSE.md 1KB
demo.js 14KB
src
js
plugins
cpu-utilization-chart.directive.js 852B
disk-space
disk-space.html 895B
disk-space.directive.js 1KB
upload-transfer-rate-chart.directive.js 444B
cpu-temp.directive.js 816B
simple-table-data-plugins.directive.js 4KB
ram-chart.directive.js 2KB
cpu-avg-load-chart.directive.js 387B
README.md 250B
download-transfer-rate-chart.directive.js 444B
core
features
progress-bar
progress-bar-plugin.directive.js 423B
progress-bar.css 270B
navbar
navbar.directive.js 1KB
navbar.css 965B
line-chart
line-chart-plugin.html 514B
line-chart-plugin.directive.js 5KB
multi-line-chart
multi-line-chart-plugin.html 529B
multi-line-chart-plugin.directive.js 5KB
loader
loader.css 969B
loader.directive.js 352B
top-bar
topbar.css 981B
topbar.directive.js 916B
key-value-list
key-value-list.html 461B
key-value-list.directive.js 783B
plugin
plugin.html 558B
plugin.directive.js 1KB
plugin.css 2KB
table-data
table-data.css 640B
table-data.directive.js 2KB
table-data.html 1KB
app.js 548B
routes.js 3KB
server.service.js 4KB
rootscope-event-handlers
hide-plugin.run.js 953B
make-plugins-draggable.run.js 1KB
README.md 578B
css
tables.css 603B
main.css 347B
buttons.css 28B
plugins-cotnainer.css 181B
README.md 391B
app
linuxDash.min.css 5KB
linuxDash.min.js 221KB
index.html 1KB
server
index.py 2KB
index.php 265B
index.js 2KB
linux_json_api.sh 18KB
index.go 1KB
config
ping_hosts 33B
package.json 1KB
bin
linux-dash 54B
index.html 1KB
.gitignore 47B
README.md 3KB
共 59 条
- 1
资源评论
2401_87743936
- 粉丝: 0
- 资源: 26
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 技术资料分享uCOS-II信号量集很好的技术资料.zip
- 技术资料分享ucOS-II入门教程(任哲)很好的技术资料.zip
- 技术资料分享UCOSII 2.90 ReleaseNotes很好的技术资料.zip
- 技术资料分享Ucos-II-中文注释版很好的技术资料.zip
- 技术资料分享uCGUI的性能与资源占用很好的技术资料.zip
- 技术资料分享uCGUI 简介很好的技术资料.zip
- 技术资料分享TJA1050很好的技术资料.zip
- 技术资料分享TF应用很好的技术资料.zip
- CourseDesign_Graph-数据结构课程设计
- AndroidStudio Demo-android studio计算器
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功