nfs挂载内存
摘要:#!/bin/bash mkdir /opt/nfs mount -t tmpfs -o size=1g tmpfs /opt/nfs chmod -R 777 /opt/nfs rm -f /etc/exports echo "/opt/nfs *(insecure,rw,no_root_squa
阅读全文
posted @
2021-11-23 09:33
弘道者
阅读(104)
推荐(0)
centos7一键安装samba服务器
摘要:一键安装脚本 比较方便 用户名 密码 跟目录的话 自行修改脚本前几行的变量 #!/bin/bash user="code" pass="123456" dir="/root/web" yum install -y samba samba-client mkdir -p $dir chmod 777
阅读全文
posted @
2021-11-09 09:23
弘道者
阅读(368)
推荐(1)