装机

安装zsh

  1. 安装zsh

    1
    apt-get install zsh 
  2. 切换默认shell

    1
    chsh -s /bin/zsh

    重新连接ssh

  3. 安装zinit

    zdharma-continuum/zinit

    1
    sh -c "$(curl -fsSL https://git.io/zinit-install)"

    在.zshrc最下方添加如下内容

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33

    # 快速目录跳转
    zinit ice lucid wait='1'
    zinit light skywind3000/z.lua

    # 语法高亮
    zinit ice lucid wait='0' atinit='zpcompinit'
    zinit light zdharma-continuum/fast-syntax-highlighting

    # 自动建议
    zinit ice lucid wait="0" atload='_zsh_autosuggest_start'
    zinit light zsh-users/zsh-autosuggestions

    # 补全
    zinit ice lucid wait='0'
    zinit light zsh-users/zsh-completions

    # 加载 OMZ 框架及部分插件
    zinit snippet OMZ::lib/completion.zsh
    zinit snippet OMZ::lib/history.zsh
    zinit snippet OMZ::lib/key-bindings.zsh
    zinit snippet OMZ::lib/theme-and-appearance.zsh
    zinit snippet OMZ::plugins/colored-man-pages/colored-man-pages.plugin.zsh
    zinit snippet OMZ::plugins/sudo/sudo.plugin.zsh

    zinit snippet OMZ::plugins/extract

    zinit ice lucid wait='1'
    zinit snippet OMZ::plugins/git/git.plugin.zsh

    # 加载 pure 主题
    zinit ice pick"async.zsh" src"pure.zsh"
    zinit light sindresorhus/pure
  4. 应用修改

    1
    source .zshrc

    shopt错误解决

    https://blog.csdn.net/supertree_l/article/details/88299206

安装1panel

1Panel-dev/1Panel

  1. 安装docker
  2. 安装ufw
  3. 解决ufw绕过docker防火墙问题

安装sing-box

fscarmen/sing-box: Sing-box 全家桶 — 一键多协议脚本

阅读全文 »

汉化插件安装教程

电脑端

1. 使用Chrome浏览器进行游玩

其他能安装油猴的浏览器,如新版Edge、Firefox等也可。

2. 安装油猴扩展程序

有几种方式安装油猴插件(可能需要科学上网)

  1. 打开油猴官网https://www.tampermonkey.net进行安装。
  2. Chrome网上应用店https://chrome.google.com/webstore搜索 “tampermonkey” 安装。

3. 安装汉化插件

阅读全文 »
0%