查看: 8230|回复: 8

杀猪刀的U-NAS Home Edition系列教程 十八

[复制链接]
发表于 2011-10-5 12:22:50 | 显示全部楼层 |阅读模式
本帖最后由 mjyu51 于 2011-10-6 11:21 编辑

十八、U-NAS建立Air Video ServeriPhone/iPad Streaming 视频
现在不少人都有iPAD了,如果能用U-NAS向iPAD提供视频,在iPAD上直接看U-NAS上下载/保存的视频,那就相当于有了一个巨大的视频资源库,想看上就看啥了。这个想法很诱人。本教程提供一种实现方法:
1.  首先先给U-NAS做个备份,以防出问题,然后把DNS修改成你附近能访问的DNS服务器(坛子上有如何修改的帖子)
2.  参考前面的教程,给U-NAS扩容,至少搞到4GB,否则装完就没空间了。
3.  在U-NAS上创建一个共享目录用于存放准备向iPAD提供的视频:
4.  扩容后,用一个脚本来安装需要的软件.首先下载这个脚本文件: install.rar (1.26 KB, 下载次数: 475)
回复

使用道具 举报

发表于 2014-10-8 19:42:51 | 显示全部楼层
多谢斑竹介绍
回复 支持 反对

使用道具 举报

发表于 2011-12-19 16:40:43 | 显示全部楼层
安裝不了...會同XMBC 有沖突 有方法解決嗎?


admin@U-NAS:~$ sudo ./install.sh
: not foundh: 1:
: not foundh: 7:
: not foundh: 8:
mkdir: 无法创建目录"/home/AirVideo\r\r": 文件已存在
: not foundh: 11:
”的软件包 何名称或者描述中匹配“git-core
”的软件包 何名称或者描述中匹配“git-core
将不会安装,升级或者删除任何软件包。
0 个软件包被升级,新安装 0 个,0 个将被删除, 同时 45 个将不升级。
需要获取 0 B 的存档。解包后将要使用 0 B。

: not foundh: 14:
”的软件包 何名称或者描述中匹配“libx264-dev
”的软件包 何名称或者描述中匹配“libx264-dev
将不会安装,升级或者删除任何软件包。
0 个软件包被升级,新安装 0 个,0 个将被删除, 同时 45 个将不升级。
需要获取 0 B 的存档。解包后将要使用 0 B。

fatal: destination path 'x264' already exists and is not an empty directory.
cd: 18: can't cd to x264
: not foundh: 19: ./configure
: not foundh: 20: make

checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
本软件以 GNU GPL 版权协议颁布

”heckinstall:无法识别的选项“--default

使用 --help 或 -h 来得到更多信息

: not foundh: 22:
--2011-12-18 15:43:22--  http://www.debian-multimedia.org/pool/main/d/debian-mul                                                                                                 timedia-keyring/debian-multimedia-keyring_2008.10.16_all.deb%0D
正在解析主机 www.debian-multimedia.org... 91.121.10.104
正在连接 www.debian-multimedia.org|91.121.10.104|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 404 Not Found
2011-12-18 15:43:24 错误 404:Not Found。

(--install)时出错:ltimedia-keyring_2008.10.16_all.deb
无法访问归档文件: 没有那个文件或目录
在处理时有错误发生:
debian-multimedia-keyring_2008.10.16_all.deb
rm: 无法删除"debian-multimedia-keyring_2008.10.16_all.deb\r": 没有那个文件或目录
: not foundh: 27:

deb http://debian.netcologne.de/debian-multimedia.org stable main
deb-src http://debian.netcologne.de/debian-multimedia.org stable main
” 知的命令“update
aptitude 0.6.3
用法: aptitude [-S 文件名] [-u|-i]
        aptitude [选项] <动作> ...
   动作 (如果未指定,aptitude 将进入交互模式):

install      - Install/upgrade packages.
remove       - Remove packages.
purge        - Remove packages and their configuration files.
hold         - Place packages on hold.
unhold       - Cancel a hold command for a package.
markauto     - Mark packages as having been automatically installed.
unmarkauto   - Mark packages as having been manually installed.
forbid-version - 禁止 aptitude 升级到某一特定版本的软件包。
update       - Download lists of new/upgradable packages.
safe-upgrade - Perform a safe upgrade.
full-upgrade - Perform an upgrade, possibly installing and removing packages.
build-dep    - Install the build-dependencies of packages.
forget-new   - Forget what packages are "new".
search       - Search for a package by name and/or expression.
show         - Display detailed information about a package.
clean        - Erase downloaded package files.
autoclean    - Erase old downloaded package files.
changelog    - View a package's changelog.
download     - Download the .deb file for a package.
reinstall    - Download and (possibly) reinstall a currently installed package.
为什么       - 显示需要另一软件包的手动安装的软件包,或者
                 为什么一个或多个软件包需要给定的软件包
