mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update INSTALL.sh
This commit is contained in:
parent
3d9a94e9d3
commit
7277f22a7d
@ -208,6 +208,7 @@ detect_os_and_package_manager
|
|||||||
update_package_manager
|
update_package_manager
|
||||||
install_packages
|
install_packages
|
||||||
download_skeleton_directory_from_github
|
download_skeleton_directory_from_github
|
||||||
|
setup_bind # must run after download_skeleton_directory_from_github
|
||||||
install_openadmin
|
install_openadmin
|
||||||
opencli_setup
|
opencli_setup
|
||||||
configure_docker
|
configure_docker
|
||||||
@ -1188,12 +1189,16 @@ download_skeleton_directory_from_github(){
|
|||||||
echo "Downloading configuration files to ${ETC_DIR}"
|
echo "Downloading configuration files to ${ETC_DIR}"
|
||||||
echo ""
|
echo ""
|
||||||
git clone https://github.com/stefanpejcic/openpanel-configuration ${ETC_DIR} > /dev/null 2>&1
|
git clone https://github.com/stefanpejcic/openpanel-configuration ${ETC_DIR} > /dev/null 2>&1
|
||||||
mkdir -p /etc/bind/
|
|
||||||
cp -r /etc/openpanel/bind9/* /etc/bind/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
setup_bind(){
|
||||||
|
echo "Setting DNS service.."
|
||||||
|
echo ""
|
||||||
|
mkdir -p /etc/bind/
|
||||||
|
cp -r /etc/openpanel/bind9/* /etc/bind/
|
||||||
|
echo " DNSStubListener=no" >> /etc/systemd/resolved.conf && systemctl restart systemd-resolved
|
||||||
|
}
|
||||||
|
|
||||||
send_install_log(){
|
send_install_log(){
|
||||||
# Restore normal output to the terminal, so we dont save generated admin password in log file!
|
# Restore normal output to the terminal, so we dont save generated admin password in log file!
|
||||||
|
Loading…
Reference in New Issue
Block a user