EPG服务接口部署说明

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

风行在线技术有限公司EPG服务接口部署说明Ver.1.0编日制:期:谢博钒审日核:期:批日准:期:2015/11/13风行在线技术有限公司变更履历日期版本号修改说明修改人谢博钒核准人2015/11/131.0创建初稿1风行在线技术有限公司目录1.2.3.系统运行环境........................................................................3系统架构图..........................................................................3代码目录结构........................................................................34.EPG服务接口部署.....................................................................44.1.4.2.4.3.从git获取代码.................................................................4Tengine配置...................................................................4安装软件依赖和环境配置.........................................................54.3.1.安装coreseek3.2...........................................................5创建软链和相关目录.........................................................54.3.2.2风行在线技术有限公司1.系统运行环境配置项Software&VersionCentOS6.2(64位)Tengine2.0.3操作系统WebServer数据库Mysql5.5+后端程序PHP5.5,phpredis、LDAP扩展Redis2.8缓存/KV存储搜索引擎Coreseek3.22.系统架构图图1系统架构图3.代码目录结构目录说明jl.tv.funshion.comjm.tv.funshion.comjo.tv.funshion.comjs.tv.funshion.comjv.tv.funshion.comphplib直播接口目录媒体接口目录首页/定制项接口目录搜索/检索接口目录小视频接口目录公共lib库3风行在线技术有限公司4.EPG服务接口部署4.1.从git获取代码mkdir–p/usr/website/;cd/usr/website/;gitclone:nginx/usr/website/jupiter_php_api;4.2.Tengine配置server{listen80;server_namejm.tv.funshion.comjo.tv.funshion.comjs.tv.funshion.comjv.tv.funshion.comjl.tv.funshion.com;indexindex.phpindex.htmlindex.htm;set$root_path'/usr/website/jupiter_php_api/';root$root_path;try_files$uri$uri/@rewrite;location@rewrite{rewrite^/media/(.*)/v1$jm.tv.funshion.com/v1/index.php?$1last;rewrite^/video/(.*)/v1$jv.tv.funshion.com/v1/index.php?$1last;rewrite^/search/(.*)/v1$js.tv.funshion.com/v1/index.php?$1last;rewrite^/config/(.*)/v1$jo.tv.funshion.com/v1/index.php?$1last;rewrite^/live/(.*)/v1$jl.tv.funshion.com/v1/index.php?$1last;}location~\.php{fastcgi_pass127.0.0.1:9000;fastcgi_index/index.php;includefastcgi_params;fastcgi_split_path_info^(.+\.php)(/.+)$;fastcgi_paramPATH_INFO$fastcgi_path_info;fastcgi_paramPATH_TRANSLATED$document_root$fastcgi_path_info;4风行在线技术有限公司fastcgi_paramSCRIPT_FILENAME$document_root$fastcgi_script_name;}location~*^/(css|img|js|flv|swf|download)/(.+)${root$root_path;}}4.3.安装软件依赖和环境配置4.3.1.安装coreseek3.2wget=/usr/local/mmseg3make&&makeinstallcd..cdcsft-3.2.14shbuildconf.sh./configure--prefix=/usr/local/coreseek--without-unixodbc--with-mmseg--with-mmseg-includes=/usr/local/mmseg3/include/mmseg/--with-mmseg-libs=/usr/local/mmseg3/lib/--with-mysqlmake&&makeinstallcd..4.3.2.创建软链和相关目录ln-s/usr/website/jupiter_php_api/phplib/usr/website/jupiter_php_api/jl.tv.funshion.com/phplib;ln-s/usr/website/jupiter_php_api/phplib/usr/website/jupiter_php_api/jm.tv.funshion.com/phplib;ln-s/usr/website/jupiter_php_api/phplib/usr/website/jupiter_php_api/jo.tv.funshion.com/phplib;ln-s/usr/website/jupiter_php_api/phplib/usr/website/jupiter_php_api/js.tv.funshion.com/phplib;ln-s/usr/website/jupiter_php_api/phplib/usr/website/jupiter_php_api/jv.tv.funshion.com/phplib;ln-s/usr/website/jupiter_php_api/jl.tv.funshion.com/conf-online/usr/website/jupiter_php_api/jl.tv.funshion.com/conf;ln-s/usr/website/jupiter_php_api/jm.tv.funshion.com/conf-online/usr/website/jupiter_php_api/jm.tv.funshion.com/conf;ln-s/usr/website/jupiter_php_api/jo.tv.funshion.com/conf-online/usr/website/jupiter_php_api/jo.tv.funshion.com/conf;5风行在线技术有限公司ln-s/usr/website/jupiter_php_api/js.tv.funshion.com/conf-online/usr/website/jupiter_php_api/js.tv.funshion.com/conf;ln-s/usr/website/jupiter_php_api/jv.tv.funshion.com/conf-online/usr/website/jupiter_php_api/jv.tv.funshion.com/conf;6

1 / 7
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功