UBUNTU 20.04 Pi-hole,lighttpd 服务未运行

伊巴鲁克

希望有人可以帮助我在单板计算机上安装“pi-hole”:

  • 乌班图 20.04
  • Rpi4-8GB/64 位 1.4 固件版本

我按照基本链接(安装应该很容易):

ED-安装安装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:~$*
伊巴鲁克

问题终于解决了:

开始之前的步骤:

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

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

在 Ubuntu 20.04 中安装 Pi-hole

来自分类Dev

ubuntu 20.04.2 pi-hole 安装 cmd 不起作用

来自分类Dev

装有Ubuntu-20-04的HP Elitebook上的触摸板按钮不起作用

来自分类Dev

带有 Ubuntu-20-04 的 HP Elitebook 上的触摸板按钮不起作用

来自分类Dev

Raspberry Pi可以运行Ubuntu吗?

来自分类Dev

Raspberry Pi可以运行Ubuntu吗?

来自分类Dev

Raspberry Pi(运行Ubuntu 14.04)citrix问题

来自分类Dev

Raspberry Pi(运行Ubuntu 14.04)citrix问题

来自分类Dev

安装ubuntu服务器时出错14:04 / 15:04

来自分类Dev

如果服务未运行,请重新启动Raspberry Pi

来自分类Dev

使用运行 Ubuntu 服务器 20.04.1 的 Raspberry Pi 进行直接远程访问 (ssh)

来自分类Dev

Pi cron php未运行

来自分类Dev

Ubuntu Mate(ARM)未安装在Raspberry Pi 3上

来自分类Dev

Ubuntu是通过树莓派PI运行的,这可能吗?

来自分类Dev

Ubuntu是否可以在Raspberry Pi Zero上运行?

来自分类Dev

Ubuntu是通过树莓派PI运行的,这可能吗?

来自分类Dev

从 Windows 10 到 Ubuntu Mate 20 (Raspberry PI 4) 的 XRDP - 错误:无法在会话总线上获取名称

来自分类Dev

Chrome 和 Chromium 拒绝在 ubuntu 20 上运行

来自分类Dev

将 Lubuntu 20_04LXQT 主题设置为深色

来自分类Dev

双启动Ubuntu 14 .04LTS

来自分类Dev

在 Ubuntu 16-04 上安装 opencv

来自分类Dev

Rasbperry pi,在ubuntu上的仿真

来自分类Dev

Rasbperry pi,在ubuntu上的仿真

来自分类Dev

Ubuntu无法ping rasberry pi

来自分类Dev

Raspberry Pi 4上ubuntu服务器的无线网络问题

来自分类Dev

在不带键盘的Raspberry Pi 4上设置ubuntu服务器

来自分类Dev

将带有 ubuntu 服务器的 raspberry pi 4 连接到 wifi

来自分类Dev

为 Raspberry Pi 重新分发修改后的 Ubuntu 服务器

来自分类Dev

Raspberry pi 4 上 ubuntu 服务器的无线网络问题

Related 相关文章

  1. 1

    在 Ubuntu 20.04 中安装 Pi-hole

  2. 2

    ubuntu 20.04.2 pi-hole 安装 cmd 不起作用

  3. 3

    装有Ubuntu-20-04的HP Elitebook上的触摸板按钮不起作用

  4. 4

    带有 Ubuntu-20-04 的 HP Elitebook 上的触摸板按钮不起作用

  5. 5

    Raspberry Pi可以运行Ubuntu吗?

  6. 6

    Raspberry Pi可以运行Ubuntu吗?

  7. 7

    Raspberry Pi(运行Ubuntu 14.04)citrix问题

  8. 8

    Raspberry Pi(运行Ubuntu 14.04)citrix问题

  9. 9

    安装ubuntu服务器时出错14:04 / 15:04

  10. 10

    如果服务未运行,请重新启动Raspberry Pi

  11. 11

    使用运行 Ubuntu 服务器 20.04.1 的 Raspberry Pi 进行直接远程访问 (ssh)

  12. 12

    Pi cron php未运行

  13. 13

    Ubuntu Mate(ARM)未安装在Raspberry Pi 3上

  14. 14

    Ubuntu是通过树莓派PI运行的,这可能吗?

  15. 15

    Ubuntu是否可以在Raspberry Pi Zero上运行?

  16. 16

    Ubuntu是通过树莓派PI运行的,这可能吗?

  17. 17

    从 Windows 10 到 Ubuntu Mate 20 (Raspberry PI 4) 的 XRDP - 错误:无法在会话总线上获取名称

  18. 18

    Chrome 和 Chromium 拒绝在 ubuntu 20 上运行

  19. 19

    将 Lubuntu 20_04LXQT 主题设置为深色

  20. 20

    双启动Ubuntu 14 .04LTS

  21. 21

    在 Ubuntu 16-04 上安装 opencv

  22. 22

    Rasbperry pi,在ubuntu上的仿真

  23. 23

    Rasbperry pi,在ubuntu上的仿真

  24. 24

    Ubuntu无法ping rasberry pi

  25. 25

    Raspberry Pi 4上ubuntu服务器的无线网络问题

  26. 26

    在不带键盘的Raspberry Pi 4上设置ubuntu服务器

  27. 27

    将带有 ubuntu 服务器的 raspberry pi 4 连接到 wifi

  28. 28

    为 Raspberry Pi 重新分发修改后的 Ubuntu 服务器

  29. 29

    Raspberry pi 4 上 ubuntu 服务器的无线网络问题

热门标签

归档