EasyNode一个简易的个人Linux服务器管理面板(基础探针+webssh终端)
EasyNode一个简易的个人Linux服务器管理面板(基础探针+webssh终端)
2022年07月02日 565 阅读
  • 首页
  • /
  • 源码分享
  • /
  • 正文
  • EasyNode

    EasyNode

    功能简介

     多服务器管理; 通过websocker实时更新服务器基本信息: 系统、公网IP、CPU、内存、硬盘、网卡等
     基于浏览器解决SSH跨端同步问题——Web SSH


    项目地址: GitHub

    安装指南

    服务端安装

    • 依赖Node.js环境
    • 占用端口:8082(http端口)、8083(https端口)、22022(客户端端口)
    • 建议使用境外服务器(最好延迟低)安装服务端,客户端信息监控与webssh功能都将以 该服务器作为跳板机
    • https服务需自行配置证书,或者使用 nginx反代 解决(推荐)

    Docker镜像

    docker run -d --net=host -v /easynode-server:/easynode-server/server/app/config/storage chaoszhu/easynode:v1.1

    访问:http://yourip:8082

    一键脚本

    • 依赖Linux基础命令:curl wget git zip tar;如未安装请先安装:

    wget -qO- --no-check-certificate https://ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/v1.1/easynode-server-install.sh | bash

    访问:http://yourip:8082

    • 查看日志:pm2 log easynode-server
    • 启动服务:pm2 start easynode-server
    • 停止服务:pm2 stop easynode-server
    • 停止服务:pm2 delete easynode-server

    手动部署

    1. 安装Node.js
    2. 安装pm2、安装yarn
    3. 拉取代码:git clone https://github.com/chaos-zhu/easynode.git
    4. 安装依赖:yarn
    5. 启动服务:pm2 start server/app/main.js --name easynode-server
    6. 访问:http://yourip:8082
    7. 默认登录密码:admin(首次部署完成后请及时修改).
    8. 部署https服务
    9. 部署https服务需要自己上传域名证书至\server\app\config\pem,并且证书和私钥分别命名:key.pem和cert.pem
    10. 配置域名:vim server/app/config/index.js 在domain字段中填写你解析到服务器的域名
    11. pm2 restart easynode-server
    12. 不出意外你就可以访问https服务:https://domain:8083

    客户端安装

    • 占用端口:22022

    X86架构

    https://ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/v1.1/easynode-client-install-x86.sh

    ARM架构

    wget -qO- --no-check-certificate https://ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/v1.1/easynode-client-install-arm.sh | bash

    wget -qO- --no-check-certificate https://ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/v1.1/easynode-client-uninstall.sh | bash


    0

    评论 (0)

    取消