Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

HTTP/2

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
15 posts
  • Previous
  • 1
  • 2
baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Re: HTTP/2
  • Quote

Post by baijianpeng » Thu Feb 04, 2016 12:54 pm

lordcris wrote:For Centos 7
put in

/etc/yum.repos.d/nginx.repo

the following:

Code: Select all

name=nginx repo
baseurl=http://nginx.org/packages/mainline/centos/7/$basearch/
gpgcheck=0
enabled=1
that's it!
hi @lordcris, I checked my nginx.repo file, the conent is exactly what you mentioned. But my nginx version is 1.8.5, not 1.9.5+.

How to update NginX to 1.9.5+ and enable http/2 in VestaCP?

Thank you.
Top

lordcris
Posts: 6
Joined: Sat Nov 07, 2015 12:06 pm

Re: HTTP/2
  • Quote

Post by lordcris » Thu Feb 04, 2016 11:48 pm

baijianpeng wrote:
lordcris wrote:For Centos 7
put in

/etc/yum.repos.d/nginx.repo

the following:

Code: Select all

name=nginx repo
baseurl=http://nginx.org/packages/mainline/centos/7/$basearch/
gpgcheck=0
enabled=1
that's it!
hi @lordcris, I checked my nginx.repo file, the conent is exactly what you mentioned. But my nginx version is 1.8.5, not 1.9.5+.

How to update NginX to 1.9.5+ and enable http/2 in VestaCP?

Thank you.

dud you run

Code: Select all

yum update
?
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Re: HTTP/2
  • Quote

Post by baijianpeng » Fri Feb 05, 2016 12:50 am

lordcris wrote: dud you run

Code: Select all

yum update
?
Not yet. I am afraid to break something. Is it safe to run this command right now?

Thank you.
Top

lordcris
Posts: 6
Joined: Sat Nov 07, 2015 12:06 pm

Re: HTTP/2
  • Quote

Post by lordcris » Fri Feb 05, 2016 1:39 am

baijianpeng wrote:
lordcris wrote: dud you run

Code: Select all

yum update
?
Not yet. I am afraid to break something. Is it safe to run this command right now?

Thank you.

Code: Select all

yum update nginx 
should be pretty safe.
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Re: HTTP/2
  • Quote

Post by baijianpeng » Fri Feb 05, 2016 6:45 am

The result is:
[root@ijoomla ~]# yum update nginx
Loaded plugins: langpacks
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
base | 3.6 kB 00:00:00
epel | 4.3 kB 00:00:00
extras | 3.4 kB 00:00:00
http://nginx.org/packages/centos/7/x86_ ... repomd.xml: [Errno 14] curl#6 - "Could not resolve host: nginx.org; Name or service not known"
Trying other mirror.
remi-php55 | 2.9 kB 00:00:00
remi-safe | 2.9 kB 00:00:00
updates | 3.4 kB 00:00:00
vesta | 2.9 kB 00:00:00
(1/6): epel/x86_64/group_gz | 169 kB 00:00:00
(2/6): epel/x86_64/updateinfo | 480 kB 00:00:00
(3/6): updates/7/x86_64/primary_db | 2.3 MB 00:00:00
(4/6): remi-php55/primary_db | 184 kB 00:00:01
(5/6): remi-safe/primary_db | 352 kB 00:00:02
(6/6): epel/x86_64/primary_db | 3.8 MB 00:00:04
No packages marked for update
[root@ijoomla ~]#
It seems that my CentOS did not find any update package for NginX.
Top


Post Reply
  • Print view

15 posts
  • Previous
  • 1
  • 2

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password