<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.
2401_87743936
- 粉丝: 0
- 资源: 26
最新资源
- 粒子群算法优化的BP神经网络回归预测Matlab代码.rar
- 使用加权最小二乘法和加权最小最大法进行优Matlab实现.rar
- 三相双转换器,带直流电机,AC_DC双转换器Simulink仿真.rar
- 使用PSO优化的RBF进行数据预测回归Matlab代码.rar
- 同步参考系中的单相STATCOM和有源电力滤波器控制simulink.rar
- 同步参考系下单相并网全桥正弦pwm逆变器闭环控制simulink仿真.rar
- 基于java+springboot+mysql+微信小程序的个人健康管理系统 源码+数据库+论文(高分毕业设计).zip
- 基于java+springboot+mysql+微信小程序的公考学习平台 源码+数据库+论文(高分毕业设计).zip
- 基于java+springboot+mysql+微信小程序的贵工程寝室快修系统 源码+数据库+论文(高分毕业设计).zip
- 基于java+springboot+mysql+微信小程序的机电公司管理信息系统 源码+数据库+论文(高分毕业设计).zip
- 手机平面度检测项目含bom和3D图纸和工程图机械结构设计图纸和其它技术资料和技术方案非常好100%好用.zip
- 机器人设计转换C++软件包
- 圣诞树c++语言编程代码
- 图表设计优化(五)-条形图优化
- 低压无感BLDC方波控制,全部源码,方便调试移植 1.通用性极高,图片中的电机,一套参数即可启动 2. ADC方案 3.电转速最高12w 4.电感法和普通三段式 5.按键启动和调速 6.开环,速度
- 基于java+springboot+mysql+微信小程序的居民疫情服务系统 源码+数据库+论文(高分毕业设计).zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