EdgeRouter - EdgeOS에 다른 데비안 패키지 추가하기 ================================================== download at 2017-10-21T13:59:58Z `origin `_ Overview .. raw:: html
-------------- .. raw:: html
EdgeOS는 데비안 계열 리눅스를 바탕으로 제작하였기 때문에 다른 데비안 패키지를 EdgeOS에 추가 할 수 있습니다. 예를 들어 아래의 예제는 US 리포지토리를 추가했지만 \ `이 곳 `__ 에 있는 다른 리포지토리도 추가 가능합니다. .. raw:: html
크기, 또는 적합성 제한이 있다고 하더라도, 대부분의 작은 유틸리티 패키지는 설치가 가능합니다. 예를 들어, 사운드, 비디오 등의 커널 기능을 필요로 하는 패키지는 설치가 제한됩니다. 게다가 데비안 시스템이라고 하여도 꼭 "apt-get update"나 "apt-get dist-upgrade" 명령어를 사용해야 한다는 것을 의미하지는 않습니다. 일부 데비안 패키지는 EdgeOS에 맞도록 수정되었기 때문에 일반 "upgrade" 명령어는 올바르게 수행하지 않을 수 있습니다. 유명한 패키지: \ *screen*, \ *iftop*, \ *iptraf*, \ *mtr-tiny*, \ *procinfo*. .. raw:: html
.. raw:: html
Steps .. raw:: html
-------------- .. raw:: html
#. 데비안 리포지토리를 추가합니다. **Note: 1.6 이전의 릴리즈는 리포지토리 사용이 제한됩니다.** :: configure set system package repository wheezy components 'main contrib non-free' set system package repository wheezy distribution wheezy  set system package repository wheezy url http://http.us.debian.org/debian commit save exit #. 로컬 캐시를 업데이트합니다. :: admin@ubnt:~$ sudo apt-get update Hit http://http.us.debian.org wheezy Release.gpg Hit http://http.us.debian.org wheezy Release Hit http://http.us.debian.org wheezy/main mips Packages Hit http://http.us.debian.org wheezy/contrib mips Packages Hit http://http.us.debian.org wheezy/non-free mips Packages Hit http://http.us.debian.org wheezy/contrib Translation-en Hit http://http.us.debian.org wheezy/main Translation-en Hit http://http.us.debian.org wheezy/non-free Translation-en Reading package lists... Done #. 테스트할 패키지를 검색합니다. \ *mtr* 유틸리티를 설치하고자 하는 경우, 데비안 리포지로티레서 검색하고 설치합니다: :: admin@ubnt:~$ apt-cache search mtr traceroute mtr-tiny - Full screen ncurses traceroute tool mtr - Full screen ncurses and X11 traceroute tool #. 패키지를 설치합니다. :: admin@ubnt:~$ sudo apt-get install mtr-tiny Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: mtr-tiny 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded. Need to get 42.8 kB of archives. After this operation, 135 kB of additional disk space will be used. Get:1 http://ftp.us.debian.org/debian/ wheezy/main mtr-tiny mips 0.75-2 [42.8 kB] Fetched 42.8 kB in 1s (42.8 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously deselected package mtr-tiny. (Reading database ... 24749 files and directories currently installed.) Unpacking mtr-tiny (from .../mtr-tiny_0.75-2_mips.deb) ... Setting up mtr-tiny (0.75-2) ... #. 새 패키지를 실행해봅니다. :: admin@ubnt:~$ mtr --report -n het.net HOST: ubnt Loss% Snt Last Avg Best Wrst StDev 1. 204.11.231.177 0.0% 10 0.5 0.6 0.5 0.8 0.1 2. 10.5.44.1 0.0% 10 2.8 35.1 2.4 152.4 60.9 3. 204.11.230.41 0.0% 10 11.4 7.3 3.4 11.4 2.3 4. 204.11.230.145 0.0% 10 13.4 8.9 4.3 13.4 2.9 5. 63.146.113.82 0.0% 10 11.9 11.1 4.9 18.6 4.3 6. 205.171.244.1 0.0% 10 14.7 12.0 5.2 41.2 10.6 7. ??? 100.0 10 0.0 0.0 0.0 0.0 0.0 8. 67.14.12.146 0.0% 10 10.5 10.9 6.6 14.7 2.9 9. 205.171.234.6 0.0% 10 15.8 11.4 7.3 15.9 3.1 10. 66.198.127.93 0.0% 10 47.5 15.5 5.9 47.5 11.7 11. 66.198.127.6 0.0% 10 173.0 169.7 167.2 173.1 2.3 12. 216.6.99.1 0.0% 10 169.6 178.7 169.6 197.4 9.1 13. 216.6.99.14 0.0% 10 176.8 176.1 165.8 182.2 5.7 14. 80.231.131.14 0.0% 10 169.0 175.4 168.1 189.0 6.4 15. 195.219.194.5 0.0% 10 172.7 176.1 170.7 183.6 4.3 16. 195.219.194.82 0.0% 10 187.0 180.3 168.2 206.2 10.8 17. 217.170.10.50 10.0% 10 182.1 177.4 171.5 187.1 5.0 18. 217.170.18.254 10.0% 10 217.9 209.6 198.0 218.0 7.1 19. 85.159.112.12 10.0% 10 209.7 204.9 191.3 223.7 10.0 .. raw:: html
 참고사항 .. raw:: html
-------------- .. raw:: html
* - BusyBox를 사용하는 패키지가 존재하기 때문에 BusyBox를 사용하는 패키지가 정상 동작하지 않을 수 있습니다. * - 업그레이드 중에서 패키지가 사라지면 다음을 참고하세요. `LINK `__.