== 娱乐电视终端配置== 
=== 娱乐电视终端登陆账号=== 
     娱乐电视终端目前只能通过ftp , telnet 登陆，其账号分别是 mc/mc，root/jhyfiips
=== 娱乐电视终端布局配置信息=== 
布局配置通过读取配置文件，配置文件目录为 /home/ftpusers/mc/resource/playlist/playlist.xml,具体内容如下
<pre>
<?xml version="1.0" encoding="UTF-8"?>

<playlist id="866_20140409163909" name="媒体�.�-2pic-txt-bg" playtime="00:00:00-23:59:59" version="20140409163909" playmode="2">
  <screen id="521" name="媒体�.�-2pic-txt-bg" width="1280" height="720" background="black.jpg">
  <surface id="1" type="webpage" width="320" height="720" x="0" y="0" level="2" name="静态网页">
      <webpage id="749" url="http://192.168.10.165:3004/passenger_for_tv"/>
 </surface>
    <surface id="4" type="mediaplay" width="960" height="80" x="320" y="640" level="6">
      <program id="1547" type="text" playtime="">
        <text id="2040" filename="welcome.txt" timecount="5" md5="8f9148d05ef86e3e1a7ea85b9c033c1f" bgcolor="#C0C0C0" fgcolor="#FF0000" font
      </program>
    </surface>
    <surface id="5" type="webcast" width="960" height="640" x="320" y="0" level="3">
      <webcast id="1573" url="udp://225.0.0.1:2001"/>
    </surface>
  </screen>
</playlist>

</pre>
页面左边为网页，由pis系统提供，当pis主机更改了ip后，需要到配置文件中修改相应的ip  

可修改挂载： mount -o remount,rw /home/ftpusers/mc

开启娱乐视频后台：service luna-vss start

==Ntdeck-qt配置==
=== Ntdeck-qt存放信息=== 
Ntdeck-qt  在服务器上存放的路径为/opt/ntdeck-qt   ,其中目录中 `ntdeck-qt`为可执行文件。
运行ntdeck-qt命令如下:(或者执行脚本文件 /opt/ntdeck-qt .sh)
    export LD_LIBRARY_PATH=/opt/ntdeck-libs
    cd /opt/ntdeck-qt && ./ntdeck-qt   
=== Ntdeck-qt导航信息=== 
Ntdeck-qt 导航地址通过文件配置，具体文件路径 ** /etc/luna-train.conf**,其具体内容为：
    [Page]
    StationManualPage=http://127.0.0.1:81/current_route/show_for_qt
    StationBroadcastPage=http://127.0.0.1:81/voice_packs/index_for_qt
    StationTextPage=http://127.0.0.1:81/tickers/index_for_qt
    BroadcastRTTalkPage=http://127.0.0.1/call/index_for_qt
    BroadcastDriver1Page=http://192.168.11.10/login_without_account
    BroadcastDriver2Page=http://192.168.11.15/login_without_account
    SystemStatusPagehttp://127.0.0.1:81/device_states/index_for_qt

=== Ntdeck-qt监控存储相关说明=== 
 1.   /opt/ntdeck-qt/nvr.xml 中可配置监控存储盘符（例如： /dev/sda8）
 2.  在ntdeck-qt 监控视屏管理中，格式化该盘符，此时在/mnt/下会创建 一个挂载目录（例如： /mnt/sata1）
 3.   在开机的时候要自动挂载存储盘符到挂在目录（可通过修改/etc/fstab ），该在类型为recfs ,(监控程序才可以识别是监控存储盘)

    recfs 类型系统如果不存在，需要手动添加，Module文件路径： /opt/ntdeck-libs/recfs.ko
 1.  sudo cp /opt/ntdeck-libs/recfs.ko  /lib/modules/$(uname -r)/kernel/drivers/
 2. sudo echo 'mymodule' >> /etc/modules
 3. sudo depmod

=== Ntdeck-qt娱乐视频部署相关说明=== 
 <pre>  VSS:
(extract and cd into the source dir)
./configure
make
sudo make install
 </pre>      

<pre>  ntdeck-qt:
(extract and cd into the source dir)
qmake train.pro
make
sudo cp train /opt/ntdeck-qt/ntdeck-qt
 </pre>