默认


  • brief introduction
  • Table of contents
  • Latest documents
  • Collection Download

    ssh 端口转发

    名词解释 请求的发起方称为 本地 服务所在的机器称为 远程 在 本地 执行 ssh 命令就称为 本地转发 在 远程 执行 ssg 命令就称为 远程转发 ssh -L <port_a>:<remote host>:<port_b> user_b@ip_b ssh -R <port_a>:<remote host>:<port_a………

    幻翼 - Aug. 5, 2024, 4:12 p.m.


    Python3.8 安装

    依赖安装 ``` apt install build-essential -y apt install curl g++ gcc git libffi-dev libfreetype6-dev libfribidi-dev libgdbm-dev \ libharfbuzz-dev libjpeg8-dev liblcms2-dev libldap2-dev libncurses5-de………

    幻翼 - Dec. 13, 2023, 10:21 a.m.


    git仅拉取仓库内的指定目录

    在学习 helm 时想参考一下 https://github.com/bitnami/charts/tree/main/bitnami/odoo 中 odoo 相关的代码,在拉取仓库时发现仓库体积巨大,于是寻找仅拉取仓库内的指定目录的方法,记录如下: bash $ mkdir charts # 创建一个与要clone的仓库同名或不同命的目录 $ cd charts $ git init #初始化………

    幻翼 - June 30, 2023, 3:43 p.m.


    Ubuntu常用操作

    ``` 只对github.com git config --global http.https://github.com.proxy socks5://127.0.0.1:1080 取消代理 git config --global --unset http.https://github.com.proxy) export http_proxy="socks5://1.1.1.1:1081" ex………

    幻翼 - June 14, 2023, 10:23 a.m.


    supervisor 使用记录

    安装 supervisor pip install supervisor 也可以通过 apt 安装, 推荐使用pip安装 apt install supervisor - supervisor配置文件: /etc/supervisor/supervisord.conf - 子进程配置文件路径: /etc/supervisor/conf.d/ 创建配置目录 sudo mkdir /opt/s………

    幻翼 - June 1, 2023, 4:50 p.m.



    幻翼