硬件:京东云1代 512M ddr3内存 + 128G EMMC

本地时间:2023-10-15 16:04:38
内核版本:5.15.128
型号:JDCloud RE-SP-01B
架构:MediaTek MT7621 ver:1 eco:3
固件版本:X-WRT 23.06_b202309011202 Lunar

先刷机openwrt,然后更新

root@jdc1:~# opkg update
Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/x-wrt_core
Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/x-wrt_base
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/x-wrt_luci
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/x-wrt_packages
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/x-wrt_routing
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/x-wrt_telephony
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.sig
Signature check passed.

安装docker:

root@jdc1:~# opkg install docker
Installing docker (24.0.5-1) to root…
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/docker_24.0.5-1_mipsel_24kc.ipk
Configuring docker.

安装python3提示空间不足:

root@jdc1:~# opkg install python3
Installing python3 (3.11.6-1) to root…
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/python3_3.11.6-1_mipsel_24kc.ipk
Installing libpython3-3.11 (3.11.6-1) to root…
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/libpython3-3.11_3.11.6-1_mipsel_24kc.ipk
Installing python3-base (3.11.6-1) to root…
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/python3-base_3.11.6-1_mipsel_24kc.ipk
Configuring libpython3-3.11.
Collected errors:
pkg_write_filelist: Failed to open //usr/lib/opkg/info/python3-base.list: No space left on device.
opkg_install_pkg: Failed to extract data files for python3-base. Package debris may remain!
opkg_install_cmd: Cannot install package python3.
opkg_conf_write_status_files: Can't open status file //usr/lib/opkg/status: No space left on device.

修改opkg.conf:

dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists

option overlay_root /overlay

option overlay_root /mnt/mmcblk0/system/
option check_signature

修改/etc/profile中的2行路径:

export PATH=”/usr/sbin:/usr/bin:/sbin:/bin:/mnt/mmcblk0/system/usr/bin”
export LD_LIBRARY_PATH=/mnt/mmcblk0/system/usr/lib

更新路径:

source /etc/profile

开始安装phthon3:

opkg install python3

发表评论

电子邮件地址不会被公开。 必填项已用*标注