首页 > 系统服务 > 详细

Linux的各种服务详解

时间:2020-04-03 11:55:12      阅读:62      评论:0      收藏:0      [点我收藏+]

一 nfs服务

二 samba服务

三 ISCSI服务

四  DNS服务

五  mail服务

六  ftp服务

 七 mysql服务

一 nfs服务

 shell脚本安装部署:

ping -c 1 192.168.15.130 >/dev/null && echo 0000

setenforce 0 >/dev/null && echo 0000
systemctl stop firewalld >/dev/null && echo  8888

rpm -aq nfs-utils >/dev/null
if [ $? -eq 0 ];then
        echo "rpcbind"
else
        yum install nfs-utils  -y >/dev/null && echo "ok..."
fi
echo ***this is ok***

read -p "please you in:" dir
mkdir $dir -p >/dev/null
chmod 1777 $dir
read -p "please interent:" wd
read -p "please you way: " qx
cat >> /etc/exports << end
$dir $wd($qx)
end
systemctl restart nfs
echo "nfs is ok"

python安装部署:

 

 

 

 

 

 

 

 

 

二 samba服务

 

 

 

 

 

 

 

 

 

 

 

三 ISCSI服务

 

 

 

 

 

 

 

 

 

 

 

四  DNS服务

 

 

 

 

 

 

 

五  mail服务

 

 

 

 

 

 

 

 

 

 

 

 

 

六  ftp服务

 

 

 

 

七 mysql服务

Linux的各种服务详解

原文:https://www.cnblogs.com/HuangJiaPing/p/12597581.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!