命令行创建不同的IPNS的key并进行IPNS网站博客发布
默认 ipfs 会创建一个 key,用于 ipns 网站发布,但是如果有多个ipns网站,可以用 webui 进行管理,也可以用命令行进行管理。
默认 ipfs 会创建一个 key,用于 ipns 网站发布,但是如果有多个ipns网站,可以用 webui 进行管理,也可以用命令行进行管理。
很多人第一次使用 cloudflare 过程都会遇到一个问题,设置好 cloudflare 后,网站就进入死循环,这个是因为 cloudflare 和源站 https 的差异设置问题。
在使用 cloudflare 过程中,有一些没有文件名后缀的资源,服务器返回cache后,也始终不被 cloudflare 缓存 ,返回的响应头始终为:cf-cache-status:DYNAMIC
Android 系统升级到 Android14 后,打开 app 弹窗提示:此应用与最新版Android不兼容,请检查是否有更新,或与应用开发者联系。
Wallabag 是一个支持自建的多人共享的文章保存程序,支持多端登录使用。
1.打开 https://golang.org/dl/ 选择最新版本下载链接
wget https://golang.google.cn/dl/go1.23.0.linux-amd64.tar.gz
2.解压到目录
sudo tar -C /usr/local -xzf go1.23.0.linux-amd64.tar.gz
3.加入到环境变量
echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.profile
source ~/.profile4.测试验证
go version
在window环境下添加的sh文件,在Linux环境拉取后,默认是没有执行权限的。
添加执行权限
git update-index --chmod=+x backup.sh
然后提交、push,Linux环境拉去后,就有执行权限了。
在默认的源里面,没有类似screen这些包,通过开启 epel 和 epel-next 仓库解决类似 Error: Unable to find a match: screen 的问题
dnf config-manager --set-enabled crb
dnf install epel-release epel-next-release参考:https://www.rockylinux.cn/notes/zai-rocky-linux-9-shang-qi-yong-epel-he-remi-cang-ku.html
安装依赖
dnf -y install zsh git util-linux-user安装 oh my zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"这里需要输入y设置zsh为默认shell
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting编辑.zshrc文件启用插件 找到 plugins= 这一行,添加zsh-autosuggestions zsh-syntax-highlighting,例如: