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

Zim3r's questions

Martin Hope
Zim3r
Asked: 2013-10-01 23:59:25 +0800 CST

这些访问 Apache 虚拟主机的 localhost 是什么?

  • 2

在我的服务器状态页面中,我看到很多来自本地主机的请求。这些是干什么用的?他们真的在做什么吗?

201-0   -   0/0/327 .   0.94    28653   0   0.0 0.00    99.83   ::1 domain.com  OPTIONS * HTTP/1.0
202-0   -   0/0/140 .   1.65    28333   0   0.0 0.00    52.80   ::1 domain.com  OPTIONS * HTTP/1.0
203-0   -   0/0/359 .   3.15    28425   0   0.0 0.00    88.87   ::1 domain.com  OPTIONS * HTTP/1.0
204-0   -   0/0/353 .   4.16    28861   0   0.0 0.00    150.89  ::1 domain.com  OPTIONS * HTTP/1.0
205-0   -   0/0/382 .   0.18    28275   0   0.0 0.00    86.17   ::1 domain.com  OPTIONS * HTTP/1.0
206-0   -   0/0/242 .   1.19    28586   0   0.0 0.00    119.88  ::1 domain.com  OPTIONS * HTTP/1.0
207-0   -   0/0/260 .   1.06    28475   0   0.0 0.00    90.53   ::1 domain.com  OPTIONS * HTTP/1.0
208-0   -   0/0/381 .   4.92    28644   0   0.0 0.00    57.20   ::1 domain.com  OPTIONS * HTTP/1.0
209-0   -   0/0/172 .   0.81    28273   0   0.0 0.00    101.78  ::1 domain.com  OPTIONS * HTTP/1.0
210-0   -   0/0/277 .   1.76    28695   0   0.0 0.00    70.73   ::1 domain.com  OPTIONS * HTTP/1.0
211-0   -   0/0/776 .   6.57    20491   0   0.0 0.00    211.93  ::1 domain.com  OPTIONS * HTTP/1.0
linux
  • 1 个回答
  • 99 Views
Martin Hope
Zim3r
Asked: 2013-02-13 04:47:25 +0800 CST

“表单”身份验证已启用,但仍会看到“未经授权:由于凭据无效,访问被拒绝。”

  • 0

“表单”身份验证在 web.config 中启用,但我仍然看到:

401 - Unauthorized: Access is denied due to invalid credentials.

You do not have permission to view this directory or page using the credentials that you supplied.

我认为这是一个文件权限问题。我刚刚向 IIS 添加了一个新网站。有什么我想念的吗?

asp.net
  • 1 个回答
  • 3069 Views
Martin Hope
Zim3r
Asked: 2012-12-12 11:05:47 +0800 CST

apache 中没有虚拟主机的域的请求结束到默认虚拟主机

  • 0

如果我向 Apache 询问在 Apache 配置中没有虚拟主机设置的 domain.com,Apache 将显示默认的虚拟主机。我怎样才能防止这种情况发生或干脆断开连接?

apache-2.2
  • 3 个回答
  • 154 Views
Martin Hope
Zim3r
Asked: 2012-11-17 11:12:59 +0800 CST

Hyper-V下SCSI硬盘安装CentOS

  • 2

如何在 Hyper-V 下在 SCSI 硬盘驱动器上安装 Centos 6?我添加了一个 IDE 驱动器来启动,但 CentOS 在安装过程中无法识别 SCSI 驱动器。请问我该如何解决这个问题?

windows-server-2008
  • 2 个回答
  • 816 Views
Martin Hope
Zim3r
Asked: 2012-11-12 03:33:01 +0800 CST

RAW 格式的 Proxmox VE 逻辑卷?

  • 0

我在 Proxmox VE 中添加了一个卷组作为 KVM 虚拟机的存储。将为每个 VM 创建一个新的逻辑卷,但在 Proxmox VE 的定义存储下显示创建的逻辑卷列表我看到我的逻辑卷标记为 RAW 格式。这是 RAW 图像还是逻辑卷 (LVM)?

但我的主要问题是,这真的避免了通过主机系统上的文件系统层的开销吗?

virtualization
  • 1 个回答
  • 1178 Views
Martin Hope
Zim3r
Asked: 2012-11-05 02:12:19 +0800 CST

如何在 Proxmox VE 中编辑或创建角色?

  • 1

如何在 Proxmox VE 中创建角色或使用特定权限编辑它们?

virtualization
  • 1 个回答
  • 2014 Views
Martin Hope
Zim3r
Asked: 2012-10-23 01:42:37 +0800 CST

