找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 27926|回复: 320

[N1盒子] 【完美】终于成功在N1安卓系统中运行 【Opkg + Nginx + MySQL + PHP + Aria2】 ...

 火... [复制链接]
发表于 2021-2-24 12:06 | 显示全部楼层 |阅读模式
本帖最后由 jinxin159 于 2021-3-25 11:07 编辑






在不影响安卓电视盒子正常使用的情况下实现  Opkg + Nginx + MySQL + PHP  网站运行  Aria2 下载  等等 Entware支持的功能

N1 如果是挂载U盘必须格式化为:ext4   分区表类型:MBR
有root权限的安卓应该都可以安装!

首先安装:U盘需要格式化为:ext4   分区表类型:MBR


adb shell
su

/system/bin/mount -o rw,remount /
mkdir /opt
mkdir /bin
ln -s /system/bin/sh /bin/sh



chown -R root:root /mnt/media_rw/8bd6dbf5-f9e6-8647-bd7e-e59e46d4d922

#mkdir /mnt/media_rw/8bd6dbf5-f9e6-8647-bd7e-e59e46d4d922/Android-opt




这里是挂载路径
mount -o bind /mnt/media_rw/8bd6dbf5-f9e6-8647-bd7e-e59e46d4d922/Android-opt /opt

busybox  wget -O - http://bin.entware.net/aarch64-k3.10/installer/alternative.sh | sh

export PATH
PATH=/system/bin:/system/xbin:/opt/bin:/opt/sbin/


opkg install aria2  attr  busybox  bzip2  ca-bundle  ca-certificates  coreutils  coreutils-whoami  curl  dropbear  entware-opt  entware-release  entware-upgrade  findutils  fuse-utils  grep  gzip  icu  icu-full-data  jsonfilter  libacl  libaio  libatomic  libattr  libbz2  libc  libcap  libcurl  libedit  libevent2  libexpat  libexslt  libfreetype  libfuse  libgcc  libgd  
opkg install libgd-full  libgmp  libgnutls  libiconv-full  libidn  libidn2  libintl-full  libjpeg-turbo  libjson-c  libltdl  liblua  liblzma  libmbedtls  libmcrypt  libncurses  libncursesw  libnetsnmp  libnettle  libnl  libnl-core  libnl-genl  libnl-nf  libnl-route  libopenldap  libopenssl  libpam  libpci  libpcre  libpcre2  libpng  libpopt  libpthread  libreadline  librt  

opkg install libsasl2  libsqlite3  libssh2  libssp  libstdcpp  libtasn1  libtiff  libtirpc  libubox  libunistring  libuuid  libwebp  libxml2  libxslt  libzip-gnutls  locales  mariadb-client  mariadb-client-base  mariadb-client-extra  mariadb-common  mariadb-server  mariadb-server-base  mariadb-server-extra  nginx-extras  ntpdate  oniguruma  opkg  p7zip  
opkg install perl  perlbase-autoloader  perlbase-base  perlbase-bytes  perlbase-class  perlbase-config  perlbase-cwd  perlbase-errno  perlbase-essential  perlbase-fcntl  perlbase-filehandle  perlbase-i18n  perlbase-integer  perlbase-io  perlbase-list  perlbase-posix  perlbase-scalar  perlbase-selectsaver  perlbase-socket  perlbase-symbol  
opkg install perlbase-tie  perlbase-xsloader  php7  php7-cgi  php7-cli  php7-fastcgi  php7-fpm  php7-mod-bcmath  php7-mod-calendar  php7-mod-ctype  php7-mod-curl  php7-mod-dom  php7-mod-exif  php7-mod-fileinfo  php7-mod-filter  php7-mod-ftp  php7-mod-gd  php7-mod-gettext  php7-mod-gmp  php7-mod-iconv  php7-mod-intl  
opkg install php7-mod-json  php7-mod-ldap  php7-mod-mbstring  php7-mod-mysqli  php7-mod-mysqlnd  php7-mod-opcache  php7-mod-openssl  php7-mod-pcntl  php7-mod-pdo  php7-mod-pdo-mysql  php7-mod-pdo-sqlite  php7-mod-phar  php7-mod-session  php7-mod-shmop  php7-mod-simplexml  php7-mod-snmp  php7-mod-soap  
opkg install php7-mod-sockets  php7-mod-sqlite3  php7-mod-sysvmsg  php7-mod-sysvsem  php7-mod-sysvshm  php7-mod-tokenizer  php7-mod-xml  php7-mod-xmlreader  php7-mod-xmlwriter  php7-mod-zip  php7-pecl-dio  php7-pecl-http  php7-pecl-libevent  php7-pecl-mcrypt  php7-pecl-propro  php7-pecl-raphf  php7-pecl-redis  rclone  
opkg install redis-cli  redis-server  redis-utils  resolveip  samba4-libs  samba4-server  sed  snmp-mibs  snmp-utils  tar  terminfo  unzip   wget  xz  xz-utils  zipcmp  zlib  zoneinfo-asia  zoneinfo-core  zoneinfo-europe

busybox sh -c "$(curl -kfsSl https://raw.githubusercontent.com/xzhih/ONMP/master/oneclick.sh)"

busybox sh /opt/onmp/onmp.sh







Entware  教程:https://github.com/Entware/Entware/wiki/Install-on-Android

