본문 바로가기
정보기술/일반

ReadyNAS Add-on 수동으로 설치하는 방법 (How to install Add-on manually)

by fermi 2013. 10. 31.

참고: http://www.readynas.com/forum/viewtopic.php?f=36&t=57212



1) Do something like this:


cd /tmp/addons

mkdir couchpot

cd couchpot

wget DOWNLOADURLOFADDON


2) extract contents of add-on e.g.


tail -c `head -n 1 PRO-Transmission_1.73b01Light.bin | awk -Fsize= '{print $2}' | cut -d, -f1` PRO-Transmission_1.73b01Light.bin | tar -xv


3) Run the install.sh script


sh install.sh



EX) Subsonic 4.7.04 (4.7 final) 을 수동 설치


wget http://www.readynas.com/contributed/super-poussin/x86/Subsonic_4.7.04.bin


--2013-10-31 13:20:01--  http://www.readynas.com/contributed/super-poussin/x86/Subsonic_4.7.04.bin

Resolving www.readynas.com... 206.16.42.227

Connecting to www.readynas.com|206.16.42.227|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 33552384 (32M) [application/octet-stream]

Saving to: `Subsonic_4.7.04.bin'


100%[======================================>] 33,552,384  1.67M/s   in 27s     


2013-10-31 13:20:30 (1.16 MB/s) - `Subsonic_4.7.04.bin' saved [33552384/33552384]


tail -c `head -n 1 Subsonic_4.7.04.bin | awk -Fsize= '{print $2}' | cut -d, -f1` Subsonic_4.7.04.bin | tar -xv


install.sh

remove.sh

addons.conf

files.tgz


sh install.sh 


Get:1 http://www.readynas.com 4.2.24/ Release.gpg [490B]                       

Get:2 http://archive.debian.org etch Release.gpg [1033B]                       

Ign http://www.readynas.com 4.2.24/ Translation-ko       

Hit http://www.readynas.com 4.2.24/ Release

Ign http://archive.debian.org etch/non-free Translation-ko

Hit http://archive.debian.org etch Release   

Ign http://www.readynas.com 4.2.24/ Packages/DiffIndex

Hit http://www.readynas.com 4.2.24/ Packages

Ign http://archive.debian.org etch/non-free Packages/DiffIndex

Hit http://archive.debian.org etch/non-free Packages

Fetched 1523B in 2s (542B/s)

Reading package lists... Done

(Reading database ... 15463 files and directories currently installed.)

Preparing to replace lame 3.97-0.0 (using /tmp/lame_3.97-0.0_i386.deb) ...

Unpacking replacement lame ...

Setting up lame (3.97-0.0) ...

Reading package lists... Done

Building dependency tree       

Reading state information... Done

0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.

Reading package lists... Done

Building dependency tree       

Reading state information... Done

ffmpeg is already the newest version.

0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.

(Reading database ... 15463 files and directories currently installed.)

Preparing to replace lame 3.97-0.0 (using /tmp/lame_3.97-0.0_i386.deb) ...

Unpacking replacement lame ...

Setting up lame (3.97-0.0) ...

debconf: delaying package configuration, since apt-utils is not installed

cp: omitting directory `/tmp/subsonic/transcode'

mkdir: cannot create directory `/c/media/Podcast': File exists

mkdir: cannot create directory `/c/media/playlists': File exists

(Reading database ... 15463 files and directories currently installed.)

Preparing to replace lame 3.97-0.0 (using /tmp/lame_3.97-0.0_i386.deb) ...

Unpacking replacement lame ...

Setting up lame (3.97-0.0) ...

Started Subsonic [PID 19571, /c/webroot/subsonic/subsonic_sh.log]


이후 Subsonic 4.8 로 업데이트 하기 위하여 c/webroot/subsonic/subsonic.war 를 4.8로 wget 하여 overwright 하여 작동함을 확인하였다. 


Frontview 관련 UI 는 /etc/frontview/addons 에 존재함.


Uninstall script: /etc/frontview/addons/

ui: /etc/frontview/addons/ui/

bin: /etc/frontview/addons/bin/