3 Answers
由于官方网站上还没有更新
http://tengine.taobao.org/download_cn.html
不过GITHUB上已经更新了,只好改一下更新文件
升级tengine 2.2.0
进入oneinstack目录
cd ~/oneinstack/
cd include
备份一下原始文件
cp upgrade_web.sh upgrade_web.bak
修改upgrade_web.sh文件
vim upgrade_web.sh
修改76行
[ ! -e "tengine-$NEW_Tengine_version.tar.gz" ] && wget --no-check-certificate -c https://github.com/alibaba/tengine/archive/tengine-$NEW_Tengine_version.tar.gz > /dev/null 2>&1
97行修改为
pushd tengine-tengine-$NEW_Tengine_version
然后就能用oneinstack根目录的upgrade.sh来升级了
http://tengine.taobao.org/download_cn.html
不过GITHUB上已经更新了,只好改一下更新文件
升级tengine 2.2.0
进入oneinstack目录
cd ~/oneinstack/
cd include
备份一下原始文件
cp upgrade_web.sh upgrade_web.bak
修改upgrade_web.sh文件
vim upgrade_web.sh
修改76行
[ ! -e "tengine-$NEW_Tengine_version.tar.gz" ] && wget --no-check-certificate -c https://github.com/alibaba/tengine/archive/tengine-$NEW_Tengine_version.tar.gz > /dev/null 2>&1
97行修改为
pushd tengine-tengine-$NEW_Tengine_version
然后就能用oneinstack根目录的upgrade.sh来升级了
Please login or Register to submit your answer