安装  Nginx + MySQL + PHP :教程:https://github.com/xzhih/ONMP

Entware  有的应用程序都可以安装:http://bin.entware.net/aarch64-k3.10/

我的部分配置文件:
目前我安装了这些东西 :  opkg install aria2  attr  busybox  bzip2  ca-bundle  ca-certificates  coreutils  coreutils-whoami  curl  dropbear  entware-opt  entware-release  entware-upgrade  findutils  fuse-utils  grep  gzip  icu  icu-full-data  jsonfilter  libacl  libaio  libatomic  libattr  libbz2  libc  libcap  libcurl  libedit  libevent2  libexpat  libexslt  libfreetype  libfuse  libgcc  libgd  libgd-full  libgmp  libgnutls  libiconv-full  libidn  libidn2  libintl-full  libjpeg-turbo  libjson-c  libltdl  liblua  liblzma  libmbedtls  libmcrypt  libncurses  libncursesw  libnetsnmp  libnettle  libnl  libnl-core  libnl-genl  libnl-nf  libnl-route  libopenldap  libopenssl  libpam  libpci  libpcre  libpcre2  libpng  libpopt  libpthread  libreadline  librt  libsasl2  libsqlite3  libssh2  libssp  libstdcpp  libtasn1  libtiff  libtirpc  libubox  libunistring  libuuid  libwebp  libxml2  libxslt  libzip-gnutls  locales  mariadb-client  mariadb-client-base  mariadb-client-extra  mariadb-common  mariadb-server  mariadb-server-base  mariadb-server-extra  nginx-extras  ntpdate  oniguruma  opkg  p7zip  perl  perlbase-autoloader  perlbase-base  perlbase-bytes  perlbase-class  perlbase-config  perlbase-cwd  perlbase-errno  perlbase-essential  perlbase-fcntl  perlbase-filehandle  perlbase-i18n  perlbase-integer  perlbase-io  perlbase-list  perlbase-posix  perlbase-scalar  perlbase-selectsaver  perlbase-socket  perlbase-symbol  perlbase-tie  perlbase-xsloader  php7  php7-cgi  php7-cli  php7-fastcgi  php7-fpm  php7-mod-bcmath  php7-mod-calendar  php7-mod-ctype  php7-mod-curl  php7-mod-dom  php7-mod-exif  php7-mod-fileinfo  php7-mod-filter  php7-mod-ftp  php7-mod-gd  php7-mod-gettext  php7-mod-gmp  php7-mod-iconv  php7-mod-intl  php7-mod-json  php7-mod-ldap  php7-mod-mbstring  php7-mod-mysqli  php7-mod-mysqlnd  php7-mod-opcache  php7-mod-openssl  php7-mod-pcntl  php7-mod-pdo  php7-mod-pdo-mysql  php7-mod-pdo-sqlite  php7-mod-phar  php7-mod-session  php7-mod-shmop  php7-mod-simplexml  php7-mod-snmp  php7-mod-soap  php7-mod-sockets  php7-mod-sqlite3  php7-mod-sysvmsg  php7-mod-sysvsem  php7-mod-sysvshm  php7-mod-tokenizer  php7-mod-xml  php7-mod-xmlreader  php7-mod-xmlwriter  php7-mod-zip  php7-pecl-dio  php7-pecl-http  php7-pecl-libevent  php7-pecl-mcrypt  php7-pecl-propro  php7-pecl-raphf  php7-pecl-redis  rclone  redis-cli  redis-server  redis-utils  resolveip  samba4-libs  samba4-server  sed  snmp-mibs  snmp-utils  tar  terminfo  unzip  vsftpd-ext  wget  xz  xz-utils  zipcmp  zlib  zoneinfo-asia  zoneinfo-core  zoneinfo-europe


本帖子中包含更多资源

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

×
我的恩山、我的无线 The best wifi forum is right here.
发表于 2021-2-24 12:34 | 显示全部楼层
看看怎么样
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-2-24 12:37 | 显示全部楼层
看看怎么样
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-2-24 12:58 | 显示全部楼层
影响安卓电视盒子正常使用的情况下实现  Opkg + Nginx + MySQL + PHP  网站运行  Aria2 下载  等等 Entware支持的功能


有root权限的安卓应该都可以安装!

首先安装:
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-2-24 13:03 来自手机 | 显示全部楼层
什么意思?看看
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-2-24 13:10 来自手机 | 显示全部楼层
早就用上了!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-2-24 13:11 | 显示全部楼层
看看怎么样!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-2-24 13:12 | 显示全部楼层
这有什么用呢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-2-24 13:37 | 显示全部楼层
看电视换台卡不卡?同时有下载任务时

点评

不会卡!N1还是很强劲的!  详情 回复 发表于 2021-2-24 13:39
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2021-2-24 13:39 | 显示全部楼层
hehh2001 发表于 2021-2-24 13:37
看电视换台卡不卡?同时有下载任务时

不会卡!N1还是很强劲的!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-2-24 13:44 来自手机 | 显示全部楼层
好东西啊!谢谢!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-2-24 14:01 | 显示全部楼层
我的恩山、我的无线
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-2-24 14:03 来自手机 | 显示全部楼层
什么意思?看看
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-2-24 14:14 | 显示全部楼层
感谢分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-2-24 14:27 | 显示全部楼层
在不影响安卓电视盒子正常
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-26 01:29

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表