搭载版本升级服务器步骤:
1、从apache官网下载Tomcat版本 http://tomcat.apache.org/
根据系统选择32位或者63位下载


2、在安装目录中新建被下载文件夹 以download为例

3、配置虚拟目录
在tomcat 安装目录\conf\Catalina\localhost下建立任意文件名xml文件(缺失文件夹需要自己建立),docBase为创建的download地址
示例:download.xml

4、配置web.xml(tomcat的配置文件),添加修改如下配置

5、添加输出规范,示例:load.xml,配置到文件夹download下



6、重启tomcat 访问http://本机ip:8080/download,即可随意下载配置目录下的文件
7、将update.zip和upgrade文件放入download目录下
8、修改机顶盒params目录下iptvsetting.properties system.updateurl参数为:
http://本机ip:8080/download/upgrade
9、修改pc端download目录下upgrade文件中的zip_Url参数为:
http://本机ip:8080/download/update.zip
10、保证pc端和机顶盒为同一局域网(确保机顶盒params下factory_enable被删除)
11、重启机顶盒即可验证升级功能
网友评论