{"id":839,"date":"2019-12-28T21:51:41","date_gmt":"2019-12-28T12:51:41","guid":{"rendered":"http:\/\/blog.marubaram.wo.tc\/?p=839"},"modified":"2019-12-30T09:16:58","modified_gmt":"2019-12-30T00:16:58","slug":"synology-entware-%ec%84%a4%ec%b9%98","status":"publish","type":"post","link":"https:\/\/blog.marubaram.wo.tc\/?p=839","title":{"rendered":"Synology Entware \uc124\uce58"},"content":{"rendered":"\n<p>python\uc5d0\uc11c pyCurl \ubaa8\ub4c8 \uc744 \uc0ac\uc6a9\ud558\uae30 \uc704\ud574 \uc124\uce58\ud558\ub358 \uc911 dependency \uc624\ub958\uac00 \ubc1c\uc0dd\ud574\uc11c \uba87 \uac1c\uc758 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc124\uce58\ud574\uc57c\ud558\ub294 \ub370, \uc774\ub97c \uc704\ud574\uc11c Entware \ub97c \uc124\uce58\ud558\uae30\ub85c \ud588\ub2e4.<\/p>\n\n\n\n<p>\ucc38\uace0\ud55c \ube14\ub85c\uadf8\ub294 https:\/\/keestalkstech.com\/2018\/03\/install-nano-with-entware-on-synology-nas-dsm6\/ \ub97c \ucc38\uace0\ud558\uc600\ub2e4. \uac70\uc758 \ube14\ub85c\uadf8 \uadf8\ub300\ub85c \ub530\ub77c \ubcf5\ubd99\ud558\uace0 \ud558\uba74 \uc798 \ub418\ub294 \uac83 \uac19\ub2e4.<\/p>\n\n\n\n<p>\uba3c\uc800, Entware \uc124\uce58 \ub514\ub809\ud1a0\ub9ac\ub97c \uc138\ud305\ud55c\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># create a home for Entware\nmkdir -p \/volume1\/@Entware\/opt\n# go on as root\nsudo -i\n# remove a previous install\nrm -rf \/opt\n# link the folders\nln -sf \/volume1\/@Entware\/opt \/opt\necho \"Done!\"<\/code><\/pre>\n\n\n\n<p>\ub9de\ub294 \uc544\ud0a4\ud14d\uccd0\uc5d0 \ub9de\uac8c \uc124\uce58\ud558\ub294 \uc2a4\ud06c\ub9bd\ud2b8\ub97c \ub2e4\uc6b4\ub85c\ub4dc \ud55c\ub2e4. \ub098\ub294 xpenology\ub77c x64\ub97c \ub2e4\uc6b4\ub85c\ub4dc \ud588\ub2e4.<\/p>\n\n\n\n<ul><li>armv5: <code>wget -O - http:\/\/bin.entware.net\/armv5sf-k3.2\/installer\/generic.sh | \/bin\/sh <\/code><\/li><li>armv7: <code>wget -O - http:\/\/bin.entware.net\/armv7sf-k3.2\/installer\/generic.sh | \/bin\/sh <\/code><\/li><li>armv8: <code>wget -O - http:\/\/bin.entware.net\/aarch64-k3.10\/installer\/generic.sh | \/bin\/sh <\/code><\/li><li>x64: <code>wget -O - http:\/\/bin.entware.net\/x64-k3.2\/installer\/generic.sh | \/bin\/sh <\/code><\/li><\/ul>\n\n\n\n<p>\uc124\uce58 \uc2a4\ud06c\ub9bd\ud2b8 \uc2e4\ud589\ud558\ub294 \uc544\ub798 \ucf54\ub4dc\ub97c \ubc14\ub85c \ubcf5\ubd99\ud55c\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># leave root\nexit;\n# remove previous file\nrm entware-startup.sh 2> \/dev\/null\n# write the startup file\nprintf \"#!\" >> entware-startup.sh\necho \"\/bin\/sh\" >> entware-startup.sh\necho \"\" >> entware-startup.sh\necho \"case $1 in\" >> entware-startup.sh\necho \"    start)\" >> entware-startup.sh\necho \"    mkdir -p \/opt\" >> entware-startup.sh\necho \"    mount -o bind \/volume1\/@Entware\/opt \/opt\" >> entware-startup.sh\necho \"    \/opt\/etc\/init.d\/rc.unslung start\" >> entware-startup.sh\necho \"    ;;\" >> entware-startup.sh\necho \"    stop)\" >> entware-startup.sh\necho \"    ;;\" >> entware-startup.sh\necho \"esac\" >> entware-startup.sh\n# copy the startup file\nsudo mv entware-startup.sh \/usr\/local\/etc\/rc.d\/entware-startup.sh\necho \"Done!\"<\/code><\/pre>\n\n\n\n<p>\uc124\uce58\ud6c4\uc5d4 profile\uc5d0 entware \ub4f1\ub85d\ud558\uace0 \uc7ac\ubd80\ud305. \ucc38\uace0\ub85c xpenology \ub294 reboot\ud574\ub3c4 \uc7ac\ubd80\ud305\uc774 \uc548\ub418\ubbc0\ub85c \ubb3c\ub9ac\uc801\uc73c\ub85c \uc7ac\ubd80\ud305\ud574\uc918\uc57c\ud55c\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo -i\necho \"\" >> \/etc\/profile;\necho \". \/opt\/etc\/profile\" >> \/etc\/profile\nreboot<\/code><\/pre>\n\n\n\n<p>\uc774\ud6c4\uc5d0 \ud328\ud0a4\uc9c0 \uc124\uce58\ub294 \uc544\ub798\uc640 \uac19\uc774 \ud55c\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo opkg install nano<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>python\uc5d0\uc11c pyCurl \ubaa8\ub4c8 \uc744 \uc0ac\uc6a9\ud558\uae30 \uc704\ud574 \uc124\uce58\ud558\ub358 \uc911 dependency \uc624\ub958\uac00 \ubc1c\uc0dd\ud574\uc11c \uba87 \uac1c\uc758 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc124\uce58\ud574\uc57c\ud558\ub294 \ub370, \uc774\ub97c \uc704\ud574\uc11c Entware \ub97c \uc124\uce58\ud558\uae30\ub85c \ud588\ub2e4. \ucc38\uace0\ud55c \ube14\ub85c\uadf8\ub294 https:\/\/keestalkstech.com\/2018\/03\/install-nano-with-entware-on-synology-nas-dsm6\/ \ub97c \ucc38\uace0\ud558\uc600\ub2e4. \uac70\uc758 \ube14\ub85c\uadf8 \uadf8\ub300\ub85c \ub530\ub77c \ubcf5\ubd99\ud558\uace0 \ud558\uba74 \uc798 \ub418\ub294 \uac83 \uac19\ub2e4. \uba3c\uc800, Entware \uc124\uce58 \ub514\ub809\ud1a0\ub9ac\ub97c \uc138\ud305\ud55c\ub2e4. \ub9de\ub294 \uc544\ud0a4\ud14d\uccd0\uc5d0 \ub9de\uac8c \uc124\uce58\ud558\ub294 \uc2a4\ud06c\ub9bd\ud2b8\ub97c \ub2e4\uc6b4\ub85c\ub4dc \ud55c\ub2e4. \ub098\ub294 xpenology\ub77c x64\ub97c \ub2e4\uc6b4\ub85c\ub4dc \ud588\ub2e4. armv5: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[341],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.marubaram.wo.tc\/index.php?rest_route=\/wp\/v2\/posts\/839"}],"collection":[{"href":"https:\/\/blog.marubaram.wo.tc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.marubaram.wo.tc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.marubaram.wo.tc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.marubaram.wo.tc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=839"}],"version-history":[{"count":3,"href":"https:\/\/blog.marubaram.wo.tc\/index.php?rest_route=\/wp\/v2\/posts\/839\/revisions"}],"predecessor-version":[{"id":842,"href":"https:\/\/blog.marubaram.wo.tc\/index.php?rest_route=\/wp\/v2\/posts\/839\/revisions\/842"}],"wp:attachment":[{"href":"https:\/\/blog.marubaram.wo.tc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=839"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.marubaram.wo.tc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=839"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.marubaram.wo.tc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}