import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as a,c as n,e as t}from"./app-BWmVz1M3.js";const s={},i=t(`
1.安装Python,Git
sudo apt update
sudo apt install python3 python3-pip git -y
2.安装ffmpeg(可选项,如开启本地音乐播放必须安装)
sudo apt install ffmpeg
3.克隆仓库
git clone https://github.com/MeoProject/lx-music-api-server -b main
git clone https://github.moeyy.xyz/github.com/MeoProject/lx-music-api-server -b main
根据网络环境选择
4.安装依赖
pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple(可选的操作)
pip3 install -r requirements.txt
pip3 install poetry
poetry install
5.启动服务器
python3 main.py
poetry shell
python3 main.py
如果屏幕上输出了监听IP:Port,那么恭喜您,部署已完成!😋
`,15),l=[i];function p(o,d){return a(),n("div",null,l)}const u=e(s,[["render",p],["__file","deploy-linux.html.vue"]]),m=JSON.parse('{"path":"/deploy/deploy-linux.html","title":"Linux部署教程","lang":"zh-CN","frontmatter":{"head":[["meta",{"name":"keywords","content":"Linux"}],["meta",{"property":"og:url","content":"https://apidoc.zcmonety.xyz/deploy/deploy-linux.html"}],["meta",{"property":"og:site_name","content":"LX Music Api Server"}],["meta",{"property":"og:title","content":"Linux部署教程"}],["meta",{"property":"og:description","content":"Linux部署教程,演示系统:Ubuntu 22.04 1.安装Python,Git 2.安装ffmpeg(可选项,如开启本地音乐播放必须安装) 3.克隆仓库 根据网络环境选择 4.安装依赖 pip poetry 5.启动服务器 使用pip 使用poetry 如果屏幕上输出了监听IP:Port,那么恭喜您,部署已完成!😋"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-06-15T09:28:53.000Z"}],["meta",{"property":"article:author","content":"ikun0014"}],["meta",{"property":"article:published_time","content":"2024-06-15T00:00:00.000Z"}],["meta",{"property":"article:modified_time","content":"2024-06-15T09:28:53.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Linux部署教程\\",\\"image\\":[\\"\\"],\\"datePublished\\":\\"2024-06-15T00:00:00.000Z\\",\\"dateModified\\":\\"2024-06-15T09:28:53.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"ikun0014\\"}]}"]],"title":"Linux部署教程","icon":"fas fa-file-alt","author":"ikun0014","date":"2024-06-15T00:00:00.000Z","index":false,"description":"Linux部署教程,演示系统:Ubuntu 22.04 1.安装Python,Git 2.安装ffmpeg(可选项,如开启本地音乐播放必须安装) 3.克隆仓库 根据网络环境选择 4.安装依赖 pip poetry 5.启动服务器 使用pip 使用poetry 如果屏幕上输出了监听IP:Port,那么恭喜您,部署已完成!😋"},"headers":[{"level":2,"title":"Linux部署教程,演示系统:Ubuntu 22.04","slug":"linux部署教程-演示系统-ubuntu-22-04","link":"#linux部署教程-演示系统-ubuntu-22-04","children":[]}],"git":{"createdTime":1712763316000,"updatedTime":1718443733000,"contributors":[{"name":"ikun","email":"ikun0014@qq.com","commits":1}]},"readingTime":{"minutes":0.62,"words":187},"filePathRelative":"deploy/deploy-linux.md","localizedDate":"2024年6月15日","autoDesc":true}');export{u as comp,m as data};