We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b7853a6 + acfa637 commit e258129Copy full SHA for e258129
wordpress-startup-script.sh
@@ -588,6 +588,9 @@ echo
588
echo -e "\e[0m"
589
fi
590
591
+# Prefer IPv6
592
+sed -i "s|precedence ::ffff:0:0/96 100|#precedence ::ffff:0:0/96 100|g" /etc/gai.conf
593
+
594
## Reboot
595
echo "Installations finished. System will now reboot..."
596
reboot
wordpress_install.sh
@@ -39,6 +39,9 @@ UNIXPASS=wordpress
39
exit 1
40
41
42
+# Prefer IPv4
43
+sed -i "s|#precedence ::ffff:0:0/96 100|precedence ::ffff:0:0/96 100|g" /etc/gai.conf
44
45
# Check Ubuntu version
46
echo "Checking server OS and version..."
47
if [ $OS -eq 1 ]
0 commit comments