Home  >  Q&A  >  body text

Where is the yum source of nginx mainline version?

The official website of nginx shows that the mainline version is 1.9.12, http://nginx.org/en/download.html
But it is like this in the official warehouse, http://nginx.org/packages/centos /7/x86_64/RPMS/
has a stable version 1.8.1, and there is also a 2.0.0-9. What does it mean? Could you please explain it.

过去多啦不再A梦过去多啦不再A梦2713 days ago576

reply all(2)I'll reply

  • 習慣沉默

    習慣沉默2017-05-16 17:19:55

    Add repo yourself! The steps are as follows
    vim /etc/yum.repos.d/nginx.repo
    Use vim command to open /etc/yum.repos.d/nginx.repo. If nginx.repo does not exist, it will go Create a file like this, open it and press the small i key to enter the editing mode, then copy and paste the following lines of code. When finished, press the esc key to exit, then enter: wq (save and exit)

    [nginx]
    name=nginx repo
    baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
    gpgcheck=0
    enabled=1
    After completion, we can use the yum command to install nginx, like this:

    yum install nginx

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-05-16 17:19:55

    There is a yum source for the mainline version, you can check it out here https://www.funnyang.com/ghost-blog-perf...
    Hope it helps.

    reply
    0
  • Cancelreply