1. 背景原因
由于 openwrt 默认 root 用户使用的 shell 解释器是 ash 它的 history 命令默认只能在当前这次 ssh 会话中有效,当你 exit 重新 ssh 登录上了之后,执行 history 命令发现输出是空的
最简单的解决办法就是把用户的 shell 解释器换成 Linux 默认的 bash 就可以了
2. 安装 bash
opkg update && opkg install bash
如果安装成功,请继续;如果安装不成功,看下是什么问题导致没有安装成功,自行 google 解决
3. 修改 root 用户的 shell 解释器
编... 阅读全文 »
Spotify 默认的主题都是黑色的,个人不是很喜欢 dark 主题,尤其是白天周围光线非常充足的时候,看多了 dark theme 再看周围世界,都觉得眼睛很累
于是在网上搜了下,发现还真有解决方案。(因为 Spotify 默认没有主题设置)
我使用的是 macOS 平台
1. 基础条件
macOS 已经安装部署了 homebrew 软件包管理工具
2. 需要安装
spicetify-cli,spicetify-cli 是一个跨平台的 Spotify 客户端 UI 定制工具,支持 Windows,MacOS 和 Linux
3. 安装 spicetify-cli
brew in... 阅读全文 »
忘记 portainer 密码,默认用户 admin
1. 停止 portainer 容器
使用 docker ps -a 找到对应的容器名字 或者 id
$ sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
62517d512798 portainer/portainer ... 阅读全文 »
2021-03-11 14:26:50 update
作者官网下载的安装包 setup 过程有建立右键菜单的选项,大家可以去作者官网下载。https://www.rizonesoft.com/downloads/notepad3/
选择 「DOWNLOAD」的下载,不要选择「PORTABLE」的。
以下是原文
众多周知的 notepad++ 事件,这里贴一个链接,我们可以去了解。https://notepad-plus-plus.org/news/v781-free-uyghur-edition/
notepad++ 软件本身的确很优秀,打开速度非常快,在一众竞品中也显得格外突出,但如... 阅读全文 »
首先
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...
Downloading https://openwrt.proxy.ustclug.org/... 阅读全文 »