摘要: 一、安装 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 阅读(1220) 评论(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 阅读(663) 评论(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 阅读(265) 评论(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 阅读(869) 评论(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 阅读(153) 评论(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 阅读(160) 评论(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 阅读(1104) 评论(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 阅读(269) 评论(0) 推荐(0)
摘要: 方法一 timedatectl set-timezone Asia/Shanghai 方法二 # 根据提示完成操作 tzselect 复制文件到/etc目录下 cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 查看 阅读全文
posted @ 2024-01-09 11:29 EJW 阅读(38) 评论(0) 推荐(0)
摘要: 今天在使用docker run命令启动容器覆盖dockerfile原有启动命令的时候发生了如下错误 docker run -it --name translate-algorithm --entrypoint "tail -F /dev/null" nginx:v1 docker: Error re 阅读全文
posted @ 2023-12-28 10:00 EJW 阅读(476) 评论(0) 推荐(0)