动手安装青龙管理系统,参照 Dockerfile ,不是 Win 上安装
项目地址:
青龙:https://github.com/whyour/qinglong
运行系统:
alpine
环境变量:
vim /etc/profile
export PNPM_HOME=/root/.local/share/pnpm
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.local/share/pnpm:/root/.local/share/pnpm/global/5/node_modules:$PNPM_HOME
export LANG=zh_CN.UTF-8
export SHELL=/bin/bash
export PS1="\u@\h:\w \$ "
export QL_DIR=/ql
export QL_BRANCH=master
source /etc/profile
安装软件:
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
&& apk update -f \
&& apk upgrade \
&& apk --no-cache add -f bash \
coreutils \
moreutils \
git \
curl \
wget \
tzdata \
perl \
openssl \
nginx \
python3 \
jq \
openssh \
py3-pip \
&& rm -rf /var/cache/apk/* \
&& apk update \
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& echo "Asia/Shanghai" > /etc/timezone \
&& git config --global user.email "qinglong@@users.noreply.github.com" \
&& git config --global user.name "qinglong" \
&& git config --global http.postBuffer 524288000 \
&& npm install -g pnpm \
&& pnpm add -g pm2 ts-node typescript tslib \
&& git clone -b master https://github.com/whyour/qinglong.git /ql \
&& cd /ql \
&& cp -f .env.example .env \
&& chmod 777 /ql/shell/*.sh \
&& chmod 777 /ql/docker/*.sh \
&& pnpm install --prod \
&& rm -rf /root/.pnpm-store \
&& rm -rf /root/.local/share/pnpm/store \
&& rm -rf /root/.cache \
&& rm -rf /root/.npm \
&& git clone -b master https://github.com/whyour/qinglong-static.git /static \
&& mkdir -p /ql/static \
&& cp -rf /static/* /ql/static \
&& rm -rf /static
启动程序
nohup /ql/docker/docker-entrypoint.sh
Nodejs 依赖
ds
fs
md5
crypto-js
sharp@0.32.6
@types/node
moment
png-js
form-data
prettytable
tslib
axios
require
ts-md5
tough-cookie
global-agent
date-fns
typescript
dotenv
js-base64
jieba
jsdom
jsdom -g
Python3 依赖
Crypto
cryptography
qrcode
equests_toolbelt
onepush
httpx
loguru
pydantic
orjson
tenacity
PyYAML
python-dotenv
wheel
jieba
json5
ping3
canvas
requests
pycryptodome
jsonpickle
pyexecjs
Linux 依赖
gcc
g++
京东仓库
内容已隐藏,需要评论并且审核通过后,才能阅读隐藏内容
签到任务库
内容已隐藏,需要评论并且审核通过后,才能阅读隐藏内容
版权属于:zgcwkj
本文链接:https://blog.zgcwkj.cn/archives/193.html
转载声明:请注明本文章的标题及内容的出处和声明,谢谢
评论已关闭