摘要: 1、安装docker和nvidia-docker2 安装Docker,直接执行官方安装脚本安装: curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun 编辑/etc/docker/daemon.json配置 { "run 阅读全文
posted @ 2024-09-12 15:26 EJW 阅读(805) 评论(0) 推荐(0)
摘要: 一、安装 sudo apt install proxychains4 二、配置 vim /etc/proxychains4.conf [ProxyList] # add proxy here ... # meanwile # defaults set to "tor" #socks4 127.0.0 阅读全文
posted @ 2024-08-23 09:59 EJW 阅读(1361) 评论(0) 推荐(0)
摘要: 一、添加环境变量 vim ~/.bashrc #添加这两行 export http_proxy="http://proxy.example.com:port" export https_proxy="http://proxy.example.com:port" #注意修改为你的代理配置,一般http 阅读全文
posted @ 2024-08-23 09:18 EJW 阅读(692) 评论(0) 推荐(0)
摘要: 一、安装依赖 sudo apt update sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y 二、配置源 curl -fsSL https://mi 阅读全文
posted @ 2024-08-22 17:14 EJW 阅读(287) 评论(0) 推荐(0)
摘要: 前提安装sshd服务 1、创建一个新的用户组,用于管理SFTP用户。 groupadd useradd ftpuser useradd -m -G ftpuser -s /bin/false ftpuser passwd ftpuser# 为用户设置密码 -m选项表示创建用户的主目录,如果不存在则会 阅读全文
posted @ 2024-02-22 15:46 EJW 阅读(888) 评论(0) 推荐(0)
摘要: 一、安装前配置 1.1 所有节点禁用防火墙 内部网络建议关闭防火墙 systemctl stop firewalld.service 并且禁止开机启动 systemctl disable firewalld.service 1.2 配置时间同步(所有节点) 1、安装相关软件 yum -y insta 阅读全文
posted @ 2024-01-26 22:33 EJW 阅读(164) 评论(0) 推荐(0)
摘要: 一、下载安装 1.1 解压 https://www.postgresql.org/ftp/source/v10.3/ tar ‐zxvf postgresql‐10.3.tar.gz 1.2 安装依赖 # centos yum ‐y install zlib‐devel readline‐devel 阅读全文
posted @ 2024-01-23 08:56 EJW 阅读(188) 评论(0) 推荐(0)
摘要: 一、 通过docker run –ulimit 参数设置这个容器的 ulimit 值 docker run --ulimit nofile=1024:1024 --rm debian sh -c "ulimit -n" 二、通过配置 daemon.json 配置默认值 配置nofile { "def 阅读全文
posted @ 2024-01-16 12:16 EJW 阅读(1135) 评论(0) 推荐(0)
摘要: 报错日志 build 报错 failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: write 解决 阅读全文
posted @ 2024-01-10 14:30 EJW 阅读(289) 评论(0) 推荐(0)
摘要: 方法一 timedatectl set-timezone Asia/Shanghai 方法二 # 根据提示完成操作 tzselect 复制文件到/etc目录下 cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 查看 阅读全文
posted @ 2024-01-09 11:29 EJW 阅读(55) 评论(0) 推荐(0)