Varnish/Nginx 能否在用户访问后缓存和存储 PHP 页面?

  • 3

请假设有一个 PHP CMS 可以根据数据库中的 ID 检索内容。

因此,每次您访问该网站时,它都会与数据库交互并处理 PHP 请求。

Nginx 或 Varnish 可以在用户访问该页面后缓存和存储该页面吗?因此,下次如果有任何用户访问该页面,它将从缓存中加载。

php
  • 1 个回答
  • 226 Views
Martin Hope
Zim3r
Asked: 2012-10-22 08:24:08 +0800 CST

将 php 完全缓存为 html 的 Web 服务器或缓存代理?

  • 0

我服务器的负载和 mysql 使用率比平时高,最近我看到每个 HTTPd 和 mysqld 大约有 350 个进程。

是否有 Web 服务器或缓存代理将 PHP 缓存为 HTML?

web-server
  • 1 个回答
  • 388 Views
Martin Hope
Zim3r
Asked: 2012-10-10 22:32:15 +0800 CST

太多绑定查询(缓存)被拒绝,DNS 攻击?

  • 5

一旦 Bind 崩溃,我就崩溃了:tail -f /var/log/messages 我每秒都会看到大量日志。这是DNS攻击吗?或者有什么问题吗?

有时我会在日志中看到这样的域:dOmAin.com(上下)。如您所见,日志中只有一个域具有不同的 IP

Oct 10 02:21:26 mail named[20831]: client 74.125.189.18#38921: query (cache) 'ns1.domain2.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 192.221.144.171#38833: query (cache) 'domain.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 74.125.189.17#42428: query (cache) 'ns2.domain2.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 192.221.146.27#37899: query (cache) 'domain.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 193.203.82.66#39263: query (cache) 'domain.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 8.0.16.170#59723: query (cache) 'domain.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 80.169.197.66#32903: query (cache) 'dOmAin.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 134.58.60.1#47558: query (cache) 'domain.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 192.221.146.34#47387: query (cache) 'domain.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 8.0.16.8#59392: query (cache) 'domain.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 74.125.189.19#64395: query (cache) 'domain.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 217.72.163.3#42190: query (cache) 'domain.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 83.146.21.252#22020: query (cache) 'domain.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 192.221.146.116#57342: query (cache) 'domain.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 193.203.82.66#52020: query (cache) 'domain.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 8.0.16.72#64317: query (cache) 'domain.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 80.169.197.66#31989: query (cache) 'dOmAin.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 74.125.189.18#47436: query (cache) 'ns2.domain2.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 74.125.189.16#44005: query (cache) 'ns1.domain2.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 85.132.31.10#50379: query (cache) 'domain.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 94.241.128.3#60106: query (cache) 'domain.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 85.132.31.10#59118: query (cache) 'domain.com/A/IN' denied
Oct 10 02:21:26 mail named[20831]: client 212.95.135.78#27811: query (cache) 'domain.com/A/IN' denied

/etc/resolv.conf

; generated by /sbin/dhclient-script
nameserver 4.2.2.4
nameserver 8.8.4.4

绑定配置:

// generated by named-bootconf.pl

options {
        directory "/var/named";
        /*
         * If there is a firewall between you and nameservers you want
         * to talk to, you might need to uncomment the query-source
         * directive below.  Previous versions of BIND always asked
         * questions using port 53, but BIND 8.1 uses an unprivileged
         * port by default.
         */
        // query-source address * port 53;

        allow-transfer { none; };
        allow-recursion { localnets; };
        //listen-on-v6 { any; };
        notify no;
};

//
// a caching only nameserver config
//
controls {
        inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
        type hint;
        file "named.ca";
};

zone "localhost" IN {
        type master;
        file "localhost.zone";
        allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "named.local";
        allow-update { none; };
};
linux
  • 2 个回答
  • 46103 Views
Martin Hope
Zim3r
Asked: 2012-10-01 21:07:53 +0800 CST

/tmp 即使在调整大小后总是变满

  • 0

我有一个带有 4GB Ram 和 4GB /tmp 空间的 cPanel 服务器。我总是收到此错误:

这会导致性能下降吗?我可以删除所有内容吗?

Drive Critical: /tmp (/var/tmp) is 95% full

Drive Critical: /usr/tmpDSK (/tmp) is 95% full
linux
  • 1 个回答
  • 1318 Views
Martin Hope
Zim3r
Asked: 2012-09-18 09:23:06 +0800 CST

哪个缓存系统与 mpm_worker 和 mod_fcgid 一起工作?

  • 1

我计划基于 mpm_worker 和 mod_fcgid 为我的 Apache 服务器使用 APC,但我发现 APC 和 xCache 不适用于 mod_fcgid。所以你有什么建议?

