240 发简信
IP属地:北京
  • python使用paramiko实现ssh

    代码 myssh.py utils.py 参考 https://blog.csdn.net/u012322855/article/details...

  • python使用sshtunnel访问远程数据库

    实现 参考 https://pypi.org/project/sshtunnel/

  • sqlalchemy连接数据库

    参考 https://www.jianshu.com/p/6d3ec5851f3ahttps://www.liaoxuefeng.com/wik...

  • kubectl edit

    https://www.jianshu.com/p/8c2eafc46104https://blog.51cto.com/tryingstuff...

  • 删除正在使用的文件

    trash trash实质为mvhttps://www.jianshu.com/p/c523b567ccf7 清空 cp /dev/null n...

  • docker-compose起来一个mysql容器并创建数据库和授权

    1. docker-compose.yml 2. 进入mysql创建数据库并授权

  • docker pull镜像错误 "x509: certificate signed by unknown authority"

    需要添加镜像中心到主机的“insecurity-registry”:https://www.cnblogs.com/fengjian2016/p...

  • dockerfile中的entrypoint和cmd区别

    格式两种: exec格式: ['/bin/sh', '-c', 'echo hello'] shell格式: 一串字符串 执行流程:容器的入口...

  • 体验nginx(centos下nginx的rpm包安装和源码编译安装(附Dockerfile))

    1. rpm安装 2. 源码编译安装 3. dockerfile安装 3.1 rpm 安装 3.2 源码安装 参考 https://segmen...