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-21955

Dani's questions

Martin Hope
Dani
Asked: 2022-02-09 02:09:16 +0800 CST

ssh 到 debian 11 需要将近 2 分钟

  • 0

这就是我在系统日志中看到的 - ssh 正在使用私钥完成。2 分钟后 - 登录成功。

Feb  8 10:01:53 systemd[1]: Starting User Manager for UID 0...
Feb  8 10:01:53 systemd[34555]: gpgconf: error running '/usr/lib/gnupg/scdaemon': probably not installed
Feb  8 10:03:23 systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Feb  8 10:03:23 systemd[1]: [email protected]: Killing process 34555 (gpgconf) with signal SIGKILL.
Feb  8 10:03:23 systemd[1]: [email protected]: Killing process 34556 (awk) with signal SIGKILL.
Feb  8 10:03:23 systemd[1]: [email protected]: Killing process 34561 (dirmngr) with signal SIGKILL.
Feb  8 10:03:23 systemd[1]: [email protected]: Killing process 34555 (gpgconf) with signal SIGKILL.
Feb  8 10:03:23 systemd[1]: [email protected]: Killing process 34556 (awk) with signal SIGKILL.
Feb  8 10:03:23 systemd[1]: [email protected]: Killing process 34561 (dirmngr) with signal SIGKILL.
Feb  8 10:03:23 systemd[1]: [email protected]: Failed with result 'exit-code'.
Feb  8 10:03:23 systemd[1]: [email protected]: Unit process 34561 (dirmngr) remains running after unit stopped.
Feb  8 10:03:23 systemd[1]: Failed to start User Manager for UID 0.
Feb  8 10:03:23 systemd[1]: Started Session 14 of user root.
debian ssh debian-bullseye
  • 2 个回答
  • 154 Views
Martin Hope
Dani
Asked: 2020-12-09 01:42:08 +0800 CST

将真实 IP 地址从一个 nginx 实例传递到另一个实例并将其写入日志

  • 1

将请求移动到我添加到调用中的内部 nginx 服务器:

proxy_set_header X-Real-IP $remote_addr;

当我尝试在日志中打印此值时,内部 nginx 容器崩溃:

log_format verbose ' Real: $X-Real-IP ';

我究竟做错了什么?(我也尝试在变量周围使用“”,但没有帮助。)

log-files nginx reverse-proxy
  • 2 个回答
  • 1174 Views
Martin Hope
Dani
Asked: 2020-09-15 08:37:58 +0800 CST

如何将alternateHostName设置为iis 10上的所有网站?

  • 0

这是指 CVE:CVE-2000-0649

appcmd.exe set config "SiteName" -section:system.webServer/serverRuntime /enabled:"True" /commit:apphost

appcmd.exe set config "SiteName" -section:system.webServer/serverRuntime /alternateHostName:"development-server-iis.local" /commit:apphost 

解决方案在这里找到:internal-ip-address-leak-iis10

我的问题 - 由于我在单个服务器上托管了许多网站,并非所有网站都“命名” - 如何使此设置适用于该服务器上的所有网站?

security iis-10
  • 1 个回答
  • 1016 Views
Martin Hope
Dani
Asked: 2020-07-06 03:46:22 +0800 CST

k8s 忽略具有相同标签的新图像

  • 0

我有一个应该从存储库中获取图像的 k8s 部署(使用 helm)。如果我指定带有确切标签的图像 - 它将由 k8s 拍摄。最近 - 为了不更改代码,我将图像名称更改为 xxx/myserver:latest。

每次更新图像时,我都会将最新标签推送到存储库:所以 xxx/myserver:v11 -- >xxx.myserver:latest 然后 v12 到达我将最新标签指向它。

我的问题是,一旦 k8s 获取了最新版本(对于 v11),它就不会再次获取它并且它会继续构建旧容器。

kubernetes
  • 1 个回答
  • 253 Views
