11.Nas_1


새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


dsm6.2) Synology에서 리눅스 vi 에디터 보다 편한 Nano edit install 나노에디터 설치 성공

♨ 카랜더 일정 :
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문


    Synology dsm 6.2 Intel CPU 기반 시스템에 ipkg 설치 성공후

    nano edit  설치 성공 / 헤놀로지 vmware 

    https://openwiki.kr/tech/xpenology_ipkg_install

    참조 설치 했습니다


    ipkg는 서드파티 프로그램을 설치하기 위한 저장소이다.

    Synology Intel CPU 기반 시스템에 ipkg 설치하는 법 임.

    일단 root 계정으로 ssh 에 접속함. root 비밀번호는 admin 비밀번호와 동일

    sudo -i

    에서 작업

     cd /volume1/@tmp
     wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh
     chmod 755 syno-i686-bootstrap_1.2-7_i686.xsh
     sh syno-i686-bootstrap_1.2-7_i686.xsh
     vi /root/.profile

    여기까지 입력하면 편집창이 뜰거에요 그럼 영어 i 버튼을 누르셔서 편집모드로 전환한 후

    아래 두 부분앞에 다음과 같이 #에 내용을  참조 기존것에 추가 해주세용

    #PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
    #export PATH


    기존 상기 path 내용을 경로 :다음에 추가 합니다

    PATH=( 기존것):/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
    export PATH

    이렇게 고치셨으면 ESC 를 누른 후 : 버튼을 누른 다음 wq 를 입력하고 엔터를 누르셔서 저장하고 빠져나온다.

    그리고 재부팅을 위해 reboot 을 입력하고 엔터를 치신 뒤 재부팅이 완료되면(약 1분정도) 다시 root 로 ssh 에 접속함.

    이렇게 입력하면 아래와 같은 글이 나온다.

    reboot 하고

    ipkg -v

    reboot

    cd /volume1/@tmp
     wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh
     chmod 755 syno-i686-bootstrap_1.2-7_i686.xsh
     sh syno-i686-bootstrap_1.2-7_i686.xsh

     메세지 나오는 것  삭제 후

    ipkg -v

    버전 정보 나오지 않으면 

     경로 추가외 처음 부터  다시 아래와 같이 명령을  동일하게 진행

    cd /volume1/@tmp
     wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh
     chmod 755 syno-i686-bootstrap_1.2-7_i686.xsh
     sh syno-i686-bootstrap_1.2-7_i686.xsh
    ipkg -v

    ipkg version 0.99.163

    그리고 update 와 upgrade 를 통해 사용 가능한 상태를 만들어준다.

    ipkg update
    ipkg upgrade
    ipkg install nano
    nano
    실행 합니다 > 성공
    3232235521_1531318276.4156.png

    dsm 6.2에서 성공 했습니다


    에서  참조 하여  ipkg  실행 되게 하고

    ipkg -v

    까지 성공 해야 합니다

    ipkg install nano
    nano
    실행 합니다 > 성공

    나노 에디터 동영상 참조

    나노에디터 메뉴얼
    https://11q.kr/g5s/bbs/board.php?bo_table=s11&wr_id=4750

    ====================================

    ----  dsm 6.2에서 성공 했습니다

    저의 시스템에 설치 합니다

    login as: shimss 
    " rel="nofollow">shimss@192.168.0.11's password: 
    " rel="nofollow">shimss@Nas1_11qkr_1st:~$ sudo -i 
    Password: 
    " rel="nofollow">root@Nas1_11qkr_1st:~# ipkg -v 
    -ash: ipkg: command not found 
    " rel="nofollow">root@Nas1_11qkr_1st:~# cd /volume1/@tmp 
    " rel="nofollow">root@Nas1_11qkr_1st:/volume1/@tmp# wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh 
    --2018-07-11 22:43:50--  http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh 
    Resolving ipkg.nslu2-linux.org... 140.211.169.161 
    Connecting to ipkg.nslu2-linux.org|140.211.169.161|:80... connected. 
    HTTP request sent, awaiting response... 200 OK 
    Length: 249507 (244K) [text/plain] 
    Saving to: 'syno-i686-bootstrap_1.2-7_i686.xsh' 

    syno-i686-bootstrap 100%[===================>] 243.66K  377KB/s    in 0.6s 

    2018-07-11 22:43:52 (377 KB/s) - 'syno-i686-bootstrap_1.2-7_i686.xsh' saved [249507/249507] 

    " rel="nofollow">root@Nas1_11qkr_1st:/volume1/@tmp# chmod 755 syno-i686-bootstrap_1.2-7_i686.xsh 
    " rel="nofollow">root@Nas1_11qkr_1st:/volume1/@tmp#  sh syno-i686-bootstrap_1.2-7_i686.xsh 
    Optware Bootstrap for syno-i686. 
    Extracting archive... please wait 
    bootstrap/ 
    bootstrap/bootstrap.sh 
    bootstrap/ipkg-opt.ipk 
    bootstrap/ipkg.sh 
    1216+1 records in 
    1216+1 records out 
    249302 bytes (249 kB) copied, 0.0206591 s, 12.1 MB/s 
    bootstrap/optware-bootstrap.ipk 
    bootstrap/wget.ipk 
    Backup your configuration settings, then type: 
      rm -rf /volume1/@optware 
      rm -rf /usr/lib/ipkg 
    This will remove all existing optware packages. 

    You must *reboot* and then restart the bootstrap script. 
    " rel="nofollow">root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap#  rm -rf /volume1/@optware 
    " rel="nofollow">root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap#  rm -rf /usr/lib/ipkg 
    " rel="nofollow">root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap#  sh syno-i686-bootstrap_1.2-7_i686.xsh 
    sh: syno-i686-bootstrap_1.2-7_i686.xsh: No such file or directory 
    " rel="nofollow">root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap# wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh 
    --2018-07-11 22:45:03--  http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh 
    Resolving ipkg.nslu2-linux.org... 140.211.169.161 
    Connecting to ipkg.nslu2-linux.org|140.211.169.161|:80... connected. 
    HTTP request sent, awaiting response... 200 OK 
    Length: 249507 (244K) [text/plain] 
    Saving to: 'syno-i686-bootstrap_1.2-7_i686.xsh' 

    syno-i686-bootstrap 100%[===================>] 243.66K  380KB/s    in 0.6s 

    2018-07-11 22:45:05 (380 KB/s) - 'syno-i686-bootstrap_1.2-7_i686.xsh' saved [249507/249507] 

    " rel="nofollow">root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap# chmod 755 syno-i686-bootstrap_1.2-7_i686.xsh 
    " rel="nofollow">root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap# sh syno-i686-bootstrap_1.2-7_i686.xsh 
    Optware Bootstrap for syno-i686. 
    Extracting archive... please wait 
    bootstrap/ 
    bootstrap/bootstrap.sh 
    bootstrap/ipkg-opt.ipk 
    bootstrap/ipkg.sh 
    bootstrap/optware-bootstrap.ipk 
    bootstrap/wget.ipk 
    1216+1 records in 
    1216+1 records out 
    249302 bytes (249 kB) copied, 0.00295757 s, 84.3 MB/s 
    Creating temporary ipkg repository... 
    Installing optware-bootstrap package... 
    Unpacking optware-bootstrap.ipk...Done. 
    Configuring optware-bootstrap.ipk...Modifying /etc/rc.local 
    Done. 
    Installing ipkg... 
    Unpacking ipkg-opt.ipk...Done. 
    Configuring ipkg-opt.ipk...Done. 
    Removing temporary ipkg repository... 
    Installing wget... 
    Installing wget (1.12-2) to root... 
    Configuring wget 
    Successfully terminated. 
    Creating /opt/etc/ipkg/cross-feed.conf... 
    Setup complete. 
    " rel="nofollow">root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap# ipkg -v 
    ipkg version 0.99.163 
    " rel="nofollow">root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap# ipkg update 
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/Packages.gz 
    Inflating http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/Packages.gz 
    Updated list of available packages in /opt/lib/ipkg/lists/cross 
    Successfully terminated. 
    " rel="nofollow">root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap# ipkg upgrade 
    Nothing to be done 
    Successfully terminated. 
    " rel="nofollow">root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap# ipkg install nano 
    Installing nano (2.2.6-1) to root... 
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/nano_2.2.6-1_i686.ipk 
    Installing ncurses (5.7-3) to root... 
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/ncurses_5.7-3_i686.ipk 
    Configuring nano 
    Configuring ncurses 
    update-alternatives: Linking //opt/bin/clear to /opt/bin/ncurses-clear 
    Successfully terminated. 
    " rel="nofollow">root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap# nano 
    " rel="nofollow">root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap# cd / 
    " rel="nofollow">root@Nas1_11qkr_1st:/# 
    " rel="nofollow">root@Nas1_11qkr_1st:/# nano 
    " rel="nofollow">root@Nas1_11qkr_1st:/#

    ============  이하 참조 =====================

    만약 이렇게 나오지 않고 ipkg not found 라고 나오신다면 아래를 따라하면 된다.

    /etc/rc.optware stop
    rm -f /etc/rc.optware
    echo -e '#!/bin/sh\n' > /etc/rc.local (하나라도 빠트리지 않게 조심하라)
    reboot

    재부팅이 완료되면 다시 root로 ssh 접속한 뒤

    rm -rf /volume1/@optware

    를 입력하고 위의 방법에서 vi /root/.profile 을 수정하는것만 제외하고 따라하면 된다.

    편집

    같이 보기

    연결문서


    Synology에서 Nano edit install 나노에디터 설치

    지미 보니 (Jimmy Bonney) | 2013 년 6 월 15 일
    형광펜

    Nano 는 콘솔에서 사용할 수있는 작은 텍스트 편집기입니다. 그것은 vi 나 pico와 같은 편집자의 대안이지만 좀 더 사용자 친화적 인 기능으로 가득합니다. 특히 초보자에게 좋습니다. Nano는 거의 모든 리눅스 배포판에서 구할 수 있습니다. 이 기사에서는 Synology NAS에서 구문 강조 기능을 설치 및 구성하는 방법을 중점적으로 설명합니다.

    나노 에디터 설치

    나노를 설치하려면 설치가 ipkg필요합니다. 그렇지 않은 경우 이전 기사를 보거나 Synology 포럼 으로 직접 이동 하십시오 .

    To install it, there are a couple of steps…

    1. Within your SSH session, change to a temporary location (note that you will probably need to be logged in as root to do all this)

    cd /tmp

    2. Download the bootstrap script

    wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh

    3. Make the file executable

    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    profile_image

    shimss11q님의 댓글

    shimss11q 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일

    dsm6.2 나노 에디터 설치 성공  실행 내용
    login as: shimss
    shimss@192.168.0.11's password:
    shimss@Nas1_11qkr_1st:~$ sudo -i
    Password:
    root@Nas1_11qkr_1st:~# ipkg -v
    -ash: ipkg: command not found
    root@Nas1_11qkr_1st:~# cd /volume1/@tmp
    root@Nas1_11qkr_1st:/volume1/@tmp# wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh
    --2018-07-11 22:43:50--  http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh
    Resolving ipkg.nslu2-linux.org... 140.211.169.161
    Connecting to ipkg.nslu2-linux.org|140.211.169.161|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 249507 (244K) [text/plain]
    Saving to: 'syno-i686-bootstrap_1.2-7_i686.xsh'

    syno-i686-bootstrap 100%[===================>] 243.66K  377KB/s    in 0.6s

    2018-07-11 22:43:52 (377 KB/s) - 'syno-i686-bootstrap_1.2-7_i686.xsh' saved [249507/249507]

    root@Nas1_11qkr_1st:/volume1/@tmp# chmod 755 syno-i686-bootstrap_1.2-7_i686.xsh
    root@Nas1_11qkr_1st:/volume1/@tmp#  sh syno-i686-bootstrap_1.2-7_i686.xsh
    Optware Bootstrap for syno-i686.
    Extracting archive... please wait
    bootstrap/
    bootstrap/bootstrap.sh
    bootstrap/ipkg-opt.ipk
    bootstrap/ipkg.sh
    1216+1 records in
    1216+1 records out
    249302 bytes (249 kB) copied, 0.0206591 s, 12.1 MB/s
    bootstrap/optware-bootstrap.ipk
    bootstrap/wget.ipk
    Backup your configuration settings, then type:
      rm -rf /volume1/@optware
      rm -rf /usr/lib/ipkg
    This will remove all existing optware packages.

    You must *reboot* and then restart the bootstrap script.
    root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap#  rm -rf /volume1/@optware
    root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap#  rm -rf /usr/lib/ipkg
    root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap#  sh syno-i686-bootstrap_1.2-7_i686.xsh
    sh: syno-i686-bootstrap_1.2-7_i686.xsh: No such file or directory
    root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap# wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh
    --2018-07-11 22:45:03--  http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh
    Resolving ipkg.nslu2-linux.org... 140.211.169.161
    Connecting to ipkg.nslu2-linux.org|140.211.169.161|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 249507 (244K) [text/plain]
    Saving to: 'syno-i686-bootstrap_1.2-7_i686.xsh'

    syno-i686-bootstrap 100%[===================>] 243.66K  380KB/s    in 0.6s

    2018-07-11 22:45:05 (380 KB/s) - 'syno-i686-bootstrap_1.2-7_i686.xsh' saved [249507/249507]

    root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap# chmod 755 syno-i686-bootstrap_1.2-7_i686.xsh
    root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap# sh syno-i686-bootstrap_1.2-7_i686.xsh
    Optware Bootstrap for syno-i686.
    Extracting archive... please wait
    bootstrap/
    bootstrap/bootstrap.sh
    bootstrap/ipkg-opt.ipk
    bootstrap/ipkg.sh
    bootstrap/optware-bootstrap.ipk
    bootstrap/wget.ipk
    1216+1 records in
    1216+1 records out
    249302 bytes (249 kB) copied, 0.00295757 s, 84.3 MB/s
    Creating temporary ipkg repository...
    Installing optware-bootstrap package...
    Unpacking optware-bootstrap.ipk...Done.
    Configuring optware-bootstrap.ipk...Modifying /etc/rc.local
    Done.
    Installing ipkg...
    Unpacking ipkg-opt.ipk...Done.
    Configuring ipkg-opt.ipk...Done.
    Removing temporary ipkg repository...
    Installing wget...
    Installing wget (1.12-2) to root...
    Configuring wget
    Successfully terminated.
    Creating /opt/etc/ipkg/cross-feed.conf...
    Setup complete.
    root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap# ipkg -v
    ipkg version 0.99.163
    root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap# ipkg update
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/Packages.gz
    Inflating http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/Packages.gz
    Updated list of available packages in /opt/lib/ipkg/lists/cross
    Successfully terminated.
    root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap# ipkg upgrade
    Nothing to be done
    Successfully terminated.
    root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap# ipkg install nano
    Installing nano (2.2.6-1) to root...
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/nano_2.2.6-1_i686.ipk
    Installing ncurses (5.7-3) to root...
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/ncurses_5.7-3_i686.ipk
    Configuring nano
    Configuring ncurses
    update-alternatives: Linking //opt/bin/clear to /opt/bin/ncurses-clear
    Successfully terminated.
    root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap# nano
    root@Nas1_11qkr_1st:/volume1/@tmp/bootstrap# cd /
    root@Nas1_11qkr_1st:/#
    root@Nas1_11qkr_1st:/# nano
    root@Nas1_11qkr_1st:/#

    profile_image

    shimss11q님의 댓글

    shimss11q 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일

    dsm6.2) Synology에서 리눅스 vi 에디터 보다 편한  Nano edit install 나노에디터 설치 성공


    새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사




    Total 1,758 / 67 Page
    [ iframe 사용법 ] 댓글 1

    \r\niframe 사용법\r\n \r\n\r\n사용법은 간단합니다. 위치하고 싶은 부분에 다음과 같이 삽입합니다. ===============…

    [ 아미나 모바일 ASR버전 하단 사이트 메뉴 만들기 ]

    \r\n\r\n\r\n아미나 모바일 ASR버전 하단 사이트 메뉴 만들기 추가부분\r\n\r\n <tr>\r\n <td class…

    [ usb2 3.5외장하드와 타임백업후 먹통 ]

    ###\r\n타임백업 usb2에 연결시 먹통\r\n■ https://11q.kr는 정보를 찾아 공유 합니다.. https://11q.kr

    [ 시놀로지 dsm 6.02 ipcamera foscam 8918설정 및 qcam onvif지원 카메라2개 붙이… ] 댓글 3

    시놀로지 호환 ipcam/foscam fi8918w 붙이기dsm7.1 재설정카메라 반대로 뒤집어 고정시 화면 위아래 반전1)먼저 저장소 설정2)…

    [ shimss home index.php main 메인 인덱스 새단장 ] 댓글 1

    Photostation index.php 추가 내용\r\n\r\n\r\n###\r\n\r\n■ https://11q.kr는 정보를 찾아 공유 합…

    [ ip webcam으로 카메라서버 만들어 원격 ]

    ###\r\n스트리밍서버와 안드로이드폰(스마트폰) 연동하여 웹캠으로 원격감시\r\n안드로이드 개발 | 2012.07.10 01:32 목록 크게\…

    [ homepage 그림에 링크 넣기 ]

    ###■ https://11q.kr는 정보를 찾아 공유 합니다..■ https://11q.kr\r\n<ahref="https://11q.k…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-06-28 19:55:23

    오늘의 홈 현황


    • 현재 접속자♨ 544 명
    • 오늘 가입자※ 2 명
    • 어제 가입자※ 4 명
    • 주간 가입자※ 7 명
    • 오늘 방문자 1,841 명
    • 어제 방문자 2,126 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,400,996 명
    • 전체 게시물※ 8,661 개
    • 전체 댓글수※ 24,782 개
    • 전체 회원수 11,074 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