线偶

线偶的IT笔记

在 Docker 上安装 Nfs

install nfs in docker 1. create share directory used by nfs 1 mkdir -p /home/ooooo/shared/nfs 2. create exports.txt used by nfs This the exports.txt mainly used to mount dir (path in the container ) and permission. for example: It indicates read only for all ip. 1 2 vim /home/ooooo/exports.txt /home/ooooo/shared/nfs *(ro,no_subtree_check) 3. execute docker command 1 2 3 4 5 6 7 8 9 10 11 12 13 docker run

在 Windows 中 Rsync 问题

cygwin 的环境变量要放在第一个,这样 rsync 和 ssh 都是 cygwin 的. window 是执行命令 where ssh, 看看 ssh 有几个实现 (比如 openssh 和 cygwin 的 ssh ) refer: window install cygwin

2022年学习计划

0、持续学习者 Talk is cheap. Show me the code. 英语比编程简单。 学习和实践要平衡。 学会和时间做朋友。 学会投资,学会理财。 学会先做减法,再做加法。 学英语很重要,学

在 Centos 上安装 K8s

1. 两台机器初始化设置 1.1 hostname 设置 1 2 3 hostnamectl ## 查看当前的hostname hostnamectl set-hostname centos1 ## 设置主机名为centos1, 在 192.168.130.131 上执行 hostnamectl set-hostname centos2 ## 设置主机名为cento
0%