type
status
date
slug
summary
tags
category
icon
password
📌
每次连上新的服务器总是要重新配置到最舒服的状态。 使用 Docker 镜像总担心cuda版本不匹配,或者镜像过大。 在此做个 workspace from scratch 记录

1.shell 工具

  • 终端还是老一套 WindTerm + Xterminal
WindTerm
kingToolboxUpdated Mar 14, 2025
Windterm 作为主要的workspace
notion image
Xterminal + nvitop 用来监控 GPU CPU 等
notion image

2.Oh-my-zsh

自从用了 zsh + oh my zsh 之后,便再也回不去 bash 了,bash对不起
  1. 安装zsh
    1. sudo apt install zsh -y
  1. 安装oh my zsh
    1. 国内镜像:
       
      如果提示 zsh: command not found: curl,则需要安装curl,执行 sudo apt install curl -y,安装成功后再执行
  1. 安装插件
    1. zsh-autosuggestions
      1. zsh-syntax-highlighting
      4. 修改 ~/.zshrc 文件,找到插件设置命令,默认是 plugins(git),把它修改为:
      1. 修改 zsh 为默认终端 chsh -s /bin/zsh

      3.Clash

      1. mkdir ~/clash; cd ~/clash 在用户目录下创建 clash 文件夹
      1. 这里下载对应的clash 客户端
      1. 解压:tar -xzvf clashpremium-release-linux-amd64.tar.gz
      1. 在终端 cd 到 Clash 二进制文件所在的目录,执行 wget -O config.yaml "https://pc94i.no-mad-world.club/link/tkFrsyhH4gMQTemc?clash=3" 下载 Clash 配置文件
      1. chmod +x clash 更改成可执行文件
      1. 在终端执行 ./clash -d . 即可启动 Clash,同時启动 HTTP 代理和 Socks5 代理。
      1. 下载可视化面板文件
        1. 修改/root/clash/ 下的config.yaml
            • secret就是api的访问秘钥 如果没有的话任何人都可以访问你的clash面板的api 不安全
            • 这里的 port 是 http/https 代理端口
            • socks-port 是 socks 流量代理端口
            • external-controller 是外部控制端口,用于面板控制(前端页面的端口)
            • external-ui 是本地控制页面的源码(前端面板的路由)
        7. 将快捷函数添加到 ~/.zshrc 文件

        4.MiniConda

        5.Tmux ..

         

        6.NeoVim

        Graph RAG: 知识图谱结合 LLM 的检索增强PDF解析工具汇总
        Loading...
        SimonSun
        SimonSun
        Internet Malou, LLM Rookie, Bug Maker🤧
        最新发布
        相机入门记录(1)购物篇
        2025-3-14
        实用网站-工作提速大礼包
        2025-3-14
        conda poetry 全面迁移到 uv
        2025-3-14
        郁闷记
        2025-3-13
        LLM训练数据格式
        2025-3-13
        PPO(1)算法详解
        2025-3-13
        公告
        🙌README🙌
        🤯There is nothing left
        in my right brain,
        🤯and there is nothing right
        in my left brain...
        ⭐I wish you every success⭐