Bernie Yu » ipkg http://bernieyu.com 复刻生活 Tue, 17 May 2016 09:03:15 +0000 zh-CN hourly 1 https://wordpress.org/?v=4.2.38 黑群晖上安装 ipkg http://bernieyu.com/2015/04/%e9%bb%91%e7%be%a4%e6%99%96%e4%b8%8a%e5%ae%89%e8%a3%85-ipkg/ http://bernieyu.com/2015/04/%e9%bb%91%e7%be%a4%e6%99%96%e4%b8%8a%e5%ae%89%e8%a3%85-ipkg/#comments Fri, 03 Apr 2015 05:53:37 +0000 http://bernieyu.com/?p=37   >>阅读全文<<]]> Ubuntu 有apt-get,CentOS有yum,黑群晖想安装软件包,除了官方的套件中心,还有ipkg,而且软件更多,更自由。

1. 以root用户SSH到Synology,执行:

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

2. 重启后再次ssh进入,/目录下多了opt目录

 

3. 修改/root/.profile, 将/opt/bin添加到PATH:

PATH=/opt/bin:/sbin:/bin:......

 

4. 更新ipkg的源,以后就可以安装想要的软件了

ipkg update
ipkg install xxxx

 

参考来源:

http://www.u-share.cn/forum.php?mod=viewthread&tid=6082

]]>
http://bernieyu.com/2015/04/%e9%bb%91%e7%be%a4%e6%99%96%e4%b8%8a%e5%ae%89%e8%a3%85-ipkg/feed/ 0