apache-2.2
  • 1 个回答
  • 544 Views
Martin Hope
Zim3r
Asked: 2012-09-17 04:04:19 +0800 CST

KVM 原始图像是否支持预分配?

  • 1

我试图用这个命令创建一个原始图像:

qemu-img create -f raw -o size=200G,preallocation=metadata file.img

但似乎它的原始图像不支持预分配。如果是这样,为什么这张图表中有原始 + 预分配?

# qemu-img create -f raw -o size=200G,preallocation=full file.img
Unknown option 'preallocation'
Invalid options for file format 'raw'.
linux
  • 3 个回答
  • 7566 Views
Martin Hope
Zim3r
Asked: 2012-09-17 01:12:00 +0800 CST

我可以将已用分区的可用空间用作卷组吗?

  • 0

是否可以使用/作为卷组安装的分区的可用空间?

我的意思是在该可用空间上创建 VG,这会导致任何问题吗?

linux
  • 1 个回答
  • 54 Views
Martin Hope
Zim3r
Asked: 2012-09-17 00:28:29 +0800 CST

在 /home/ 中定位大文件(> 100 MB)以进行“清理”

  • 11

如何定位大文件(> 100 MB)以/home/进行“清理”?

这是 Centos 6.x。我尝试了一些命令,但它们没有用。

linux
  • 4 个回答
  • 25361 Views
Martin Hope
Zim3r
Asked: 2012-09-17 00:22:01 +0800 CST

如何挂载 qcow2 磁盘映像?

  • 1

我有一个使用 qcow2 磁盘映像的 QEMU 虚拟机。

如何在不启动虚拟机的情况下挂载其文件系统?

linux
  • 1 个回答
  • 6528 Views
Martin Hope
Zim3r
Asked: 2012-09-17 00:16:54 +0800 CST

更改文件的 selinux 属性?[复制]

  • 0
这个问题在这里已经有了答案:
9 年前关闭。

可能重复:
虚拟主机文档根目录中的权限被拒绝

由于禁止错误,Apache 无法处理我的文件,搜索结果可能是因为 selinux,如何更改特定文件的 selinux 策略?

这是 Centos 6.x

linux
  • 1 个回答
  • 166 Views
Martin Hope
Zim3r
Asked: 2012-09-17 00:02:24 +0800 CST

无法创建 LVM,原因是:未找到(或被过滤忽略)

  • 5

我打算将 LVM 用于 KVM,当我尝试创建 VG 时失败了,那么如何创建我的 VG 和 LV 呢?

谢谢

[root@server ~]# vgcreate virtual-machines /dev/sda
  Device /dev/sda not found (or ignored by filtering).
  Unable to add physical volume '/dev/sda' to volume group 'virtual-machines'.
[root@server ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             2.0T  929G  976G  49% /
tmpfs                 3.9G  124K  3.9G   1% /dev/shm
/dev/sda1             194M   57M  128M  31% /boot
[root@server ~]# pvscan
  No matching physical volumes found
linux
  • 4 个回答
  • 75180 Views
Martin Hope
Zim3r
Asked: 2012-09-16 05:56:42 +0800 CST

由于以下原因无法启动 mysql:pid 文件的管理器在不更新文件的情况下退出

  • 0

由于此错误,我无法启动 mysql:

 ERROR! MySQL manager or server PID file could not be found!
Starting MySQL.. ERROR! Manager of pid-file quit without updating file.

我该如何解决这个问题?

linux
  • 1 个回答
  • 3736 Views
Martin Hope
Zim3r
Asked: 2012-09-14 06:48:58 +0800 CST

KVM网速低

  • 0

我的 KVM 有网络问题。

服务器上只有一台虚拟机,端口速度为100兆每秒

但最大下载速率约为每秒 1 兆字节,预计为 10 兆字节。

我使用 virtio 并且驱动程序已安装并加载到内核中。

我尝试了其他 NIC 但没有改变,我在主机上使用桥接网络。

那么如何解决这种缓慢的性能呢?

linux
  • 1 个回答
  • 659 Views
Martin Hope
Zim3r
Asked: 2012-09-12 00:57:18 +0800 CST

在专用服务器上的两个 KVM VPS 之间共享 CPU

  • 0

如何在专用服务器上的两个 KVM VPS 之间共享 CPU?

假设我们在专用服务器上有 8 核 CPU

为了获得两个 VPS 的最大性能,我应该为每个 VPS 分配 8 个内核吗?或者只为每个虚拟机分配 4 个核心?

linux
  • 2 个回答
  • 2588 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