openwrt opkg install 安装 xxx 提示Package xxx wants to install file xxx But that file is already provided by package *xxx 依赖包问题导致无法安装的解决办法

首先 opkg update 然后安装 opkg install lighttpd lighttpd-mod-webdav lighttpd-mod-auth l ighttpd-mod-authn_file root@softRouter:~# opkg install lighttpd lighttpd-mod-webdav lighttpd-mod-auth l ighttpd-mod-authn_file Installing lighttpd (1.4.58-1) to root...... 阅读全文

openwrt 定时检查进程是否还在运行并自动重启(以 qbittorrent-nox 为例)

众所周知 openwrt 的软件包不够完善,除了自己编译,目前官方或第三方源里都没有 systemd 这些程序 本文以 qbittorrent-nox 为栗子? 首先找到 qbittorrent-nox 的执行命令,是 /usr/bin/qbittorrent-nox --profile=/mnt/ThreeTB2/qbit_backup 编写 /mnt/ThreeTB2/check_qbittorrent.sh #!/bin/bash # author: hellodk # time: 202... 阅读全文

windows powershell 实现类似 grep 的效果

windows powershell 下使用 ps 命令可以查看当前所有的 process name 但是如何才能像 linux 那样使用 ps |grep nginx 那样 只输出和字符串 nginx 相匹配的进程呢? ps | Out-String -stream | sls nginx 可以实现类似 grep 的效果 关于 powershell 的 Out-String 可以翻阅微软官方文档 https://docs.microsoft.com/en-us/powershell/... 阅读全文

托管docker-getting-started(docker快速入门)页面 并使用 https 访问

centOS7 安装 docker yum install docker 查看 docker 版本 docker -v docker version 设置 docker autostart 并且 启动之 systemctl enable docker systemctl start docker 可以先使用 systemctl is-enabled docker 查看 是 disabled 还是 enabled 拉取 docker-getting-started docker pull doc... 阅读全文

centOS7 安装 seafile 并部署https踩坑分享 | python多版本问题 | yum无法使用问题 | seahub 无法启动 | systemctl中无法自启 seahub service | 使用 rc.local 自启seafile和seahub

一、安装 seafile 使用 docker 安装 seafile 成功 但是 部署 https 以及 上传下载文件有问题之后 放弃使用 docker 部署 seafile 后改用 xiaoz.me 博客 提供的一键安装脚本安装。 CentOS 7一键安装Seafile搭建私有云存储: https://www.xiaoz.me/archives/8480 在此感谢原作者的分享! 我服务器 url 设置的是 https://static.hellodk.cn 那么我的 SERVICE_URL 和... 阅读全文