温馨提示:建议获取root权限后执行
更换软件源
bash <(curl -sSL https://linuxmirrors.cn/main.sh)更新系统
apt update && apt upgrade -y安装nodejs
apt-get install -y curl && curl -fsSL https://deb.nodesource.com/setup_18.x -o nodesource_setup.sh && bash nodesource_setup.sh安装redis
apt-get install redis -y安装chromium浏览器(x86架构,ARM架构自行找软件源)
apt install chromium-browser -y安装git
apt-get install git -y克隆喵版Miao-Yunzai
git clone --depth=1 https://github.com/yoimiya-kokomi/Miao-Yunzai.git进入Miao-Yunzai
cd Miao-Yunzai && git clone --depth=1 https://github.com/yoimiya-kokomi/miao-plugin.git ./plugins/miao-plugin/安装pnpm
//更新国内npm源
npm --registry=https://registry.npmmirror.com install pnpm -g安装依赖
//更新国内pnpm源
pnpm config set registry https://registry.npmmirror.com && pnpm install -P运行程序
node app
参与讨论