Files
Deployments/Gitea/README2.md

30 lines
817 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
在MH-HP上安装Gitea
先备份wsl
>> wsl --export Ubuntu D:\wsl_backup\gitea_env_backup.tar
>>
正在导出,这可能需要几分钟时间。 (17396 MB): ./home/hmo/.docker/run/docker-cli-api.sock: pax format cannot archive so (18982 MB)
操作成功完成。
PS C:\WINDOWS\system32> mkdir D:\Gitea_Data
>>
目录: D:\
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 2026/2/10 10:47 Gitea_Data
PS C:\WINDOWS\system32> docker run -d `
>> --name=gitea `
>> --restart=always `
>> -p 3000:3000 `
>> -p 2222:22 `
>> -v D:\Gitea_Data:/data `
>> gitea/gitea:latest
>>
现在已经配置完成可以通过http://git.yoin.fun:8080访问。如何通过frp重定向参看frps项目的README2.md