开源软件名称(OpenSource Name):nkeonkeo/nekonekostatus开源软件地址(OpenSource Url):https://github.com/nkeonkeo/nekonekostatus开源编程语言(OpenSource Language):HTML 46.6%开源软件介绍(OpenSource Introduction):NekoNekoStatus一个Material Design风格的服务器探针
安装后务必修改密码! 注意: 正处于快速开发迭代期,可能不保证无缝更新 Feature:
TODOLIST:
一键脚本安装在centos7/debian 10下测试成功,其他系统请自行尝试,参照手动安装 wget: wget https://raw.githubusercontent.com/nkeonkeo/nekonekostatus/main/install.sh -O install.sh && bash install.sh curl: curl https://raw.githubusercontent.com/nkeonkeo/nekonekostatus/main/install.sh -o install.sh && bash install.sh 更新记得备份数据库 ( cd /root/nekonekostatus
git pull
systemctl restart nekonekostatus-dashboard Dockerdocker run --restart=on-failure --name nekonekostatus -p 5555:5555 -d nkeonkeo/nekonekostatus:latest 访问目标ip 5555端口即可, 备份数据库: 手动安装依赖: centos: yum install epel-release -y && yum install centos-release-scl git -y && yum install nodejs devtoolset-8-gcc* -y
bash -c "npm install n -g"
source /root/.bashrc
bash -c "n latest"
source /root/.bashrc
bash -c "npm install npm@latest -g"
source /root/.bashrc debian/ubuntu: apt update -y && apt-get install nodejs npm git build-essential -y
bash -c "npm install n -g"
source /root/.bashrc
bash -c "n latest"
source /root/.bashrc
bash -c "npm install npm@latest -g"
source /root/.bashrc 克隆仓库并安装所需第三方包 git clone https://github.com/nkeonkeo/nekonekostatus.git
cd nekonekostatus
source /opt/rh/devtoolset-8/enable
npm install 配置 & 运行
后台常驻:
echo "[Unit]
Description=nekonekostatus
After=network.target
[Service]
Type=simple
Restart=always
RestartSec=5
ExecStart=/root/nekonekostatus/nekonekostatus.js
[Install]
WantedBy=multi-user.target" > /etc/systemd/system/nekonekostatus-dashboard.service
systemctl daemon-reload
systemctl enable nekonekostatus-dashboard.service
systemctl start nekonekostatus-dashboard.service https请使用nginx等反代 新增/配置 服务器
填写ssh保存后即可一键安装/更新后端 (更新后要重新点一下安装) 手动安装被控wget --version||yum install wget -y||apt-get install wget -y
/usr/bin/neko-status -v||(wget 被控下载地址 -O /usr/bin/neko-status && chmod +x /usr/bin/neko-status)
systemctl stop nekonekostatus
mkdir /etc/neko-status/
echo "key: 通讯秘钥
port: 通讯端口
debug: false" > /etc/neko-status/config.yaml
systemctl stop nekonekostatus
echo "[Unit]
Description=nekonekostatus
[Service]
Restart=always
RestartSec=5
ExecStart=/usr/bin/neko-status -c /etc/neko-status/config.yaml
[Install]
WantedBy=multi-user.target" > /etc/systemd/system/nekonekostatus.service
systemctl daemon-reload
systemctl start nekonekostatus
systemctl enable nekonekostatus |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论