min update
This commit is contained in:
parent
599933a5ca
commit
519ff5dd1a
|
@ -25,6 +25,8 @@ install_nginx(){
|
||||||
exit 1;
|
exit 1;
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
# copy in /etc/hosts
|
||||||
|
echo -e "127.0.0.1\t$server_name" | sudo tee -a /etc/hosts >/dev/null;
|
||||||
|
|
||||||
# (3) Copy config #
|
# (3) Copy config #
|
||||||
echo "1- build configuration"
|
echo "1- build configuration"
|
||||||
|
@ -54,6 +56,8 @@ install_nginx(){
|
||||||
}
|
}
|
||||||
install_httpd(){
|
install_httpd(){
|
||||||
echo -e "\e[33m>\e[0m httpd installer \e[33m<\e[0m\n"
|
echo -e "\e[33m>\e[0m httpd installer \e[33m<\e[0m\n"
|
||||||
|
echo "no installer for now...\n"
|
||||||
|
exit 1
|
||||||
}
|
}
|
||||||
install_apache(){
|
install_apache(){
|
||||||
echo -e "\e[33m>\e[0m apache installer \e[33m<\e[0m\n"
|
echo -e "\e[33m>\e[0m apache installer \e[33m<\e[0m\n"
|
||||||
|
@ -79,6 +83,8 @@ install_apache(){
|
||||||
exit 1;
|
exit 1;
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
# copy in /etc/hosts
|
||||||
|
echo -e "127.0.0.1\t$server_name" | sudo tee -a /etc/hosts >/dev/null;
|
||||||
|
|
||||||
# (3) Copy config #
|
# (3) Copy config #
|
||||||
echo "1- build configuration"
|
echo "1- build configuration"
|
||||||
|
@ -185,3 +191,4 @@ else
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
|
||||||
|
exit 0
|
Loading…
Reference in New Issue