UBUNTU 20.04 Pi-hole, lighttpd service not not

Надеюсь, кто-то может помочь мне с установкой "пи-дыры" на одноплатном компьютере:

  • UBUNTU 20.04
  • Версия прошивки Rpi4-8GB / 64 bit 1.4 » .

Я перешел по основным ссылкам (установка должна быть очень простой):

ed-install и установить отверстие для PI и наблюдали (Это одна и та же процедура, независимо от версии).

Моя проблема в том, что все «застревает» на этом этапе:

*[✓] Detected ARM-aarch64 architecture
[i] Checking for existing FTL binary...
[i] Latest FTL Binary already installed (v5.0). Confirming Checksum...
[i] Checksum correct. No need to download!
usermod: user 'pihole' does not exist
grep: /etc/pihole/setupVars.conf: No such file or directory
[i] Testing if systemd-resolved is enabled
[i] Systemd-resolved does not need to be restarted
[i] Restarting lighttpd service...ubuntu@ubuntu-server:~$ ^C*

Поэтому я никогда не получаю никакого статуса для « завершенной установки » и не возможно получить доступ к веб-интерфейсу pi-hole или сделать что-либо еще , включая удаление . Похоже, процесс завершен, но ... ничего нет.

Я перепробовал много предложений, касающихся " службы lighttpd ", но ни одна из упомянутых работ не работала:

Мой типичный код, когда я запускаю команду установки с терминала (похоже, она работает, но ничего не установлено ... или не завершено ... Система просто останавливается. ..):

*ubuntu@ubuntu-server:~$ sudo curl -sSL https://install.pi-hole.net | bash
sudo: unable to resolve host ubuntu-server: Name or service not known
[✗] Root user check
Script called with non-root privileges
The Pi-hole requires elevated privileges to install and run
Please check the installer for any concerns regarding this requirement
Make sure to download this script from a trusted source
[✓] Sudo utility check
sudo: unable to resolve host ubuntu-server: Name or service not known
[✓] Root user check
.;;,.
.ccccc:,.
:cccclll:. ..,,
:ccccclll. ;ooodc
'ccll:;ll .oooodc
.;cll.;;looo:.
.. ','.
.',,,,,,'.
.',,,,,,,,,,.
.',,,,,,,,,,,,....
....''',,,,,,,'.......
......... .... .........
.......... ..........
.......... ..........
......... .... .........
........,,,,,,,'......
....',,,,,,,,,,,,.
.',,,,,,,,,'.
.',,,,,,'.
..'''.
Existing PHP installation detected : PHP version 7.4.3
[✓] Disk space check
[✓] Update local cache of available packages
[✓] Checking apt-get for upgraded packages... 11 updates available
It is recommended to update your OS after installing the Pi-hole!
Installer Dependency checks...
[✓] Checking for dhcpcd5
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for whiptail
SELinux not detected
Using interface: eth0
Using upstream DNS: Quad9 (unfiltered, no DNSSEC) (9.9.9.10, 149.112.112.10)
Static IP already configured
Unable to find IPv6 ULA/GUA address, IPv6 adblocking will not be enabled
[i] IPv4 address: 10.0.10.82/24
[i] IPv6 address:
[i] Web Interface On
[i] Web Server On
[i] Logging On.
[✓] Check for existing repository in /etc/.pihole
[i] Update repo in /etc/.pihole...HEAD is now at 4d25f69 Merge pull request #3321 from pi-hole/release/v5.0
[✓] Update repo in /etc/.pihole
[✓] Check for existing repository in /var/www/html/admin
[i] Update repo in /var/www/html/admin...HEAD is now at b86e4a3 Merge pull request #1247 from pi-hole/release/v5.0
[✓] Update repo in /var/www/html/admin
[i] Main Dependency checks...
[✓] Checking for cron
[✓] Checking for curl
[✓] Checking for dnsutils
[✓] Checking for iputils-ping
[✓] Checking for lsof
[✓] Checking for netcat
[✓] Checking for psmisc
[✓] Checking for sudo
[✓] Checking for unzip
[✓] Checking for wget
[✓] Checking for idn2
[✓] Checking for sqlite3
[✓] Checking for libcap2-bin
[✓] Checking for dns-root-data
[✓] Checking for libcap2
[✓] Checking for lighttpd
[✓] Checking for php7.4-common
[✓] Checking for php7.4-cgi
[✓] Checking for php7.4-sqlite3
[✓] Checking for php7.4-xml
[✓] Checking for php-intl
[✓] Enabling lighttpd service to start on reboot...
[i] Creating user 'pihole'...useradd: group pihole exists - if you want to add this user to that group, use -g.
[✗] Creating user 'pihole'
[i] FTL Checks...
[✓] Detected ARM-aarch64 architecture
[i] Checking for existing FTL binary...
[i] Latest FTL Binary already installed (v5.0). Confirming Checksum...
[i] Checksum correct. No need to download!
usermod: user 'pihole' does not exist
grep: /etc/pihole/setupVars.conf: No such file or directory
[i] Testing if systemd-resolved is enabled
[i] Systemd-resolved does not need to be restarted
[i] Restarting lighttpd service...ubuntu@ubuntu-server:~$ ^C
ubuntu@ubuntu-server:~$*
0
задан 17 June 2020 в 08:03

1 ответ

Проблема окончательно решена:

Действия даже до запуска:

sudo pihole uninstall
sudo apt-get update
sudo apt-get upgrade

sudo apt purge lighttpd
sudo pihole -r 

useradd -G pihole pihole

sudo apt-get install gamin 

Решающий пакет , требуется установить .... В моем случае этого фактически не было:

apt-get install gamin

Это также было подробно описано по адресу: Lighttpd

Перед окончательной установкой ... с общей перезагрузкой
(Я только что завершил перезапуск питания)

И после этого Вы готовы установить Pi-hole, используя следующую команду:
(если вам повезло и никаких дополнительных «ошибок» нет ...)

curl -sSL install.pi-hole.net | sudo bash

0
ответ дан 19 June 2020 в 21:23

Другие вопросы по тегам:

Похожие вопросы: