扫描二维码关注官方公众号
返回列表 发布新帖

[巴法络] synology/buffalo安装配置opkg软件包管理器实现软件源安装包

5375 0
发表于 2021-2-2 15:23:25 | 显示全部楼层 阅读模式

来吧兄弟,一起玩一起讨论!

您需要 登录 才可以下载或查看,没有账号?注册

×
buffalo LS-WVL的机器以前一直用的是ipkg包管理,目前optware-ng也已经停止维护,相关开发团队已经升级为Entware-ng。
所以ipkg的软件源已经有好多年不更新了,好多新软件都装不上。
  1. 查看linux版本信息使用如下命令:
  2. 1、# uname -a  
  3. 2、# cat /proc/version
复制代码
Entware-ng安装步骤:
  1. <ul><li>LS420的CPU为ARMv7 (查看CPU信息使用如下命令:#cat /proc/cpuinfo),使用</li></ul>[root@DownloadStation opt]# <b>wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | /bin/sh</b>
  2. <ul><li>LS-WVL的CPU为ARMv5,使用</li></ul><!--?xml version="1.0" encoding="UTF-8"?--><b>

  3. wget -O - http://bin.entware.net/armv5sf-k3.2/installer/generic.sh | /bin/sh</b>
  4. <ul><li>#Synology DS216play与LS420的CPU均为ARMv7架构,使用同样的命令进行安装。</li></ul>耐心等待安装完成
  5. <b>Info: Congratulations!
  6. Info: If there are no errors above then Entware was successfully initialized.
  7. Info: Add /opt/bin & /opt/sbin to $PATH variable
  8. Info: Add "/opt/etc/init.d/rc.unslung start" to startup script for Entware services to start
  9. Info: Found a Bug? Please report at https://github.com/Entware/Entware/issues</b>
复制代码
此时Entware可用,但存在环境变量预置问题,以及optware开机启动问题
运行以下两条命令(任意一个)即可临时启用环境变量:

  1. <ul><li>export PATH="/opt/bin:/opt/sbin:"${PATH}</li><li>PATH=/opt/sbin:/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin</li></ul>
复制代码
永久启用环境变量(开机Entware自启动):
  1. 修改文件 /etc/profile,在最后面添加代码 . /opt/etc/profile 。注意点后面有空格。
  2. [root@DownloadStation ~]# tail -n 5 /etc/profile
  3. # entware
  4. . /opt/etc/profile
复制代码
此时Entware下安装配置的服务在系统重启后依旧无法自启动,需要添加Entware自启动服务命令在自启动脚本中。
  1. 将如下脚本添加在/etc/rc.d/extensions.d/S90_Initialize.sh 自启动脚本中,即可实现Entware自启动服务
  2. /opt/etc/init.d/rc.unslung start
复制代码
至此Entware安装结束。
参考文档:https://blog.csdn.net/u012313945/article/details/105801846
群晖安装entware官方教程:https://github.com/Entware/Entware/wiki/Install-on-Synology-NAS
——————————————————————————————————————————————————————————————————————————
opkg 工具 (一个 ipkg 变种) 是一个用来从本地软件仓库或互联网软件仓库上下载并安装 OpenWrt 软件包的轻量型软件包管理器。

  1. opkg print-architecture 列出可安装软件包的结构
  2. Opkg list transmission*
复制代码
查看源内可用镜像
  1. http://bin.entware.net/armv7sf-k3.2/
复制代码


回复

懒得打字嘛,点击右侧快捷回复 【本站酷狼4T,750元】
您需要登录后才可以回帖 登录 | 注册

本版积分规则

投诉/建议联系

support@gebi1.cn

未经授权禁止转载,复制和建立镜像,
如有违反,追究法律责任
  • 关注公众号
  • 添加微信客服
Copyright © 2001-2024 隔壁网 版权所有 All Rights Reserved. 粤ICP备14056481号-1
关灯 在本版发帖
扫一扫添加微信客服
返回顶部
快速回复 返回顶部 返回列表