查询基线
1 | # 查询基线 |
切换基线
rpm-ostree rebase fedora:fedora/45/x86_64/updates/cosmic-atomic
Attention
第一次切换基线时间比较长,基本需要下载全量包;后续在不同基线中切换时,只会下载更新的包。Fedora COSMIC Atomic 45 发布之后基线一直没有更新(只更新了update基线),从44->45时要rebase到update基线。
1 | # 查询基线 |
rpm-ostree rebase fedora:fedora/45/x86_64/updates/cosmic-atomic
Attention
第一次切换基线时间比较长,基本需要下载全量包;后续在不同基线中切换时,只会下载更新的包。Fedora COSMIC Atomic 45 发布之后基线一直没有更新(只更新了update基线),从44->45时要rebase到update基线。
让域名解析从本地/etc/hosts文件读取ip地址,正确的IP地址从https://raw.githubusercontent.com/521xueweihan/GitHub520/main/hosts获取。
获取github域名对应的IP地址,更新到/etc/hosts文件
1 | !/bin/bash |
将上述脚本拷贝到可执行文件目录中,赋予执行权限,如果遇到github无法访问时可以尝试执行sudo /patch/update-github-hosts
执行dig github.com命令检查域名对应的IP地址是否已经刷新。
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
企业范围内的应用程序或者服务开发的方法,目的是复用组件和服务。在SOA架构中每个服务(service)都会提供独立的代码和数据来实现特定的企业业务功能(business function)。各个服务之间是松藕荷的,提供接口通过企业总线(ESB)进行集成;从而减少服务更新导致的大量的集成工作;在这种架构下,如果服务出现问题仍会影响到关联的服务。
实践中XML数据是SOA架构重要的组成部分,基于XML的SOA应用程序可以构建web服务。在SOA架构出现在大约1990年代末,在此之前单体应用之间的集成是点对点集成,每增加一个应用都需要重新做开发和集成测试。
1 | npm install piclist -g |
1 | npm list -g --depth 0 # 查看全局安装的包 |
找出picgo-server安装的具体路径。
根据系统情况下修改picgo-server的配置文件,并将config.json拷贝到piclist默认的用户目录下
1 | { |
1 | # nssm install <service_name> <executable_path> |
注意:注册服务时,config.json路径需要使用双引号包裹在执行 nssm install 命令前,
$path/picgo-server.cmd -c "C:\Users\$username\AppData\Roaming\piclist\config.json"可以先测试命令执行后功能是否正常
1 | nssm start picgoServer |
1 | nssm remove picgoServer |
1 | curl -fsSL https://download.docker.com/linux/fedora/docker-ce.repo -o docker-ce.repo |
1 | rpm-ostree install \ |
1 | rpm-ostree install fcitx5 fcitx5-rime fcitx5-configtool fcitx5-gtk3 fcitx5-gtk4 fcitx5-qt5 fcitx5-qt6 librime-lua \ |
1 | systemctl reboot |