afaqurk/linux-dash

安装: 282

依赖项: 0

建议者: 0

安全: 0

Stars: 10,405

关注者: 343

Forks: 1,202

公开问题: 44

语言:JavaScript

1.2.0 2015-02-06 01:42 UTC

This package is not auto-updated.

Last update: 2024-09-28 16:18:18 UTC


README

v2.0
Linux系统的一个简单且低开销的Web仪表盘

演示  |  文档

linux-dash Gitter chat


功能

  • 小巧 ----- 磁盘上小于400KB(删除.git后)!
  • 简单 ---- 极简主义、美观的仪表盘
  • 容易 ------ 即插即用安装
  • 多功能 -- 从Node.js、Go、Python、PHP中选择你的栈

安装

第1步

## 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

或者,如果您喜欢手动下载

## 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

第2步

查看首选服务器linux-dash服务器的说明 (包含所有内容)

使用Node.js

## 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

使用Go

## start the server (on port 80 by default; may require sudo)
go run index.go

要构建二进制文件,请运行 go build && ./server -h。有关二进制文件使用选项,请参阅 @tehbilly 的笔记 此处

使用Python

# Start the server (on port 80 by default; may require sudo).
python index.py

使用PHP

  1. 确保已启用 execshell_execescapeshellarg 函数
  2. 将您的Web服务器指向 linux-dash 下的 app/ 目录
  3. 重新启动您的Web服务器(Apache、nginx等)

支持

有关一般帮助,请使用 Gitter聊天室

安全

强烈建议 通过您选择的任何安全措施来保护所有linux-dash安装。

Linux Dash不提供任何安全或身份验证功能。