脚本安装dns和postfix
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了脚本安装dns和postfix相关的知识,希望对你有一定的参考价值。
#!/bin/bash
#install dns mail dovecotread -p "domain name :" domain_name
read -p "hostname:" host_name
read -p "host ip:" host_ip
read -p "Network card path:" eth_path
read -p "postfix package path:" ppp
read -p "dovecot package path:" dppfor i in {$eth_path,$dpp,$ppp};do
if [ -e $i ];then
echo -e "