why-not      - Show the manually installed packages that lead to a conflict
                 with the given package, or why one or more packages would
                 lead to a conflict with the given package if installed.

  选项:
-h             This help text.
--no-gui       Do not use the GTK GUI even if available.
-s             模拟动作,但是并不真正执行。
-d             仅仅下载软件包,不安装或者卸载任何东西。
-P             Always prompt for confirmation or actions.
-y             Assume that the answer to simple yes/no questions is 'yes'.
-F format      Specify a format for displaying search results; see the manual.
-O order       Specify how search results should be sorted; see the manual.
-w width       Specify the display width for formatting search results.
-f             积极地尝试修复损坏的软件包。
-V             显示就要安装的软件包版本。
-D             显示自动改变的软件包的依赖关系
-Z                 显示每个软件包的安装尺寸的变化。
-v             Display extra information. (may be supplied multiple times).
-t [release]   Set the release from which packages should be installed.
-q             In command-line mode, suppress the incremental progress.
                 indicators.
-o key=val     Directly set the configuration option named 'key'.
--with(out)-recommends Specify whether or not to treat recommends as.
                 strong dependencies.
-S fname       从文件名中读取aptitude的扩展状态信息。
-u             开始运行时下载新的软件包列表。
                   (terminal interface only) -i             开始运行时执行安装。
                   (terminal interface only)
                   这个 aptitude 没有超级牛力。
: not foundh: 32:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 未发现软件包 mpeg4ip-server
E: 未发现软件包 faac
: not foundh: 36:
--2011-12-18 15:43:26--  http://www.inmethod.com/air-video/download/ffmpeg-for-2                                                                                                 .2.5.tar.bz2%0D
正在解析主机 www.inmethod.com... 78.46.69.136
正在连接 www.inmethod.com|78.46.69.136|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 500 Internal Server Error
2011-12-18 15:43:26 错误 500:Internal Server Error。

tar (child): ffmpeg-for-2.2.5.tar.bz2\r:无法 open: 没有那个文件或目录
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
rm: 无法删除"ffmpeg-for-2.2.5.tar.bz2\r": 没有那个文件或目录
./install.sh: 81: Syntax error: end of file unexpected (expecting "then")
admin@U-NAS:~$ sudo nano /etc/home/admin/test.properties
admin@U-NAS:~$ sudo nano /etc/home/admin/test.properties
admin@U-NAS:~$ sudo test.properties
sudo: test.properties: command not found
回复 支持 反对

使用道具 举报

发表于 2011-12-22 22:59:13 | 显示全部楼层
记号以下。暂时硬盘不给力。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-12-20 11:55:49 | 显示全部楼层
这个不是和 XMBC冲突吧?好像 已经安装过,有重复的情况?另外问题主要室有些文件没有下载下来。 做个新系统 干净的 再装一遍看看是否还有问题。
回复 支持 反对

使用道具 举报

发表于 2012-3-13 15:58:34 | 显示全部楼层
師兄: 小的是新手,請問
找到前面创建的用于存放视频的文件夹目录:应该是/mnt/Volume_Group/Volume/folder这个结构 (去 /mnt下找,用ls命令)。找到后记录下来,然后替换掉/home/admin/test.properties中的“folder”那一行中的文件夹目录。(必须确保目录格式是对的)
應該怎樣運作呢? 可否詳細寫出來?
回复 支持 反对

使用道具 举报

发表于 2013-3-18 23:57:03 | 显示全部楼层
可以 给个详细一点的教程吗 谢谢
回复 支持 反对

使用道具 举报

发表于 2012-9-23 02:09:57 | 显示全部楼层
这个教程倒过来写好理解。
我的理解是首先在iPad等上面装Air Video等,然后再在NAS上开启这个服务。

不过貌似这个服务很难啊~

不知道如何给其他WIN系统的移动设备提供服务。

回复 支持 反对

使用道具 举报

发表于 2012-9-23 07:49:14 来自手机 | 显示全部楼层
学习了,谢谢!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|万由科技 ( 浙ICP备10004788号-13 )

GMT+8, 2024-5-5 13:58 , Processed in 0.069664 second(s), 32 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表