23.08.03-update
parent
d5f2a49f19
commit
0e6b5f67fc
14
README.md
14
README.md
|
@ -10,9 +10,21 @@ curl -sSO https://git.xinac.net/github/btpanel-v7.7.0/raw/branch/main/install/in
|
|||
跳过登录框,以及破解插件等请自行搜索
|
||||
|
||||
```bash
|
||||
#取消强制登录
|
||||
# 取消强制登录
|
||||
mv /www/server/panel/data/bind.pl /www/server/panel/data/bind.pl_bak
|
||||
bt restart
|
||||
|
||||
# 删除日志收集
|
||||
sed -e '/public.HttpPost/s/^/#/' \
|
||||
-e 's|^logs_analysis|#logs_analysis|g' \
|
||||
-i.bak /www/server/panel/script/site_task.py
|
||||
rm -rf /www/server/panel/logs/request/*
|
||||
|
||||
# 开启面板离线模式
|
||||
echo "True" >/www/server/panel/data/not_network.pl
|
||||
|
||||
# 关闭面板离线模式
|
||||
rm -rf /www/server/panel/data/not_network.pl && bt restart
|
||||
```
|
||||
|
||||
|
||||
|
|
|
@ -362,6 +362,9 @@ Install_Python_Lib(){
|
|||
curl -Ss --connect-timeout 15 -m 60 $_BT_REPO_URL/install/pip_select.sh|bash
|
||||
pyenv_path="/www/server/panel"
|
||||
if [ -f $pyenv_path/pyenv/bin/python ];then
|
||||
$pyenv_path/pyenv/bin/python -m pip config set global.index-url https://mirrors.xinac.net/pypi/simple
|
||||
$pyenv_path/pyenv/bin/python -m pip config set global.trusted-host mirrors.xinac.net
|
||||
$pyenv_path/pyenv/bin/python -m pip config set install.trusted-host mirrors.aliyun.com
|
||||
is_ssl=$($python_bin -c "import ssl" 2>&1|grep cannot)
|
||||
$pyenv_path/pyenv/bin/python3.7 -V
|
||||
if [ $? -eq 0 ] && [ -z "${is_ssl}" ];then
|
||||
|
@ -370,7 +373,7 @@ Install_Python_Lib(){
|
|||
if [ "$is_package" = "" ];then
|
||||
wget -O $pyenv_path/pyenv/pip.txt $download_Url/install/pyenv/pip.txt -T 15
|
||||
$pyenv_path/pyenv/bin/pip install -U pip
|
||||
$pyenv_path/pyenv/bin/pip install -U setuptools>=65.5.0
|
||||
$pyenv_path/pyenv/bin/pip install -U setuptools==65.5.0
|
||||
$pyenv_path/pyenv/bin/pip install -r $pyenv_path/pyenv/pip.txt
|
||||
fi
|
||||
source $pyenv_path/pyenv/bin/activate
|
||||
|
@ -380,7 +383,7 @@ Install_Python_Lib(){
|
|||
fi
|
||||
fi
|
||||
|
||||
py_version="3.7.16"
|
||||
py_version="3.7.8"
|
||||
mkdir -p $pyenv_path
|
||||
echo "True" > /www/disk.pl
|
||||
if [ ! -w /www/disk.pl ];then
|
||||
|
@ -459,10 +462,13 @@ Install_Python_Lib(){
|
|||
ln -sf $pyenv_path/pyenv/bin/pip3.7 /usr/bin/btpip
|
||||
ln -sf $pyenv_path/pyenv/bin/python3.7 /usr/bin/btpython
|
||||
chmod -R 700 $pyenv_path/pyenv/bin
|
||||
$pyenv_path/pyenv/bin/pip config set global.index-url https://mirrors.xinac.net/pypi/simple
|
||||
$pyenv_path/pyenv/bin/pip config set global.trusted-host mirrors.xinac.net
|
||||
$pyenv_path/pyenv/bin/pip config set install.trusted-host mirrors.aliyun.com
|
||||
$pyenv_path/pyenv/bin/pip install -U pip
|
||||
$pyenv_path/pyenv/bin/pip install -U setuptools
|
||||
$pyenv_path/pyenv/bin/pip install -U wheel==0.34.2
|
||||
$pyenv_path/pyenv/bin/pip install -r $pyenv_path/pyenv/pip.txt -i https://mirrors.xinac.net/pypi/simple --trusted-host mirrors.xinac.net
|
||||
$pyenv_path/pyenv/bin/pip install -r $pyenv_path/pyenv/pip.txt
|
||||
source $pyenv_path/pyenv/bin/activate
|
||||
|
||||
is_gevent=$($python_bin -m gevent 2>&1|grep -oE package)
|
||||
|
|
|
@ -0,0 +1,107 @@
|
|||
aliyun-python-sdk-core==2.13.36
|
||||
aliyun-python-sdk-kms==2.16.0
|
||||
async-timeout==4.0.2
|
||||
bcrypt==4.0.1
|
||||
beautifulsoup4==4.12.2
|
||||
cachelib==0.10.2
|
||||
cachetools==5.3.0
|
||||
certifi==2022.12.7
|
||||
cffi==1.15.1
|
||||
chardet==5.1.0
|
||||
charset-normalizer==3.1.0
|
||||
click==8.1.3
|
||||
configobj==5.0.8
|
||||
configparser==5.3.0
|
||||
cos-python-sdk-v5==1.9.23
|
||||
crcmod==1.7
|
||||
cryptography==40.0.2
|
||||
Cython==0.29.34
|
||||
decorator==5.1.1
|
||||
dicttoxml==1.7.16
|
||||
dnspython==2.3.0
|
||||
docker==6.0.1
|
||||
enum34==1.1.10
|
||||
Flask==2.2.3
|
||||
Flask-Session==0.4.0
|
||||
flask-sock==0.6.0
|
||||
Flask-SQLAlchemy==3.0.3
|
||||
future==0.18.3
|
||||
gevent==22.10.2
|
||||
gevent-websocket==0.10.1
|
||||
google-api-core==2.11.0
|
||||
google-api-python-client==2.86.0
|
||||
google-auth==2.17.3
|
||||
google-auth-httplib2==0.1.0
|
||||
google-auth-oauthlib==1.0.0
|
||||
google-cloud-core==2.3.2
|
||||
google-cloud-storage==2.8.0
|
||||
google-crc32c==1.5.0
|
||||
google-resumable-media==2.5.0
|
||||
googleapis-common-protos==1.59.0
|
||||
greenlet==2.0.2
|
||||
h11==0.14.0
|
||||
httplib2==0.22.0
|
||||
idna==3.4
|
||||
importlib-metadata==6.6.0
|
||||
iniparse==0.5
|
||||
ipaddress==1.0.23
|
||||
IPy==1.1
|
||||
itsdangerous==2.1.2
|
||||
Jinja2==3.1.2
|
||||
jmespath==0.10.0
|
||||
kitchen==1.2.6
|
||||
MarkupSafe==2.1.2
|
||||
mongo==0.2.0
|
||||
oauthlib==3.2.2
|
||||
oss2==2.17.0
|
||||
packaging==23.1
|
||||
paramiko==3.1.0
|
||||
peewee==3.16.2
|
||||
Pillow==9.5.0
|
||||
protobuf==4.22.3
|
||||
psutil==5.9.5
|
||||
psycopg2-binary==2.9.6
|
||||
pyasn1==0.5.0
|
||||
pyasn1-modules==0.3.0
|
||||
pycparser==2.21
|
||||
pycryptodome==3.17
|
||||
pycurl==7.45.2
|
||||
Pygments==2.15.1
|
||||
pyinotify==0.9.6
|
||||
pymongo==4.3.3
|
||||
PyMySQL==1.0.3
|
||||
PyNaCl==1.5.0
|
||||
pyOpenSSL==23.1.1
|
||||
pyparsing==3.0.9
|
||||
pypcap==1.3.0
|
||||
pypdf==3.8.1
|
||||
pypng==0.20220715.0
|
||||
PySocks==1.7.1
|
||||
pytz==2023.3
|
||||
pyudev==0.24.1
|
||||
pyxattr==0.8.1
|
||||
PyYAML==6.0
|
||||
qiniu==7.10.0
|
||||
qrcode==7.4.2
|
||||
redis==4.5.4
|
||||
requests==2.28.2
|
||||
requests-file==1.5.1
|
||||
requests-oauthlib==1.3.1
|
||||
rsa==4.9
|
||||
simple-websocket==0.10.0
|
||||
six==1.16.0
|
||||
soupsieve==2.4.1
|
||||
SQLAlchemy==2.0.10
|
||||
supervisor==4.2.5
|
||||
typing_extensions==4.5.0
|
||||
upyun==2.5.5
|
||||
uritemplate==4.1.1
|
||||
urlgrabber==4.1.0
|
||||
urllib3==1.26.15
|
||||
websocket-client==1.5.1
|
||||
Werkzeug==2.2.3
|
||||
wsproto==1.2.0
|
||||
xmltodict==0.13.0
|
||||
zipp==3.15.0
|
||||
zope.event==4.6
|
||||
zope.interface==6.0
|
|
@ -0,0 +1,86 @@
|
|||
bcrypt==3.1.7
|
||||
beautifulsoup4==4.8.2
|
||||
cachetools==4.0.0
|
||||
certifi==2019.11.28
|
||||
cffi==1.15.0
|
||||
chardet==3.0.4
|
||||
Click==7.1.2
|
||||
configobj==5.0.6
|
||||
configparser==4.0.2
|
||||
cos-python-sdk-v5==1.9.14
|
||||
crcmod==1.7
|
||||
cryptography==36.0.1
|
||||
Cython==0.29.26
|
||||
decorator==4.4.1
|
||||
dicttoxml==1.7.4
|
||||
dnspython==1.16.0
|
||||
docker==4.2.0
|
||||
enum34==1.1.9
|
||||
Flask==1.1.4
|
||||
Flask-Session==0.4.0
|
||||
Flask-SQLAlchemy==2.5.1
|
||||
future==0.18.2
|
||||
gevent==21.12.0
|
||||
gevent-websocket==0.10.1
|
||||
google-api-core==2.3.2
|
||||
google-api-python-client==2.33.0
|
||||
google-auth==2.3.3
|
||||
google-auth-httplib2==0.1.0
|
||||
google-auth-oauthlib==0.4.6
|
||||
google-cloud-core==2.2.1
|
||||
google-cloud-storage==1.43.0
|
||||
google-resumable-media==2.1.0
|
||||
googleapis-common-protos==1.54.0
|
||||
greenlet==1.1.2
|
||||
httplib2==0.20.2
|
||||
idna==2.8
|
||||
iniparse==0.5
|
||||
ipaddress==1.0.23
|
||||
IPy==1.0
|
||||
itsdangerous==1.1.0
|
||||
Jinja2==2.11.3
|
||||
jmespath==0.9.4
|
||||
kitchen==1.2.6
|
||||
MarkupSafe==1.1.1
|
||||
mongo==0.2.0
|
||||
oauthlib==3.1.1
|
||||
oss2==2.15.0
|
||||
paramiko==2.8.1
|
||||
peewee==3.13.1
|
||||
Pillow==8.4.0
|
||||
protobuf==3.19.1
|
||||
psutil==5.8.0
|
||||
pyasn1==0.4.8
|
||||
pyasn1-modules==0.2.8
|
||||
pycparser==2.19
|
||||
pycryptodome==3.12.0
|
||||
Pygments==2.7.4
|
||||
pyinotify==0.9.6
|
||||
pymongo==3.10.1
|
||||
PyMySQL==1.0.2
|
||||
PyNaCl==1.4.0
|
||||
pyOpenSSL==21.0.0
|
||||
pyparsing==2.4.6
|
||||
pyPdf==1.13
|
||||
PySocks==1.7.1
|
||||
pytz==2019.3
|
||||
pyudev==0.22.0
|
||||
pyxattr==0.7.1
|
||||
PyYAML==5.3
|
||||
qiniu==7.5.0
|
||||
qrcode==7.3.1
|
||||
redis==4.0.2
|
||||
requests==2.26.0
|
||||
requests-file==1.5.1
|
||||
requests-oauthlib==1.3.0
|
||||
rsa==4.8
|
||||
six==1.16.0
|
||||
soupsieve==1.9.5
|
||||
SQLAlchemy==1.4.28
|
||||
supervisor==4.2.2
|
||||
upyun==2.5.5
|
||||
uritemplate==3.0.1
|
||||
urlgrabber==4.1.0
|
||||
urllib3==1.26.7
|
||||
websocket-client==1.2.3
|
||||
Werkzeug==1.0.1
|
Binary file not shown.
Loading…
Reference in New Issue