The example of Docs layout.

参考文档: https://github.com/kubernetes-sigs/sig-storage-lib-external-provisioner https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner/blob/master/charts/nfs-subdir-external-provisioner/README.md...

Docker 安装和配置 卸载较旧的 Docker 版本称为 docker 或 docker-engine sudo yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine 添加docker仓库源地址(阿里云) sudo dnf install -y yum-utils sudo yum-config-manager –add-repo...

参考文档: https://blog.csdn.net/red_sky_blue/article/details/131107273 https://blog.csdn.net/HappyLearnerL/article/details/129080317 https://zahui.fan/posts/lq0y87n5/ https://blog.csdn.net/engchina/article/details/129776809 https://zhuanlan.zhihu.com/p/668795734...

centos7 nas 关闭selinux 编辑 /etc/selinux/config,将SELinux属性设置为Disabled,如下所示: 1[root@localhost ~]# vi /etc/selinux/config 2 3# This file controls the state of SELinux on the system. 4# SELINUX= can take one of these three values: 5# enforcing - SELinux security policy is enforced. 6# permissive - SELinux prints warnings...

参考文档: https://blog.51cto.com/14156658/2472402 https://blog.51cto.com/andyxu/2168875 https://blog.csdn.net/wojiuwangla/article/details/112782715 关闭selinux 编辑 /etc/selinux/config,将SELinux属性设置为Disabled 运行以下命令安装vsftpd: 1[root@localhost vsftpd]# yum install -y vsftpd 运行以下命令设置FTP服务开机自启动: 1[root@localhost vsftpd]# systemctl...

wget:文件下载 lrzsz:把本地的文件上传(rz)到服务器或把服务器的文件下载(sz)到本地 zip:压缩成zip包 unzip:解压zip包 tar: 文件压缩和解压 参考文档:https://www.cnblogs.com/newcaoguo/p/5896975.html 1) tar 格式: 解压:tar -xvf test.tar 压缩:tar -cvf test.tar test 2) tar.gz 格式: 解压:tar -zxvf test.tar.gz 压缩:tar -zcvf test.tar.gz test 说明:在创建压缩文件时,创建的压缩文件会使用完整路径。如果只要压缩文件夹本身,加 -C 参数指定目标...

参考文档: https://cloud.tencent.com/developer/article/1602926 https://www.cnblogs.com/biehongli/p/13214542.html https://www.cnblogs.com/breezey/p/8849466.html GlusterFS 几种volume 模式说明: 一、 默认模式,既DHT, 也叫 分布卷: 将文件已hash算法随机分布到 一台服务器节点中存储。 gluster volume create test-volume server1:/exp1 server2:/exp2 二、 复制模式,既AFR, 创建volume...

参考文档: https://www.cnblogs.com/lfl17718347843/p/14131062.html https://www.jianshu.com/p/b860d26f2951 https://blog.51cto.com/u_13941177/2426215 https://www.cnblogs.com/xiajq/p/11395211.html https://www.cnblogs.com/canflyfish/p/11385613.html 安装nfs(如果rpcbind已经安装可不用安装) 1[root@k8s-master ~]# yum install nfs-utils rpcbind 注意:...

主要参考文档:https://www.jb51.net/article/188120.htm 次要参考文档:https://blog.csdn.net/gdkyxy2013/article/details/88906630 https://www.cnblogs.com/liy36/p/12579864.html https://www.cnblogs.com/luckjinyan/p/13124422.html http://www.bubuko.com/infodetail-3633818.html 前期准备 1##### 关闭防火墙并禁止开机自启 2[root@localhost ~]# systemctl stop...

1# 开放端口 2firewall-cmd --zone=public --add-port=80/tcp --permanent 3firewall-cmd --zone=public --add-port=3306/tcp --permanent 4firewall-cmd --zone=public --add-port=6379/tcp --permanent 5firewall-cmd --zone=public --add-port=2181/tcp --permanent 6firewall-cmd --zone=public --add-port=8161/tcp --permanent 7 8...