Android mobile phone without root to run the Dragon Panel (ZeroTermux) locally

Android mobile phone runs qinglong panel locally without root

Network disk download: https://www.123pan.com/s/EZ6KVv-J41Gd.html Extraction code: 4444

ZeroTermux: https://od.ixcmstudio.cn/repository/main/ZeroTermux/

qinglong Panel APP: https://gitee.com/wsfsp4/qinglong/releases

MT Manager (Cool): https://coolapk.com/apk/bin.mt.plus

1. Install the ZeroTermux application.

2. Execute the following command to determine whether the CPU architecture of your mobile phone is aarch64.

uname -m

3. Execute the following command to give termux access to external storage permissions, and the interface will pop up a pop-up window to confirm the read and write storage permissions

termux-setup-storage

4. Download the qinglong panel container recovery package V2.12.2, and put the downloaded qinglong panel recovery package in the xinhao/data path under the internal storage directory [/storage/emulated/0/] of the mobile phone

5. Import qinglong recovery package:
Swipe in the upper left corner -> Backup/Restore -> Restore -> Select a qinglong recovery package -> Add a name to the container -> Restore -> Wait for the recovery to complete

Azure Dragon Panel Container:
Swipe sideways in the upper left corner -> container switch -> select the container name just restored -> switch -> required

6. Start the qinglong panel and execute the command (re-enter every time you close the software):

./ql.sh

Open the browser, enter 127.0.0.1:5700, enter the panel initialization

upgrade blue dragon

cd /ql # Switch to the existing qinglong directory
git remote -v # View the corresponding warehouse
git checkout master # Create a local branch master
# The cloud overwrites the local warehouse forcibly. If there are project scripts in the qinglong panel, please do not use them and they will be cleared
git fetch --all & amp; & amp; git reset --hard origin/master & amp; & amp; git pull origin master
# If the error report contains HTTP/2, execute the code in the comment to switch the communication protocol, and then re-execute the previous line
# git config --global http.version HTTP/1.1

qinglong shortcut command updates and repairs missing files in the environment

ql update
ql check

Script location /data/data/com.termux/files/home/.alpine/ql/scripts/

Install qinglong panel directly under ZeroTermux

1. Change source

sed -i 's@^\(deb.*stable main\)$@#\1\
deb https://mirrors.tuna.tsinghua.edu.cn/termux/termux-packages-24 stable main@ ' $PREFIX/etc/apt/sources.list & amp; & amp; apt update & amp; & amp; apt upgrade

2. Installation environment

curl -LO https://raw.githubusercontents.com/Hax4us/TermuxAlpine/master/TermuxAlpine.sh
bash TermuxAlpine.sh
#or curl -LO https://github.com/jiankujidu/TermuxAlpine/raw/main/TermuxAlpine.sh
bash TermuxAlpine.sh

3. Start the alpine system

startalpine

4. Install qinglong under Alpine

set -x \
 & amp; & amp; echo -e "\
\
export QL_DIR=/ql\
\
export QL_BRANCH=develop\
\
export LANG=zh_CN.UTF-8\
\
export TERMUX_APK_RELEASE=F-DROID\
\
export SHELL=/bin/bash\
\
export PNPM_HOME=~/.local/share/pnpm\
\
export PATH=$PATH:~/.local/share/pnpm:~/.local/share/pnpm/global/5/node_modules\
" \
>> /etc/profile.d/ql_env.sh\
 & amp; & amp; source /etc/profile\
 & amp; & amp; echo -e "nameserver 119.29.29.29\
\
nameserver 8.8.8.8" > /etc/resolv.conf \
 & amp; & amp; sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories \
 & amp; & amp; apk update -f \
 & amp; & amp; apk upgrade \
 & amp; & amp; apk --no-cache add -f bash make nodejs npm \
coreutils moreutils git curl wget tzdata perl \
openssl nginx jq openssh python3 py3-pip \
 & amp; & amp; rm -rf /var/cache/apk/* \
 & amp; & amp; apk update \
 & amp; & amp; ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
 & amp; & amp; echo "Asia/Shanghai" > /etc/timezone\
 & & npm config set registry https://registry.npmmirror.com \
 & amp; & amp; npm install -g pnpm \
 & amp; & amp; pnpm add -g pm2 ts-node typescript tslib \
 & amp; & amp; mkdir -p $QL_DIR \
 & amp; & amp; git clone -b $QL_BRANCH https://github.com/whyour/qinglong.git $QL_DIR\
 & amp; & amp; cd $QL_DIR \
 & amp; & amp; cp -f .env.example .env \
 & amp; & amp; chmod 777 $QL_DIR/shell/*.sh \
 & amp; & amp; chmod 777 $QL_DIR/docker/*.sh \
 & amp; & amp; pnpm install --prod \
 & amp; & amp; mkdir -p $QL_DIR/static \
 & amp; & amp; git clone -b $QL_BRANCH https://github.com/whyour/qinglong-static.git $QL_DIR/static \
 & amp; & amp; ln -s /ql/docker/docker-entrypoint.sh /usr/bin/qinglong \
 & amp; & amp; qinglong

5. Start the qinglong panel

It will start automatically after the first installation, if the phone restarts or you want to start it again after exiting termux

start alpine

startalpine

Start qinglong panel

qinglong

6. If there is an error, re-execute the installation command, that is

pnpm install prod

Then execute all subsequent commands, or you can directly copy the following paragraph

pnpm install prod \
 & amp; & amp; mkdir -p $QL_DIR/static \
 & amp; & amp; git clone -b $QL_BRANCH https://github.com/whyour/qinglong-static.git $QL_DIR/static \
 & amp; & amp; ln -s /ql/docker/docker-entrypoint.sh /usr/bin/qinglong \
 & amp; & amp; qinglong

Other operations:

In the termux interface, please execute the following command to exit the alpine system

exit

Log in to the alpine system under the termux interface:

termux-alpine

Determine the current system:

ls -a

In the same local area network, you can log in directly from the computer to access the qinglong panel of the mobile phone, the IP of the mobile phone: 5700, such as: 192.168.2.8:5700

rely
1. Under NodeJs

crypto-js
pretty table
dotenv
jsdom
date-fns
tough-cookie
tslib
[email protected]
ts-md5
jsdom -g
jieba
fs
form-data
json5
global-agent
png-js
@types/node
require
typescript
js-base64
axios
the moment
node-jsencrypt
node-rsa
node-fetch
qs
ds
yml2213-utils

2. Under Python3

requests
canvas
ping3
jieba
PyExecJS
aiohttp
redis
pycryptodome

3.Under Linux

bizCode
bizMsg
lxml

Connect to computer

1. exit the alpine system

exit

2. Install openssh

pkg install openssh

3. Check the ip in termux on the machine

ifconfig

4. Check the account name in termux on the machine

whoami

5.? On-board termux setting password

passwd

6. The shh setting on the computer side is set to log in, but it should be noted that the sshd service opened by termux on the computer is 8022, not the usual 22, and the service is turned on

sshd

7.termux settings? Automatically open ssh

echo "sshd" >> ~/.bashrc