New Install Centos 8

Kurogane

Verified User
Joined
Oct 6, 2019
Messages
65
When i installing a fresh i can't pass when ask me "Would you like to search for the fastest download mirror?"

Bash:
Would you like to search for the fastest download mirror? (y/n): n
beginning pre-checks, please wait...
--2020-04-25 18:29:54--  http://files.directadmin.com/services/es_8.0_64/files.sh
Resolving files.directadmin.com (files.directadmin.com)... 104.128.54.74, 185.42.221.168, 69.162.69.58
Connecting to files.directadmin.com (files.directadmin.com)|104.128.54.74|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 163 [text/plain]
Saving to: ‘/usr/local/directadmin/scripts/files.sh’

/usr/local/directadmin/scri 100%[==========================================>]     163  --.-KB/s    in 0s

2020-04-25 18:29:54 (45.1 MB/s) - ‘/usr/local/directadmin/scripts/files.sh’ saved [163/163]

adding gd ...


--2020-04-25 18:29:54--  http://files.directadmin.com/services/es_8.0_64/webalizer
Resolving files.directadmin.com (files.directadmin.com)... 185.42.221.168, 104.128.54.74, 69.162.69.58
Connecting to files.directadmin.com (files.directadmin.com)|185.42.221.168|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 184913 (181K)
Saving to: ‘/usr/bin/webalizer’

/usr/bin/webalizer          100%[==========================================>] 180.58K  --.-KB/s    in 0.07s

2020-04-25 18:29:54 (2.36 MB/s) - ‘/usr/bin/webalizer’ saved [184913/184913]

Created symlink /etc/systemd/system/multi-user.target.wants/named.service → /etc/systemd/system/named.service.
Generating new key: /etc/rndc.key ...
wrote key file "/etc/rndc.key"
Done generating new key
/usr/sbin/setenforce: SELinux is disabled
--2020-04-25 18:29:56--  https://update.directadmin.com/cgi-bin/daupdate?uid=1234&lid=56789&redirect=ok
Resolving update.directadmin.com (update.directadmin.com)... 216.144.255.179, 192.169.82.155
Connecting to update.directadmin.com (update.directadmin.com)|216.144.255.179|:443... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 302 Found
  Date: Sat, 25 Apr 2020 16:29:57 GMT
  Server: Apache/2
  x-return-code: redirect
  Connection: close
  X-md5: f4eed5713c722a8ac5cc48bd291bf9b1
  Location: http://185.42.221.168/stable_releases_26487463753/packed_es70_64.tar.gz
  Content-Length: 330
  Content-Type: text/html; charset=iso-8859-1
Location: http://185.42.221.168/stable_releases_26487463753/packed_es70_64.tar.gz [following]
--2020-04-25 18:29:57--  http://185.42.221.168/stable_releases_26487463753/packed_es70_64.tar.gz
Connecting to 185.42.221.168:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Date: Sat, 25 Apr 2020 16:29:57 GMT
  Server: Apache/2
  Upgrade: h2,h2c
  Connection: Upgrade, Keep-Alive
  Last-Modified: Thu, 27 Feb 2020 18:17:22 GMT
  ETag: "a05a69-59f92bb6bd080"
  Accept-Ranges: bytes
  Content-Length: 10508905
  Vary: User-Agent
  Keep-Alive: timeout=2, max=100
  Content-Type: application/x-gzip
  Content-Encoding: x-gzip
Length: 10508905 (10M) [application/x-gzip]
Saving to: ‘/usr/local/directadmin/update.tar.gz’

/usr/local/directadmin/upda 100%[==========================================>]  10.02M  38.3MB/s    in 0.3s

2020-04-25 18:29:57 (38.3 MB/s) - ‘/usr/local/directadmin/update.tar.gz’ saved [10508905/10508905]

--2020-04-25 18:29:57--  http://216.144.255.179/localhost.zone
Connecting to 216.144.255.179:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 513
Saving to: ‘/var/named/localhost.zone’

/var/named/localhost.zone   100%[==========================================>]     513  --.-KB/s    in 0s

2020-04-25 18:29:58 (40.5 MB/s) - ‘/var/named/localhost.zone’ saved [513/513]

--2020-04-25 18:29:58--  http://216.144.255.179/named.local
Connecting to 216.144.255.179:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 433
Saving to: ‘/var/named/named.local’

/var/named/named.local      100%[==========================================>]     433  --.-KB/s    in 0s

2020-04-25 18:29:58 (33.6 MB/s) - ‘/var/named/named.local’ saved [433/433]

Added 'allow-transfer { none; };' to /etc/named.conf
All Checks have passed, continuing with install...
Created symlink /etc/systemd/system/multi-user.target.wants/directadmin.service → /etc/systemd/system/directadmin.service.
Created symlink /etc/systemd/system/multi-user.target.wants/startips.service → /etc/systemd/system/startips.service.
Checking quotas...
Running quotacheck
done
Done quotacheck
--2020-04-25 18:30:01--  https://www.directadmin.com/clients/my_license_info.php
Resolving www.directadmin.com (www.directadmin.com)... failed: Name or service not known.
wget: unable to resolve host address ‘www.directadmin.com’
Error getting license info. Empty /root/.lid_info file. Check for errors, else try the UID/LID method, eg: /usr/local/directadmin/scripts/getLicense.sh

The problem, when installing package named is removed resolv.conf config.

Not sure if directadmin or centos issue but thats is why not finish configuration and i need to configure back.
 
Last edited:
The problem, when installing package named is removed resolv.conf config.
Never heard that before and also has nothing to do with finding the fastest mirror.
You can always run the manual command for the fastest mirror via custombuild afterwards.

As for the resolv.conf if you indeed loose that, copy it first to like resolv.conf.bak or to /root so you can copy it back if it gets lost.
 
Ah wait... I see the problem. It was mentioned before indeed somewhere on the forum.

You could try this:
Code:
chattr +i /etc/resolv.conf
then install DA, the resolv.conf should be kept because it can not be removed or changed.
After that, do the same command but with -i to be able to change it again.
 
Back
Top