我在 Asrock E3C226D2I 板上运行 Ubuntu 15.10 服务器。当我获得内核更新或运行 update-initramfs -u 时,我收到有关缺少固件的警告:
root@fileserver:~# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-4.2.0-27-generic
W: Possible missing firmware /lib/firmware/ast_dp501_fw.bin for module ast
Run Code Online (Sandbox Code Playgroud)
我找不到关于这个特定固件的很多信息,除了它可能适用于我的视频卡。由于我正在运行服务器,因此我并不真正关心图形(没有连接显示器)。
一切正常,所以我暂时忽略它,但有没有办法解决这个问题?
我试图在我的 ubuntu 15.10 上安装最新的 nginx 版本(1.99)。我想要一个 >= 1.95 的 nginx 版本,因为我喜欢支持 http 2。
我按照在互联网上找到的关于 ubuntu 14.04 的说明进行操作,但对于 ubuntu 15.10(http://www.liberiangeek.net/2014/10/install-latest-version-nginx-ubuntu-14-10)应该是一样的/ ):
下载 Nginx 存储库身份验证密钥:
cd /tmp/ && wget http://nginx.org/keys/nginx_signing.key
Run Code Online (Sandbox Code Playgroud)安装存储库密钥:
sudo apt-key add nginx_signing.key
Run Code Online (Sandbox Code Playgroud)为 Nginx 创建一个新的存储库文件
sudo nano /etc/apt/sources.list.d/nginx.list
Run Code Online (Sandbox Code Playgroud)然后将下面的行复制并粘贴到文件中并保存(“wily”是我的 15.10 ubuntu 版本的 Ubuntu 代号)
deb http://nginx.org/packages/mainline/ubuntu/ wily nginx
deb-src http://nginx.org/packages/mainline/ubuntu/ wily nginx
Run Code Online (Sandbox Code Playgroud)但是当我最终运行命令时:
apt-get install nginx
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
nginx : Depends: libc6 (>= 2.14) but 2.13-38+deb7u8 is to be installed
Depends: libssl1.0.0 (>= 1.0.2~beta3) but 1.0.1e-2+deb7u17 is …
Run Code Online (Sandbox Code Playgroud) nginx 不会在启动时启动,但手动启动正常。日志说的是
nginx: [emerg] host not found in upstream "{some hostname}" in /etc/nginx/conf.d/some_site.conf
nginx: configuration file /etc/nginx/nginx.conf test failed
Failed to start A high performance web server and a reverse proxy server.
nginx.service: Unit entered failed state.
nginx.service: Failed with result 'exit-code'.
Run Code Online (Sandbox Code Playgroud)
似乎在启动时 dns 还没有准备好,nginx 正在尝试查找我作为反向代理使用的主机名。