AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-1095793

ebaruk's questions

Martin Hope
ebaruk
Asked: 2021-01-15 08:00:55 +0800 CST

Ubuntu 20.10 网络崩溃

  • 1

从 20.4.1 升级 ubuntu 20.10 后,我的网络不再稳定。
它可以工作一两天,然后停止响应,直到我将其关闭并重新开始。
一旦停止(没有 ping,没有响应......)就什么也做不了。
为了消除问题,可以做些什么或检查什么?
我的硬件是带有最新硬件固件的 RPi-4 8GB。

networking
  • 1 个回答
  • 205 Views
Martin Hope
ebaruk
Asked: 2020-06-25 10:59:49 +0800 CST

ldconfig:无法解析

  • 0

1) 我需要从 Snort 网站下载并安装数据采集库 (DAQ)。代码本身是众所周知的,没有问题:

cd ~/snort_src

git clone https://github.com/snort3/libdaq.git

cd libdaq

./bootstrap

./configure

make

sudo make install

2) 安装后我应该更新上面的共享库:

sudo ldconfig

问题来了……

3) 无论我尝试什么,我都无法通过这个“ ldconfig”命令下面是我的终端响应:

ubuntu@ubuntu-server:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin


ubuntu@ubuntu-server:~$ sudo ldconfig
sudo: unable to resolve host ubuntu-server: Name or service not known


ubuntu@ubuntu-server:~$ ldconfig
/sbin/ldconfig.real: Can't create temporary cache file /etc/ld.so.cache~: Permission denied


ubuntu@ubuntu-server:~$ su; ldconfig
Password: 
root@ubuntu-server:/home/ubuntu# ldconfig
root@ubuntu-server:/home/ubuntu# 
root@ubuntu-server:/home/ubuntu# exit
exit
/sbin/ldconfig.real: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
ubuntu@ubuntu-server:~$ 


ubuntu@ubuntu-server:~$ sudo /sbin/ldconfig
sudo: unable to resolve host ubuntu-server: Name or service not known

4) 由于我对这一切都很陌生(而且我只想安装 SNORT+GRAFANA)我在这一点上被卡住了......希望有人能帮助我......?

我已经检查了一些解决方案(.bashrc,...),但没有任何帮助...而且在库正常之前,我无法运行我的 SNORT 安装...

libraries
  • 1 个回答
  • 648 Views
Martin Hope
ebaruk
Asked: 2020-06-17 17:53:21 +0800 CST

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

  • 2

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

  • Ubuntu 20.04
  • Rpi4-8GB/64 位 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 Web 界面或做任何其他事情,包括卸载。看起来过程已经完成,但是......那里什么都没有。

我尝试了很多关于“ lighttpd service ”的建议,但没有一个提到有效:

  • 在 reddit 中安装重新启动 lig​​httpd 服务时卡住了。
  • PI 孔没有 Web 界面访问和 lighttpd 服务无法 在话语中启动。
  • github 中的PI 漏洞问题。

当我从终端运行安装命令时,我的典型代码(它似乎可以工作,但没有安装任何东西......或得出结论......系统只是停止......):

*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:~$*
networking lighttpd 20.04
  • 1 个回答
  • 3598 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve