==== at a fresh CentOS 7.6 from minimal; system updated, vasics set up (eg. ssh, firewalld) and devtoolset-8
==== ERROR:
==== so says: https://stackoverflow.com/a/11156387
====
Thoughts?
====
Cheers, A
Code:
# yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio \
libcom_err-devel libcurl-devel gd zlib-devel zip unzip libcap-devel cronie bzip2 cyrus-sasl-devel perl-ExtUtils-Embed \
autoconf automake libtool which patch mailx bzip2-devel lsof glibc-headers kernel-devel expat-devel db4-devel psmisc \
net-tools systemd-devel libdb-devel perl-DBI xfsprogs rsyslog logrotate crontabs file
Code:
# mkdir -p /usr/local/directadmin/custombuild && wget -O /usr/local/directadmin/custombuild/options.conf https://wp.network/options.conf
# cd /root && echo "[email protected]" > /root/.email.txt && echo "ns1.wp.network" > /root/.ns1.txt && echo "ns2.wp.network" > /root/.ns2.txt && echo "2.0" > /root/.custombuild
# wget -O setup.sh http://www.directadmin.com/setup.sh && chmod 755 setup.sh
# ./setup.sh xxxxx xxxxxx a.b.com eth0 num.num.num.num
==== ERROR:
Code:
2019-03-26 10:49:22 (92.6 MB/s) - ‘/usr/local/directadmin/scripts/packages/services.tar.gz’ saved [542/542]
--2019-03-26 10:49:22-- http://%0D/services/services_es70_64.tar.gz
Resolving \r (\r)... failed: Name or service not known.
wget: unable to resolve host address ‘\r’
FINISHED --2019-03-26 10:49:22--
Total wall clock time: 0.08s
Downloaded: 1 files, 542 in 0s (92.6 MB/s)
Error downloading the services file
==== so says: https://stackoverflow.com/a/11156387
%0D which supposed to be a carrige return character
Your script file apparently has DOS-style lines, and the carriage return character is interpreted as just another character in the command line. If you have no space after the URL, it is interpreted as the last character of the URL; if you have a space, it is interpreted as a separate one-character parameter.
You should save your script file with UNIX-style lines. How you do that depends on your editor.
====
Thoughts?
====
Cheers, A