资讯专栏INFORMATION COLUMN

Ubuntu14.04(从Nginx官方源)安装Nginx稳定版预编译包

OnlyLing / 2291人阅读

1, Download Key and add it

For Debian/Ubuntu, in order to authenticate the nginx repository signature and to eliminate warnings about missing PGP key during installation of the nginx package, it is necessary to add the key used to sign the nginx packages and repository to the apt program keyring.

Please download Key, and add it to the apt program keyring with the following command:

wget http://nginx.org/keys/nginx_signing.key
sudo apt-key add nginx_signing.key
2, Edit /etc/apt/sources.list

For Ubuntu replace codename with Ubuntu distribution codename, and append the following to the end of the /etc/apt/sources.list file:

deb http://nginx.org/packages/ubuntu/ trusty nginx
deb-src http://nginx.org/packages/ubuntu/ trusty nginx
3, Install it

For Debian/Ubuntu then run the following commands:

apt-get update
apt-get install nginx
4, OK, Check the version
nginx -v

nginx version: nginx/1.8.1

技术博客:点我点我

文章版权归作者所有,未经允许请勿转载,若此文章存在违规行为,您可以联系管理员删除。

转载请注明本文地址:https://www.ucloud.cn/yun/9235.html

相关文章

  • Ubuntu14.04Nginx官方安装Nginx稳定版预编译

    1, Download Key and add it For Debian/Ubuntu, in order to authenticate the nginx repository signature and to eliminate warnings about missing PGP key during installation of the nginx package, it is ne...

    A Loity 评论0 收藏0
  • Ubuntu14.04Nginx官方安装Nginx稳定版预编译

    1, Download Key and add it For Debian/Ubuntu, in order to authenticate the nginx repository signature and to eliminate warnings about missing PGP key during installation of the nginx package, it is ne...

    fredshare 评论0 收藏0
  • Ubuntu 17.04 x64 安装 Docker CE 初窥 Dockerfile 部署 Ngi

    摘要:容器运行时,会打印一条信息消息并退出。因此,更好地做法是将需要使用的用户加入用户组。涉及到了两条指令,和。执行命令指令是用来执行命令行命令的。 Docker 是个划时代的开源项目,它彻底释放了计算虚拟化的威力,极大提高了应用的运行效率,降低了云计算资源供应的成本!使用 Docker,可以让应用的部署、测试和分发都变得前所未有的高效和轻松! 无论是应用开发者、运维人员、还是其他信息技术从...

    fyber 评论0 收藏0
  • Ubuntu 17.04 x64 安装 Docker CE 初窥 Dockerfile 部署 Ngi

    摘要:容器运行时,会打印一条信息消息并退出。因此,更好地做法是将需要使用的用户加入用户组。涉及到了两条指令,和。执行命令指令是用来执行命令行命令的。 Docker 是个划时代的开源项目,它彻底释放了计算虚拟化的威力,极大提高了应用的运行效率,降低了云计算资源供应的成本!使用 Docker,可以让应用的部署、测试和分发都变得前所未有的高效和轻松! 无论是应用开发者、运维人员、还是其他信息技术从...

    seanHai 评论0 收藏0
  • 深入体验bash on windows,在windows上搭建原生的linux开发环境,酷!

    摘要:使用安装具体命令输入,很好掌握。安装和安装的时候一样,这里通过添加的第三方,实现方式安装最新版本,比源码编译安装方式在管理上还是要方便一点。 今年微软Build 2016大会最让开发人员兴奋的消息之一,就是在Windows上可以原生运行Linux bash,对开发人员来说,这是一个喜闻乐见的消息。 1 安装 你必须安装开发者预览版本,才能使用windows的linux subsyste...

    EsgynChina 评论0 收藏0

发表评论

0条评论

OnlyLing

|高级讲师

TA的文章

阅读更多
最新活动
阅读需要支付1元查看
<