小编Dmi*_*sky的帖子

为什么我的 eth0 叫 eno16777736?

我看过http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/,它描述了一致/可预测设备命名的基本原理,然后是生成设备名称的规则

 * Two character prefixes based on the type of interface:
 *   en -- ethernet
 *   sl -- serial line IP (slip)
 *   wl -- wlan
 *   ww -- wwan
 *
 * Type of names:
 *   b<number>                             -- BCMA bus core number
 *   ccw<name>                             -- CCW bus group name
 *   o<index>                              -- on-board device index number
 *   s<slot>[f<function>][d<dev_port>]     -- hotplug slot index number
 *   x<MAC>                                -- MAC address
 *   [P<domain>]p<bus>s<slot>[f<function>][d<dev_port>]
 *                                         -- PCI geographical location
 * …
Run Code Online (Sandbox Code Playgroud)

networking linux udev

27
推荐指数
2
解决办法
2万
查看次数

Nginx 处理没有主机头的请求

我希望 Nginx 在444处理没有标头的请求时host

我已阅读http://nginx.org/en/docs/http/request_processing.htmlNginx default host when not Defined,其中写着:

"If its value does not match any server name, or the request does not contain
this header field at all, then nginx will route the request to the default server 
for this port."
Run Code Online (Sandbox Code Playgroud)

我已经配置了

server {
  listen 80 default_server;

  # Since version 0.8.48, this is the default setting for the server name, 
  # so the server_name "" can be omitted.
  # server_name ""; …
Run Code Online (Sandbox Code Playgroud)

nginx

6
推荐指数
1
解决办法
5400
查看次数

在Ubuntu上启动uWSGI时,opendir():没有这样的文件或目录[uwsgi.c第471行]

我正在尝试在 Ubuntu 12.04 上启动 uWSGI。

$ sudo service uwsgi start或 时# uwsgi --ini /usr/share/uwsgi/conf/default.ini --ini /etc/uwsgi/apps-enabled/file.ini,我收到以下错误:

opendir(): No such file or directory [uwsgi.c line 471]

第一个调用将此错误记录到/var/log/uwsgi,第二个调用将此错误输出到stdout

怎么了?

ubuntu uwsgi

3
推荐指数
1
解决办法
1万
查看次数

标签 统计

linux ×1

networking ×1

nginx ×1

ubuntu ×1

udev ×1

uwsgi ×1