Martin Hope
Dani
Asked: 2020-05-26 10:47:18 +0800 CST

无法从容器内部 ping/访问 172.17.0.1 上的 docker 主机

  • 2

我的 docker 主机在 172.17.0.1 上监听。

我可以从主机卷曲它,但是当我从容器内卷曲相同的 ip/端口时,我会超时。

我可以从容器中 ping 任何东西,但我无法访问主机。

我错过了什么?

Container 是通过以下命令运行的 Jenkins 镜像:

docker run -d --name jenkins -v jenkins_home:/var/jenkins_home -p 8080:8080 -p 50000:50000 jenkins/jenkins:2.222.3

在主机上运行 curl:

curl http://172.17.0.1:2375 {“消息”:“找不到页面”}

使用 docker 运行 curl 将超时。

curl http://172.17.0.1:2375 curl: (7) 连接172.17.0.1端口2375失败:连接超时

docker
  • 2 个回答
  • 7261 Views
Martin Hope
Dani
Asked: 2018-05-21 23:35:37 +0800 CST

授予房间资源查看权限 - 交换 2016

  • 0

我在交换管理员(网络)中定义了一个房间资源,用户可以分配房间,但是当他们查看房间的日历时,他们只看到“占用”状态 -

我怎样才能让每个人都看到会议的详细信息?(组织者和主题) ?

exchange-2016
  • 1 个回答
  • 147 Views
Martin Hope
Dani
Asked: 2016-12-01 14:35:06 +0800 CST

尝试安装 openssl 1.1.0 失败 make test

  • 2

我正在尝试安装openssl 1.1.0.

我跑了./config && make && make test

我没有通过这个测试:

../test/recipes/40-test_rehash.t ........... 1/5
#   Failed test 'Testing that we aren't running as a privileged user, such as root'
#   at ../test/recipes/40-test_rehash.t line 49.
# Looks like you failed 1 test of 5.
../test/recipes/40-test_rehash.t ........... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests
        (less 1 skipped subtest: 3 okay)

我不认为我可以在没有 root 的情况下安装它。我错过了什么?

openssl
  • 3 个回答
  • 10144 Views
Martin Hope
Dani
Asked: 2014-01-24 08:38:39 +0800 CST

我在哪里可以找到 windows 2012 服务器(和 windows 8)上新安装的应用程序

  • -2

安装应用程序(如 SQL 服务器管理工​​作室)后,我在哪里可以找到运行它的链接?!!!

(我知道我可以尝试使用搜索找到它,然后如果我记得正确的名称 - 将其固定到地铁站) - 但如果我不这样做,或者我不记得应用程序的名称- 在 windows 8.1 / Server 2012 上安装程序后,如何找到要运行的内容?我必须错过一些 b/c 它不能是官方的方式来做到这一点。

windows-server-2012-r2
  • 1 个回答
  • 7512 Views
Martin Hope
Dani
Asked: 2010-03-03 07:50:57 +0800 CST

通过 ssh2 在 linux 中运行一个在会话结束时继续运行的命令

  • 0

一个简单的问题给知道的人...

我想在 Linux shell (ssh2) 中运行一个程序我用 '&' 运行这个程序,所以它应该在后台运行

但是当我结束会话时,程序中止。

我怎样才能让程序运行直到完成并在我重新连接时能够fg它?

linux background-process
  • 1 个回答
  • 448 Views
Martin Hope
Dani
Asked: 2009-10-05 09:18:44 +0800 CST

仅从文件中恢复 Sql 2008

  • 1

我服务器上的 Windows 操作系统崩溃了。我确实有磁盘文件访问权限。我可以获得我的 sql 2008 数据库的 mdf 和 ldf 文件是否可以从这些文件中恢复数据库,以及如何做到这一点?谢谢,丹妮

sql-server-2008
  • 2 个回答
  • 101 Views

Sidebar

Stats

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

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

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

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve