全部,
我安装了openresty的服务器很少,而且运行的版本是nginx version: openresty/1.9.7.2
如何将其升级到1.11.5.2。
我看过文档,但事情并不清楚。有人可以提供相同的详细步骤。
答案 0 :(得分:0)
这是一个很晚的答复,但是我刚刚从OpenResty 1.13.6.2升级到了1.15.8.2。我在Ubuntu 16.04.6 LTS上的AWS / EC2中运行OpenResty。我只是按照Ubuntu指南在OpenResty
进行安装我在备份实例上执行了此操作,以确保一切正常,然后将升级应用于我的Live实例。我所有的配置均完整无缺。
select team.name, player.name, count(*) goals_scored
from team, player, event
where player.idteam = team.idteam
and event.idplayer = player.idplayer
and event.type_event = 'GOAL'
group by team.name, player.name, team.idteam, player.idplayer
having not exists ( SELECT 'player with more goals for team'
FROM player p2, event e2
WHERE p2.idteam = team.idteam
AND e2.idplayer = p2.idplayer
AND e2.type_event = 'GOAL'
GROUP BY p2.idplayer
HAVING count(distinct e2.idevent) > count(distinct event.idevent))